[<prev] [next>] [day] [month] [year] [list]
Message-ID: <480C89CA.8090202@de.ibm.com>
Date: Mon, 21 Apr 2008 14:34:18 +0200
From: Peter Oberparleiter <peter.oberparleiter@...ibm.com>
To: linux-kernel@...r.kernel.org, ltp-list@...ts.sourceforge.net,
ltp-coverage@...ts.sourceforge.net,
Andrew Morton <akpm@...ux-foundation.org>, sam@...nborg.org
Subject: [RFC PATCH 2/8] kbuild: let addtree result in absolute paths only
From: Peter Oberparleiter <peter.oberparleiter@...ibm.com>
Signed-off-by: Peter Oberparleiter <peter.oberparleiter@...ibm.com>
---
scripts/Kbuild.include | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6.25/scripts/Kbuild.include
===================================================================
--- linux-2.6.25.orig/scripts/Kbuild.include
+++ linux-2.6.25/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)))
--
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