summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMiles Bader <miles@lsi.nec.co.jp>2002-08-16 02:23:52 +0000
committerMiles Bader <miles@lsi.nec.co.jp>2002-08-16 02:23:52 +0000
commit71a8fc3afbdea63e24b77703ade878286ecdac8c (patch)
tree17525008d9213620aea367889783f79627737400 /Makefile
parent348d65d19db947cafadd0fe0e02d4b62e8d23a00 (diff)
(headers): Remove special case for v850, now that the general case
works correctly for non-MMU systems without a `nommu' suffix. Fixup indentation a bit.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 3a7462660..7eb3fc595 100644
--- a/Makefile
+++ b/Makefile
@@ -72,8 +72,6 @@ headers: dummy
rm -f include/asm;
@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; \
elif [ $(TARGET_ARCH) = "mips" ];then \
ln -fs $(KERNEL_SOURCE)/include/asm-mips include/asm; \
elif [ $(TARGET_ARCH) = "mipsel" ];then \
@@ -88,14 +86,14 @@ headers: dummy
ln -fs $(KERNEL_SOURCE)/include/asm-h8300 include/asm; \
else \
if [ $(HAS_MMU) != "true" ]; then \
- if [ -d $(KERNEL_SOURCE)/include/asm-$(TARGET_ARCH)nommu ] ; then \
- ln -fs $(KERNEL_SOURCE)/include/asm-$(TARGET_ARCH)nommu include/asm;\
- else \
- ln -fs $(KERNEL_SOURCE)/include/asm-$(TARGET_ARCH) include/asm; \
- fi; \
+ if [ -d $(KERNEL_SOURCE)/include/asm-$(TARGET_ARCH)nommu ] ; then \
+ ln -fs $(KERNEL_SOURCE)/include/asm-$(TARGET_ARCH)nommu include/asm;\
else \
- ln -fs $(KERNEL_SOURCE)/include/asm-$(TARGET_ARCH) include/asm; \
+ ln -fs $(KERNEL_SOURCE)/include/asm-$(TARGET_ARCH) include/asm; \
fi; \
+ else \
+ ln -fs $(KERNEL_SOURCE)/include/asm-$(TARGET_ARCH) include/asm; \
+ fi; \
fi;
@if [ ! -f include/asm/unistd.h ] ; then \
set -e; \