From 107aba0c8b544e865f04842860a26dd4a2befcb8 Mon Sep 17 00:00:00 2001 From: Sam Ravnborg Date: Sun, 23 Jul 2006 20:47:50 +0200 Subject: [PATCH] --- yaml --- r: 35435 b: refs/heads/master c: 07aea3a71fc6b07744691eec2dfea705a7b30280 h: refs/heads/master i: 35433: 144f428ff3a06fdbca4dcb3edc4d328d95dcdc25 35431: ca8e25178031139497976f34161a0825b6463342 v: v3 --- [refs] | 2 +- trunk/Makefile | 4 ++-- trunk/scripts/Makefile | 3 +++ trunk/scripts/Makefile.headersinst | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 40e3d36cf542..0b5949478249 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 14a036d2dc304797f3624c06bd6d2a1e9b59e45a +refs/heads/master: 07aea3a71fc6b07744691eec2dfea705a7b30280 diff --git a/trunk/Makefile b/trunk/Makefile index edfc2fdf76c9..b06b1ea46fe5 100644 --- a/trunk/Makefile +++ b/trunk/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 diff --git a/trunk/scripts/Makefile b/trunk/scripts/Makefile index 6f6b48f39f0a..d531a1fcef0c 100644 --- a/trunk/scripts/Makefile +++ b/trunk/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/trunk/scripts/Makefile.headersinst b/trunk/scripts/Makefile.headersinst index 12e1daf875c8..8c02d2df4278 100644 --- a/trunk/scripts/Makefile.headersinst +++ b/trunk/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" \