[PATCH] kbuild: include only necessary in scripts/Makefile.modbuiltin
From: Eric Miao
Date: Wed Jan 06 2010 - 01:30:17 EST
commit aa7c411671269a75ed7adc0452851bf2cffd839e
Author: Eric Miao <eric.y.miao@xxxxxxxxx>
Date: Wed Jan 6 13:58:22 2010 +0800
kbuild: include only necessary in scripts/Makefile.modbuiltin
scripts/Makefile.modbuiltin assumes either Kbuild or Makefile exists in
every sub-directory, which is not true. Only include them when they are
existing.
Signed-off-by: Eric Miao <eric.y.miao@xxxxxxxxx>
diff --git a/scripts/Makefile.modbuiltin b/scripts/Makefile.modbuiltin
index 102a276..9148a70 100644
--- a/scripts/Makefile.modbuiltin
+++ b/scripts/Makefile.modbuiltin
@@ -17,7 +17,7 @@ include scripts/Kbuild.include
# The filename Kbuild has precedence over Makefile
kbuild-dir := $(if $(filter /%,$(src)),$(src),$(srctree)/$(src))
kbuild-file := $(if $(wildcard
$(kbuild-dir)/Kbuild),$(kbuild-dir)/Kbuild,$(kbuild-dir)/Makefile)
-include $(kbuild-file)
+-include $(kbuild-file)
include scripts/Makefile.lib
__subdir-Y := $(patsubst %/,%,$(filter %/, $(obj-Y)))
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/