common.mk: protect $HOME
This commit is contained in:
parent
1882cc26ca
commit
d21dcc7b9a
|
@ -110,14 +110,14 @@ LDFLAGS :=
|
||||||
# Of course, you have to update the symlinks when you compile a new
|
# Of course, you have to update the symlinks when you compile a new
|
||||||
# version of the SDK.
|
# version of the SDK.
|
||||||
ifdef OPENWRT_VERSION
|
ifdef OPENWRT_VERSION
|
||||||
TOOLCHAIN_PREFIX := $$HOME/openwrt/atheros/trunk
|
TOOLCHAIN_PREFIX := $${HOME}/openwrt/atheros/trunk
|
||||||
STAGING_DIR := $(TOOLCHAIN_PREFIX)/staging_dir
|
STAGING_DIR := $(TOOLCHAIN_PREFIX)/staging_dir
|
||||||
TOOLCHAIN1 := $(TOOLCHAIN_PREFIX)/toolchain-mips_gcc_uClibc
|
TOOLCHAIN1 := $(TOOLCHAIN_PREFIX)/toolchain-mips_gcc_uClibc
|
||||||
TOOLCHAIN_BIN := $(TOOLCHAIN1)/bin
|
TOOLCHAIN_BIN := $(TOOLCHAIN1)/bin
|
||||||
TOOLCHAIN2 := $(TOOLCHAIN_PREFIX)/target-mips_uClibc
|
TOOLCHAIN2 := $(TOOLCHAIN_PREFIX)/target-mips_uClibc
|
||||||
|
|
||||||
ifeq "$(OPENWRT_VERSION)" "10.03"
|
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)
|
STAGING_DIR := $(TOOLCHAIN_PREFIX)
|
||||||
TOOLCHAIN1 := $(TOOLCHAIN_PREFIX)/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1
|
TOOLCHAIN1 := $(TOOLCHAIN_PREFIX)/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1
|
||||||
TOOLCHAIN_BIN := $(TOOLCHAIN1)/usr/bin
|
TOOLCHAIN_BIN := $(TOOLCHAIN1)/usr/bin
|
||||||
|
|
Loading…
Reference in New Issue