diff options
| author | Khem Raj <raj.khem@gmail.com> | 2009-08-30 11:42:28 -0700 |
|---|---|---|
| committer | Austin Foxley <austinf@cetoncorp.com> | 2009-09-03 10:45:46 -0700 |
| commit | d990ec5891df948007d064ae972ef5f08f1b9d6f (patch) | |
| tree | 97c115b3293ca7c02acacfd1f4f4626604665143 /libc/sysdeps/linux/arm | |
| parent | 4ab473edd01ed77b659e80a5add914882150316b (diff) | |
| download | uClibc-alpine-d990ec5891df.tar.bz2 uClibc-alpine-d990ec5891df.tar.xz | |
Build posix_fadvice{64} only when UCLIBC_HAS_ADVANCED_REALTIME is set.
Right now for ARM, MIPS, Xtensa and powerpc posix_fadvise
routines are included conditionally. They should only be
enabled when UCLIBC_HAS_ADVANCED_REALTIME is set. Also fix
code style in powerpc/posix_fadvise64.c
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc/sysdeps/linux/arm')
| -rw-r--r-- | libc/sysdeps/linux/arm/Makefile.arch | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/arm/Makefile.arch b/libc/sysdeps/linux/arm/Makefile.arch index 6944c3e29..425978735 100644 --- a/libc/sysdeps/linux/arm/Makefile.arch +++ b/libc/sysdeps/linux/arm/Makefile.arch @@ -5,8 +5,7 @@ # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. # -CSRC := brk.c ioperm.c iopl.c mmap.c posix_fadvise.c posix_fadvise64.c \ - __syscall_error.c +CSRC := brk.c ioperm.c iopl.c mmap.c sigaction.c __syscall_error.c ifneq ($(UCLIBC_HAS_THREADS_NATIVE),y) CSRC += sigaction.c @@ -22,6 +21,10 @@ else SSRC += vfork.S clone.S endif +ifeq ($(UCLIBC_HAS_ADVANCED_REALTIME),y) +CSRC += posix_fadvise.c posix_fadvise64.c +endif + ifeq ($(CONFIG_ARM_EABI),y) CSRC += aeabi_assert.c aeabi_atexit.c aeabi_errno_addr.c \ aeabi_localeconv.c aeabi_memclr.c aeabi_memcpy.c \ |
