aboutsummaryrefslogtreecommitdiffstats
path: root/target/imagebuilder/Makefile
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
commite7113073f398efdf68038d21e316c6295ab3d9d4 (patch)
tree9e18ef3ebf5f1be7992878c7fed96e876f93d8ee /target/imagebuilder/Makefile
parent0bcf16ea95ef0b9e3f05f6d8ad2cf3254df4a249 (diff)
downloadupstream-e7113073f398efdf68038d21e316c6295ab3d9d4.tar.gz
upstream-e7113073f398efdf68038d21e316c6295ab3d9d4.tar.bz2
upstream-e7113073f398efdf68038d21e316c6295ab3d9d4.zip
Suppress spaces in uname -m
SVN-Revision: 7594
Diffstat (limited to 'target/imagebuilder/Makefile')
-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)