summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/m68k/Makefile
diff options
context:
space:
mode:
authorDavid McCullough <davidm@snapgear.com>2001-06-28 02:33:35 +0000
committerDavid McCullough <davidm@snapgear.com>2001-06-28 02:33:35 +0000
commitb5091d7ec1d3cd31c9a1bd82f3f4634c61b91d17 (patch)
treef29e3b29dc363f3092ce3edc4c7b567502b05521 /libc/sysdeps/linux/m68k/Makefile
parentbb5e5f375893c7441eb2092466855f7a58c1ed42 (diff)
Changes for new auto-generated syscall.h
Diffstat (limited to 'libc/sysdeps/linux/m68k/Makefile')
-rw-r--r--libc/sysdeps/linux/m68k/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/m68k/Makefile b/libc/sysdeps/linux/m68k/Makefile
index 9c929ec11..c9186e2a9 100644
--- a/libc/sysdeps/linux/m68k/Makefile
+++ b/libc/sysdeps/linux/m68k/Makefile
@@ -60,11 +60,10 @@ $(COBJS): %.o : %.c
$(STRIPTOOL) -x -R .note -R .comment $*.o
headers:
+ @(TOPDIR=$(TOPDIR) CC=$(CC) /bin/sh $(TOPDIR)/extra/scripts/gen_bits_syscall_h.sh > bits/syscall.h )
ifeq ($(strip $(HAVE_ELF)),false)
- echo "Working around compiler bug in the m68k-pic-coff toolchain"
- cd $(TOPDIR)/include;ln -fs ../libc/sysdeps/linux/m68k/float.h .
-else
- # no arch-specific headers
+ echo "Working around compiler bug in the m68k-pic-coff toolchain"
+ cd $(TOPDIR)/include;ln -fs ../libc/sysdeps/linux/m68k/float.h .
endif