Suppress spaces in uname -m
authorFlorian Fainelli <florian@openwrt.org>
Tue, 12 Jun 2007 16:48:10 +0000 (16:48 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 12 Jun 2007 16:48:10 +0000 (16:48 +0000)
SVN-Revision: 7594

target/imagebuilder/Makefile

index 9b3700e..925dc80 100644 (file)
@@ -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)