summaryrefslogtreecommitdiffstats
path: root/Makefile
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 /Makefile
parent14a036d2dc304797f3624c06bd6d2a1e9b59e45a (diff)
downloadlinux-stable-07aea3a71fc6b07744691eec2dfea705a7b30280.tar.gz
linux-stable-07aea3a71fc6b07744691eec2dfea705a7b30280.tar.bz2
linux-stable-07aea3a71fc6b07744691eec2dfea705a7b30280.zip
kbuild: use in-kernel unifdef
Let headers_install use in-kernel unifdef Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index edfc2fdf76c9..b06b1ea46fe5 100644
--- a/Makefile
+++ b/Makefile
@@ -893,8 +893,8 @@ INSTALL_HDR_PATH=$(objtree)/usr
export INSTALL_HDR_PATH
PHONY += headers_install
-headers_install: include/linux/version.h
- $(Q)unifdef -Ux /dev/null
+headers_install: include/linux/version.h scripts_basic FORCE
+ $(Q)$(MAKE) $(build)=scripts scripts/unifdef
$(Q)rm -rf $(INSTALL_HDR_PATH)/include
$(Q)$(MAKE) -rR -f $(srctree)/scripts/Makefile.headersinst obj=include