aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.ravnborg.org>2006-07-23 20:47:50 +0200
committerSam Ravnborg <sam@neptun.ravnborg.org>2006-09-25 09:00:01 +0200
commit07aea3a71fc6b07744691eec2dfea705a7b30280 (patch)
treef1bb88857e93b28679674f4fa66bdef3a6c84c29 /scripts
parent14a036d2dc304797f3624c06bd6d2a1e9b59e45a (diff)
downloadkernel_samsung_crespo-07aea3a71fc6b07744691eec2dfea705a7b30280.zip
kernel_samsung_crespo-07aea3a71fc6b07744691eec2dfea705a7b30280.tar.gz
kernel_samsung_crespo-07aea3a71fc6b07744691eec2dfea705a7b30280.tar.bz2
kbuild: use in-kernel unifdef
Let headers_install use in-kernel unifdef Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile3
-rw-r--r--scripts/Makefile.headersinst2
2 files changed, 4 insertions, 1 deletions
diff --git a/scripts/Makefile b/scripts/Makefile
index 6f6b48f..d531a1f 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -15,6 +15,9 @@ hostprogs-$(CONFIG_IKCONFIG) += bin2c
always := $(hostprogs-y)
+# The following hostprogs-y programs are only build on demand
+hostprogs-y += unifdef
+
subdir-$(CONFIG_MODVERSIONS) += genksyms
subdir-$(CONFIG_MODULES) += mod
diff --git a/scripts/Makefile.headersinst b/scripts/Makefile.headersinst
index 12e1daf..8c02d2d 100644
--- a/scripts/Makefile.headersinst
+++ b/scripts/Makefile.headersinst
@@ -7,7 +7,7 @@
#
# ==========================================================================
-UNIFDEF := unifdef -U__KERNEL__
+UNIFDEF := scripts/unifdef -U__KERNEL__
# Eliminate the contents of (and inclusions of) compiler.h
HDRSED := sed -e "s/ inline / __inline__ /g" \