summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-10-11 08:29:22 +0000
committerEric Andersen <andersen@codepoet.org>2001-10-11 08:29:22 +0000
commit5c12c8eecd5f2e06c200651e90befe85efcf166f (patch)
treedbaed54145d28357e3b145ad8631529ffd0c2344 /Makefile
parenta924265e43cf2fcad97fc9489da482a27b0faf93 (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--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 61ec627d2..897c415a3 100644
--- a/Makefile
+++ b/Makefile
@@ -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))