diff options
author | Joakim Tjernlund <joakim.tjernlund@transmode.se> | 2007-02-12 21:57:57 +0000 |
---|---|---|
committer | Joakim Tjernlund <joakim.tjernlund@transmode.se> | 2007-02-12 21:57:57 +0000 |
commit | dcf241189ab7eb060aeb06caad8b14aa964f6736 (patch) | |
tree | 735c06c0036aed160a35e9c0e2870e87fe5730e5 /Rules.mak | |
parent | 216bfd092c46dc0479e571a37fd2fd96e47605b5 (diff) |
Rehash the PowerPC e500 port to avoid creating symlinks
in the powerpc arch code and make more code common with
classic PowerPC. From Steve Papacharalambous
Lets hope I didn't break something.
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -62,6 +62,8 @@ endif # Make certain these contain a final "/", but no "//"s. TARGET_ARCH:=$(shell grep -s '^TARGET_ARCH' $(top_builddir)/.config | sed -e 's/^TARGET_ARCH=//' -e 's/"//g') TARGET_ARCH:=$(strip $(subst ",, $(strip $(TARGET_ARCH)))) +TARGET_SUBARCH:=$(shell grep -s '^TARGET_SUBARCH' $(top_builddir)/.config | sed -e 's/^TARGET_SUBARCH=//' -e 's/"//g') +TARGET_SUBARCH:=$(strip $(subst ",, $(strip $(TARGET_SUBARCH)))) RUNTIME_PREFIX:=$(strip $(subst //,/, $(subst ,/, $(subst ",, $(strip $(RUNTIME_PREFIX)))))) DEVEL_PREFIX:=$(strip $(subst //,/, $(subst ,/, $(subst ",, $(strip $(DEVEL_PREFIX)))))) KERNEL_HEADERS:=$(strip $(subst //,/, $(subst ,/, $(subst ",, $(strip $(KERNEL_HEADERS)))))) |