Ver Fonte

Define TOPDIR to be just `.' when invoking gen_bits_syscall_h.sh, since
we've already chdir'ed to $(TOPDIR).

Miles Bader há 21 anos atrás
pai
commit
fe8cd7e5ad
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -143,7 +143,7 @@ headers: dummy
 	@cd $(TOPDIR); \
 	set -x -e; \
 	rm -f include/bits/sysnum.h; \
-	TOPDIR=$(TOPDIR) CC=$(CC) /bin/sh $(TOPDIR)/extra/scripts/gen_bits_syscall_h.sh > include/bits/sysnum.h
+	TOPDIR=. CC=$(CC) /bin/sh extra/scripts/gen_bits_syscall_h.sh > include/bits/sysnum.h
 	$(MAKE) -C libc/sysdeps/linux/$(TARGET_ARCH) headers
 
 uClibc_config: Makefile Config