summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-01-02 18:36:44 +0000
committerEric Andersen <andersen@codepoet.org>2001-01-02 18:36:44 +0000
commit76eab266b3b7ec12d124079e3e1e9da8ef2c1f0d (patch)
treea686573f81ce08b0c5450ca6f633c199dea0aee5 /Makefile
parenta7b5c37689a7c2924bead20080570ddfea0a47dd (diff)
Duh. This was so wrong.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a8cdd7179..78b2d063d 100644
--- a/Makefile
+++ b/Makefile
@@ -44,8 +44,7 @@ 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 \
+ @if [ ! -f include/asm/unistd.h ] ; 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; \