summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@lsi.nec.co.jp>2002-10-28 08:34:38 +0000
committerMiles Bader <miles@lsi.nec.co.jp>2002-10-28 08:34:38 +0000
commitfe8cd7e5ad6dc2789cd7a77490926a1495965a7f (patch)
tree31db419917ffd1fb01605dbaf8af2efcd03025d8
parent3a0eeecab4d4c298f14bfb0f63519353ea900ad8 (diff)
Define TOPDIR to be just `.' when invoking gen_bits_syscall_h.sh, since
we've already chdir'ed to $(TOPDIR).
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c3689541c..c5f69e132 100644
--- a/Makefile
+++ b/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