diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -64,6 +64,8 @@ headers: dummy @rm -f include/asm include/linux include/bits @if [ $(TARGET_ARCH) = "powerpc" ];then \ ln -fs $(KERNEL_SOURCE)/include/asm-ppc include/asm; \ + elif [ $(TARGET_ARCH) = "v850" ];then \ + ln -fs $(KERNEL_SOURCE)/include/asm-v850 include/asm; \ else \ if [ $(HAS_MMU) != "true" ]; then \ ln -fs $(KERNEL_SOURCE)/include/asm-$(TARGET_ARCH)nommu include/asm;\ @@ -163,6 +165,12 @@ uClibc_config.h: Makefile Config else \ echo "#undef __UCLIBC_USE_UNIFIED_SYSCALL__" >> uClibc_config.h ; \ fi + @if [ "$(OLD_STYLE_MMAP)" != "false" ] ; then \ + echo "#define __UCLIBC_OLD_STYLE_MMAP__ 1" >> uClibc_config.h ; \ + else \ + echo "#undef __UCLIBC_OLD_STYLE_MMAP__" >> uClibc_config.h ; \ + fi + @echo "#define C_SYMBOL_PREFIX "\""$(C_SYMBOL_PREFIX)"\" >> uClibc_config.h subdirs: $(patsubst %, _dir_%, $(DIRS)) |