diff options
author | Joseph Myers <joseph@codesourcery.com> | 2011-12-19 22:08:23 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2011-12-19 22:08:23 +0000 |
commit | d92b0dd4edf2b61d429c8db1cbe9a42d6f17dd6a (patch) | |
tree | 0386a97198f99b21245cb176a42b4fa6645f6ece | |
parent | 4a93ed423ae14e06ccfa584e99e0dc7b2fa0514d (diff) | |
download | glibc-d92b0dd4edf2b61d429c8db1cbe9a42d6f17dd6a.tar glibc-d92b0dd4edf2b61d429c8db1cbe9a42d6f17dd6a.tar.gz glibc-d92b0dd4edf2b61d429c8db1cbe9a42d6f17dd6a.tar.bz2 glibc-d92b0dd4edf2b61d429c8db1cbe9a42d6f17dd6a.zip |
Use sysdeps path to locate sys/syscall.h in MIPS bits/syscall.h rule.
-rw-r--r-- | ChangeLog.mips | 5 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/mips/Makefile | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog.mips b/ChangeLog.mips index abfc2b4479..9d79aea6db 100644 --- a/ChangeLog.mips +++ b/ChangeLog.mips @@ -1,3 +1,8 @@ +2011-12-19 Joseph Myers <joseph@codesourcery.com> + + * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h + $(objpfx)syscall-%.d): Use sysdeps path to locate sys/syscall.h. + 2011-11-17 Joseph Myers <joseph@codesourcery.com> * sysdeps/unix/sysv/linux/mips/mips64/n64/ftw.c, diff --git a/sysdeps/unix/sysv/linux/mips/Makefile b/sysdeps/unix/sysv/linux/mips/Makefile index 162f1b93d4..cff3484431 100644 --- a/sysdeps/unix/sysv/linux/mips/Makefile +++ b/sysdeps/unix/sysv/linux/mips/Makefile @@ -72,7 +72,7 @@ mips_list_syscalls = $(filter-out -m%,$(CC)) -E -x c $(+includes) \ # Here, __NR_N32_open and __NR_O32_open are used to detect case (2) # over case (3). The n64 SYS_* macros can always use the normal # ABI-less names. -$(objpfx)syscall-%.h $(objpfx)syscall-%.d: ../sysdeps/unix/sysv/linux/mips/sys/syscall.h +$(objpfx)syscall-%.h $(objpfx)syscall-%.d: $(firstword $(wildcard $(sysdirs:=/sys/syscall.h))) $(make-target-directory) $(CC) -E -x c $(+includes) $(sysincludes) -D_LIBC $< -MD -MP \ -MF $(@:.h=.d)-t -MT '$(@:.d=.h) $(@:.h=.d)' > /dev/null |