summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-02-08 00:25:15 +0000
committerMike Frysinger <vapier@gentoo.org>2005-02-08 00:25:15 +0000
commit214557d8bf7b75a1b4244d388ec0a2bd333d9780 (patch)
tree27f89da2790a4858e179211a785f5dd7ee0ba1d2 /Makefile
parent0e12850e27c2be548041a425425f2bcfefdfe05a (diff)
add notes about header generation
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 34943f117..03c9b739c 100644
--- a/Makefile
+++ b/Makefile
@@ -76,6 +76,11 @@ include/bits/uClibc_config.h: .config
$(INSTALL) -d include/bits
@./extra/config/conf -o extra/Configs/Config.in
+# For the moment, we have to keep re-running this target
+# because the fix includes scripts rely on pre-processers
+# in order to generate the headers correctly :(. That
+# means we can't use the $(HOSTCC) in order to get the
+# correct output.
headers: include/bits/uClibc_config.h
ifeq ($(strip $(ARCH_HAS_MMU)),y)
@set -x; ./extra/scripts/fix_includes.sh -k $(KERNEL_SOURCE) -t $(TARGET_ARCH)