svn commit: trunk/buildroot: package
vapier at uclibc.org
vapier at uclibc.org
Sat Oct 1 00:35:26 UTC 2005
Author: vapier
Date: 2005-09-30 17:35:24 -0700 (Fri, 30 Sep 2005)
New Revision: 11716
Log:
let people control location of download dir
Modified:
trunk/buildroot/Config.in
trunk/buildroot/package/Makefile.in
Changeset:
Modified: trunk/buildroot/Config.in
===================================================================
--- trunk/buildroot/Config.in 2005-10-01 00:32:09 UTC (rev 11715)
+++ trunk/buildroot/Config.in 2005-10-01 00:35:24 UTC (rev 11716)
@@ -125,6 +125,12 @@
bool "Tar verbose"
default n
+config BR2_DL_DIR
+ string "Download dir"
+ default "$(BASE_DIR)/dl"
+ help
+ Directory to store all the source files that we need to fetch.
+
config BR2_SOURCEFORGE_MIRROR
string "Sourceforge mirror site"
default "easynews"
Modified: trunk/buildroot/package/Makefile.in
===================================================================
--- trunk/buildroot/package/Makefile.in 2005-10-01 00:32:09 UTC (rev 11715)
+++ trunk/buildroot/package/Makefile.in 2005-10-01 00:35:24 UTC (rev 11716)
@@ -11,11 +11,15 @@
+
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)))
ifeq ($(TOPDIR_PREFIX),_)
@@ -25,9 +29,10 @@
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
More information about the uClibc-cvs
mailing list