diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-01-01 22:29:27 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-01-01 22:29:27 +0000 |
commit | a7b5c37689a7c2924bead20080570ddfea0a47dd (patch) | |
tree | faa0655a2dd5f8d890047db2ceb077e4fa4b8269 /Makefile | |
parent | 8c29d069db1898b519c6c610a91a25b5ffb8c9d0 (diff) |
Carefully tell folks when their Config is screwed up.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -44,6 +44,12 @@ halfclean: headers: dummy @rm -f include/asm include/net include/linux include/bits @ln -s $(KERNEL_SOURCE)/include/asm-$(ARCH_DIR) include/asm + @-ls -q include/asm/unistd.h >/dev/null 2>&1; + @if [ $? != 0 ] ; then \ + echo "You didn't set KERNEL_SOURCE, TARGET_ARCH or HAS_MMU correctly in Config"; \ + echo "The path '$(KERNEL_SOURCE)/include/asm-$(ARCH_DIR)' doesn't exist."; \ + /bin/false; \ + fi; @ln -s $(KERNEL_SOURCE)/include/net include/net @ln -s $(KERNEL_SOURCE)/include/linux include/linux @ln -s ../sysdeps/linux/$(TARGET_ARCH)/bits include/bits |