From e7113073f398efdf68038d21e316c6295ab3d9d4 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Tue, 12 Jun 2007 16:48:10 +0000 Subject: [PATCH] Suppress spaces in uname -m SVN-Revision: 7594 --- target/imagebuilder/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)