From d21dcc7b9af092c3f42779d7baeca3f41b1f7de5 Mon Sep 17 00:00:00 2001 From: Matteo Cypriani Date: Thu, 28 Jun 2012 14:58:57 +0200 Subject: [PATCH] common.mk: protect $HOME --- common.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common.mk b/common.mk index 70f5eed..d467434 100644 --- a/common.mk +++ b/common.mk @@ -110,14 +110,14 @@ LDFLAGS := # Of course, you have to update the symlinks when you compile a new # version of the SDK. ifdef OPENWRT_VERSION - TOOLCHAIN_PREFIX := $$HOME/openwrt/atheros/trunk + TOOLCHAIN_PREFIX := $${HOME}/openwrt/atheros/trunk STAGING_DIR := $(TOOLCHAIN_PREFIX)/staging_dir TOOLCHAIN1 := $(TOOLCHAIN_PREFIX)/toolchain-mips_gcc_uClibc TOOLCHAIN_BIN := $(TOOLCHAIN1)/bin TOOLCHAIN2 := $(TOOLCHAIN_PREFIX)/target-mips_uClibc ifeq "$(OPENWRT_VERSION)" "10.03" - TOOLCHAIN_PREFIX := $$HOME/openwrt/atheros/10.03/staging_dir + TOOLCHAIN_PREFIX := $${HOME}/openwrt/atheros/10.03/staging_dir STAGING_DIR := $(TOOLCHAIN_PREFIX) TOOLCHAIN1 := $(TOOLCHAIN_PREFIX)/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1 TOOLCHAIN_BIN := $(TOOLCHAIN1)/usr/bin