common.mk: protect $HOME

This commit is contained in:
Matteo Cypriani 2012-06-28 14:58:57 +02:00
parent 1882cc26ca
commit d21dcc7b9a
1 changed files with 2 additions and 2 deletions

View File

@ -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