public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 2/6] kbuild: let addtree result in absolute paths only
@ 2008-05-05 15:24 Peter Oberparleiter
  2008-05-05 19:55 ` Sam Ravnborg
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Peter Oberparleiter @ 2008-05-05 15:24 UTC (permalink / raw)
  To: linux-kernel; +Cc: ltp-list, ltp-coverage, Andrew Morton, sam

From: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
---
 scripts/Kbuild.include |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.26-rc1/scripts/Kbuild.include
===================================================================
--- linux-2.6.26-rc1.orig/scripts/Kbuild.include
+++ linux-2.6.26-rc1/scripts/Kbuild.include
@@ -144,7 +144,7 @@ ld-option = $(call try-run,\
 build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build obj
 
 # Prefix -I with $(srctree) if it is not an absolute path.
-addtree = $(if $(filter-out -I/%,$(1)),$(patsubst -I%,-I$(srctree)/%,$(1))) $(1)
+addtree = $(if $(filter-out -I/%,$(1)),$(patsubst -I%,-I$(srctree)/%,$(1)),$(1))
 
 # Find all -I options and call addtree
 flags = $(foreach o,$($(1)),$(if $(filter -I%,$(o)),$(call addtree,$(o)),$(o)))




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

end of thread, other threads:[~2008-05-06 18:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-05 15:24 [RFC PATCH 2/6] kbuild: let addtree result in absolute paths only Peter Oberparleiter
2008-05-05 19:55 ` Sam Ravnborg
2008-05-06 15:53   ` Peter Oberparleiter
2008-05-06  4:20 ` Andrew Morton
2008-05-06  7:36 ` Jan Engelhardt
2008-05-06 18:38   ` Peter Oberparleiter

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