diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-10-11 08:29:22 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-10-11 08:29:22 +0000 |
commit | 5c12c8eecd5f2e06c200651e90befe85efcf166f (patch) | |
tree | dbaed54145d28357e3b145ad8631529ffd0c2344 /Makefile | |
parent | a924265e43cf2fcad97fc9489da482a27b0faf93 (diff) |
Patch from Miles Bader <miles@lsi.nec.co.jp> to support the v850.
He sent this patch to me a month ago, but I forgot to apply it...
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)) |