aboutsummaryrefslogtreecommitdiffstats
path: root/target/imagebuilder
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-06-12 16:48:10 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-06-12 16:48:10 +0000
commitc3656e08ca4df794d5e9b8cf3d8d38b972dd8a7c (patch)
treead483ecbcc344f0d2e2ee3d4470919ecb9af4632 /target/imagebuilder
parent72fbdecae128f69d9b8ce68fe84c387861dc167d (diff)
downloadupstream-c3656e08ca4df794d5e9b8cf3d8d38b972dd8a7c.tar.gz
upstream-c3656e08ca4df794d5e9b8cf3d8d38b972dd8a7c.tar.bz2
upstream-c3656e08ca4df794d5e9b8cf3d8d38b972dd8a7c.zip
Suppress spaces in uname -m
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7594 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/imagebuilder')
-rw-r--r--target/imagebuilder/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/imagebuilder/Makefile b/target/imagebuilder/Makefile
index 9b3700ece3..925dc80adc 100644
--- a/target/imagebuilder/Makefile
+++ b/target/imagebuilder/Makefile
@@ -11,7 +11,7 @@ include $(INCLUDE_DIR)/kernel.mk
include $(INCLUDE_DIR)/host.mk
PKG_OS:=$(shell uname -s)
-PKG_CPU:=$(shell uname -m)
+PKG_CPU:=$(shell uname -m | sed "s/ //g")
IB_NAME:=OpenWrt-ImageBuilder-$(BOARD)-$(KERNEL)-for-$(PKG_OS)-$(PKG_CPU)
IB_BUILD_DIR:=$(BUILD_DIR)/$(IB_NAME)