kbuild: use in-kernel unifdef

Let headers_install use in-kernel unifdef

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
This commit is contained in:
Sam Ravnborg
2006-07-23 20:47:50 +02:00
committed by Sam Ravnborg
parent 14a036d2dc
commit 07aea3a71f
3 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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" \