History

kbuild: use in-kernel unifdef

Let headers_install use in-kernel unifdef

Sam Ravnborg committed 20 years ago

Commit 07aea3a1 parent 14a036d3 files · +6 −3Browse files

Showing the changes to scripts (2 of 3 files). Show all

Unified · Split

2 files
  1. scripts/Makefile +3 −0
  2. scripts/Makefile.headersinst +1 −1
scripts/Makefile+3−0
@@ -15,6 +15,9 @@ hostprogs-$(CONFIG_IKCONFIG) += bin2c · 14 unmodified lines
15 15
16always := $(hostprogs-y)16always := $(hostprogs-y)
17 17
18# The following hostprogs-y programs are only build on demand
19hostprogs-y += unifdef
20
18subdir-$(CONFIG_MODVERSIONS) += genksyms21subdir-$(CONFIG_MODVERSIONS) += genksyms
19subdir-$(CONFIG_MODULES) += mod22subdir-$(CONFIG_MODULES) += mod
20 23
scripts/Makefile.headersinst+1−1
@@ -7,7 +7,7 @@ · 6 unmodified lines
7#7#
8# ==========================================================================8# ==========================================================================
9 9
10UNIFDEF := unifdef -U__KERNEL__10UNIFDEF := scripts/unifdef -U__KERNEL__
11 11
12# Eliminate the contents of (and inclusions of) compiler.h12# Eliminate the contents of (and inclusions of) compiler.h
13HDRSED := sed -e "s/ inline / __inline__ /g" \13HDRSED := sed -e "s/ inline / __inline__ /g" \