summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-02-27 05:34:31 +0000
committerEric Andersen <andersen@codepoet.org>2004-02-27 05:34:31 +0000
commitab45e76df28fd3b43231ac9b813817b3e990d4ca (patch)
tree54d41725e3fc5bf2d95b5abdecede29148b56fdc /make
parent2491944b1697fff18b10cfdeb2b359faa5f7c3c1 (diff)
sigh
Diffstat (limited to 'make')
-rw-r--r--make/linux.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/make/linux.mk b/make/linux.mk
index 34b4bd7a9..d6d3f4ad3 100644
--- a/make/linux.mk
+++ b/make/linux.mk
@@ -28,10 +28,11 @@ LINUX_VERSION=2.4.23-erik
LINUX_FORMAT=bzImage
#LINUX_FORMAT=images/zImage.prep
-LINUX_KARCH:= echo $(ARCH) | sed -e 's/i[3-9]86/i386/' \
+LINUX_KARCH:=$(shell echo $(ARCH) | sed -e 's/i[3-9]86/i386/' \
sed -e 's/mipsel/mips/' \
sed -e 's/powerpc/ppc/' \
- sed -e 's/sh[234]/sh/'
+ sed -e 's/sh[234]/sh/' \
+ )
LINUX_BINLOC=arch/$(LINUX_KARCH)/boot/$(LINUX_FORMAT)
LINUX_DIR=$(BUILD_DIR)/linux-$(LINUX_VERSION)