diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-10-01 00:35:24 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-10-01 00:35:24 +0000 |
commit | 59a63a91ebdb66e098bd24abae76ac8277043d1b (patch) | |
tree | ea61b53e5f6d8c6555aff3dc65fab40fb90fa502 /package | |
parent | b7417346cb1a3041b612f40d5346402f9a59650d (diff) | |
download | buildroot-novena-59a63a91ebdb66e098bd24abae76ac8277043d1b.tar.gz buildroot-novena-59a63a91ebdb66e098bd24abae76ac8277043d1b.zip |
let people control location of download dir
Diffstat (limited to 'package')
-rw-r--r-- | package/Makefile.in | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/package/Makefile.in b/package/Makefile.in index 297ecffd5..662ecacef 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -11,10 +11,14 @@ SVN:=$(strip $(subst ",, $(BR2_SVN))) + ifneq ($(BR2_LARGEFILE),y) DISABLE_LARGEFILE= --disable-largefile endif TARGET_CFLAGS=$(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING) +HOSTCC:=gcc + +BASE_DIR:=${shell pwd} TOPDIR_PREFIX:=$(strip $(subst ",, $(BR2_TOPDIR_PREFIX)))_ TOPDIR_SUFFIX:=_$(strip $(subst ",, $(BR2_TOPDIR_SUFFIX))) @@ -25,9 +29,10 @@ ifeq ($(TOPDIR_SUFFIX),_) TOPDIR_SUFFIX:= endif -HOSTCC:=gcc -BASE_DIR:=${shell pwd} +DL_DIR=$(strip $(subst ",, $(BR2_DL_DIR))) +ifeq ($(DL_DIR),) DL_DIR:=$(BASE_DIR)/dl +endif #PATCH_DIR=$(BASE_DIR)/sources/patches BUILD_DIR:=$(BASE_DIR)/$(TOPDIR_PREFIX)build_$(ARCH)$(ARCH_FPU_SUFFIX)$(TOPDIR_SUFFIX) TARGET_DIR:=$(BUILD_DIR)/root |