[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <f17812d71001052226y604995a0m4c7887d29fd73f90@mail.gmail.com>
Date: Wed, 6 Jan 2010 14:26:01 +0800
From: Eric Miao <eric.y.miao@...il.com>
To: linux-kernel <linux-kernel@...r.kernel.org>
Cc: Michal Marek <mmarek@...e.cz>
Subject: [PATCH] kbuild: include only necessary in scripts/Makefile.modbuiltin
commit aa7c411671269a75ed7adc0452851bf2cffd839e
Author: Eric Miao <eric.y.miao@...il.com>
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@...il.com>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists