Let headers_install use in-kernel unifdef
Showing the changes to scripts (2 of 3 files). Show all
Unified · Split
| @@ -15,6 +15,9 @@ hostprogs-$(CONFIG_IKCONFIG) += bin2c · 14 unmodified lines | ||
| 15 | 15 | |
| 16 | 16 | always := $(hostprogs-y) |
| 17 | 17 | |
| 18 | +# The following hostprogs-y programs are only build on demand | |
| 19 | +hostprogs-y += unifdef | |
| 20 | + | |
| 18 | 21 | subdir-$(CONFIG_MODVERSIONS) += genksyms |
| 19 | 22 | subdir-$(CONFIG_MODULES) += mod |
| 20 | 23 | |
| @@ -7,7 +7,7 @@ · 6 unmodified lines | ||
| 7 | 7 | # |
| 8 | 8 | # ========================================================================== |
| 9 | 9 | |
| 10 | −UNIFDEF := unifdef -U__KERNEL__ | |
| 10 | +UNIFDEF := scripts/unifdef -U__KERNEL__ | |
| 11 | 11 | |
| 12 | 12 | # Eliminate the contents of (and inclusions of) compiler.h |
| 13 | 13 | HDRSED := sed -e "s/ inline / __inline__ /g" \ |