summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/Makefile.in
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2012-11-28 11:38:46 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-02-20 13:45:10 +0100
commitad68946e285307bf81fe0433ef952fb5386777ec (patch)
treeaad919f40d3f8d5dc78f1aba806ef9ef01cf6105 /libc/sysdeps/linux/common/Makefile.in
parentbff4f0be36f8582b4912027ae063854c17f5e7a2 (diff)
Makefile.in: Use non-legacy interfaces for new architectures
New architectures, which don't define ARCH_HAS_DEPRECATED syscalls, need to use the new interfaces from libc/sysdeps/linux/generic-syscalls/bits/ Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/Makefile.in')
-rw-r--r--libc/sysdeps/linux/common/Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/Makefile.in b/libc/sysdeps/linux/common/Makefile.in
index 29566dd98..f7083a48b 100644
--- a/libc/sysdeps/linux/common/Makefile.in
+++ b/libc/sysdeps/linux/common/Makefile.in
@@ -70,6 +70,10 @@ CSRC- += $(if $(findstring =arm=,=$(TARGET_ARCH)=),vfork.c)
CSRC- += $(if $(findstring =x86_64=,=$(TARGET_ARCH)=),vfork.c)
#CSRC- += $(if $(findstring =mips=y=,=$(TARGET_ARCH)=$(CONFIG_MIPS_O32_ABI)=),waitpid.c)
endif
+ifneq ($(ARCH_HAS_DEPRECATED_SYSCALLS),y)
+# No conversion is needed for new architectures
+CSRC- += xstatconv.c
+endif
# stubbed out in mman.h
CSRC-$(ARCH_USE_MMU) += msync.c
# we need these internally: getdomainname.c