public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kbuild: include only necessary in scripts/Makefile.modbuiltin
@ 2010-01-06  6:26 Eric Miao
  2010-01-06  9:51 ` Michal Marek
  0 siblings, 1 reply; 7+ messages in thread
From: Eric Miao @ 2010-01-06  6:26 UTC (permalink / raw)
  To: linux-kernel; +Cc: Michal Marek

commit aa7c411671269a75ed7adc0452851bf2cffd839e
Author: Eric Miao <eric.y.miao@gmail.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@gmail.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)))

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-01-06 12:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-06  6:26 [PATCH] kbuild: include only necessary in scripts/Makefile.modbuiltin Eric Miao
2010-01-06  9:51 ` Michal Marek
2010-01-06 10:31   ` Eric Miao
2010-01-06 10:39     ` Michal Marek
2010-01-06 11:22       ` Eric Miao
2010-01-06 11:47         ` Michal Marek
2010-01-06 11:59           ` Eric Miao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox