Browse Source

Duh. This was so wrong.

Eric Andersen 23 years ago
parent
commit
76eab266b3
1 changed files with 1 additions and 2 deletions
  1. 1 2
      Makefile

+ 1 - 2
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; \