add sf mirrors list in help (fix by Bernhard Fischer) and allow people to add custom prefix/suffix to builds
This commit is contained in:
parent
05a534e662
commit
e4de8b2f14
25
Config.in
25
Config.in
|
@ -100,7 +100,7 @@ config BR2_WGET
|
||||||
default "wget --passive-ftp -nd"
|
default "wget --passive-ftp -nd"
|
||||||
|
|
||||||
config BR2_SVN
|
config BR2_SVN
|
||||||
string "Subversion (svn) checkout command"
|
string "Subversion (svn) checkout command"
|
||||||
default "svn co"
|
default "svn co"
|
||||||
|
|
||||||
config BR2_TAR_VERBOSITY
|
config BR2_TAR_VERBOSITY
|
||||||
|
@ -108,7 +108,7 @@ config BR2_TAR_VERBOSITY
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config BR2_SOURCEFORGE_MIRROR
|
config BR2_SOURCEFORGE_MIRROR
|
||||||
string "Sourceforge mirror site"
|
string "Sourceforge mirror site"
|
||||||
default "easynews"
|
default "easynews"
|
||||||
help
|
help
|
||||||
Sourceforge has a system of mirror sites. Some sites may be closer
|
Sourceforge has a system of mirror sites. Some sites may be closer
|
||||||
|
@ -116,6 +116,9 @@ config BR2_SOURCEFORGE_MIRROR
|
||||||
available. This option allows you to select your preferred Sourceforge
|
available. This option allows you to select your preferred Sourceforge
|
||||||
mirror site.
|
mirror site.
|
||||||
|
|
||||||
|
The list of mirrors is available here:
|
||||||
|
http://prdownloads.sourceforge.net/index-sf.html?download
|
||||||
|
|
||||||
config BR2_STAGING_DIR
|
config BR2_STAGING_DIR
|
||||||
string "Toolchain and header file location?"
|
string "Toolchain and header file location?"
|
||||||
default "$(BUILD_DIR)/staging_dir"
|
default "$(BUILD_DIR)/staging_dir"
|
||||||
|
@ -129,6 +132,24 @@ config BR2_STAGING_DIR
|
||||||
Most people will leave this set to the default value of
|
Most people will leave this set to the default value of
|
||||||
"$(BUILD_DIR)/staging_dir".
|
"$(BUILD_DIR)/staging_dir".
|
||||||
|
|
||||||
|
config BR2_TOPDIR_PREFIX
|
||||||
|
string "Custom build dir prefix"
|
||||||
|
default ""
|
||||||
|
help
|
||||||
|
Add a custom string to the beginning of the build directories.
|
||||||
|
|
||||||
|
build_ARCH -> [PREFIX]_build_ARCH
|
||||||
|
toolchain_build_ARCH -> [PREFIX]_toolchain_build_ARCH
|
||||||
|
|
||||||
|
config BR2_TOPDIR_SUFFIX
|
||||||
|
string "Custom build dir suffix"
|
||||||
|
default ""
|
||||||
|
help
|
||||||
|
Add a custom string to the end of the build directories.
|
||||||
|
|
||||||
|
build_ARCH -> build_ARCH_[SUFFIX]
|
||||||
|
toolchain_build_ARCH -> toolchain_build_ARCH_[SUFFIX]
|
||||||
|
|
||||||
config BR2_JLEVEL
|
config BR2_JLEVEL
|
||||||
int "Number of jobs to run simultaneously"
|
int "Number of jobs to run simultaneously"
|
||||||
default "1"
|
default "1"
|
||||||
|
|
|
@ -16,13 +16,23 @@ DISABLE_LARGEFILE= --disable-largefile
|
||||||
endif
|
endif
|
||||||
TARGET_CFLAGS=$(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING)
|
TARGET_CFLAGS=$(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING)
|
||||||
|
|
||||||
|
TOPDIR_PREFIX:=$(strip $(subst ",, $(BR2_TOPDIR_PREFIX)))_
|
||||||
|
TOPDIR_SUFFIX:=_$(strip $(subst ",, $(BR2_TOPDIR_SUFFIX)))
|
||||||
|
ifeq ($(TOPDIR_PREFIX),_)
|
||||||
|
TOPDIR_PREFIX:=
|
||||||
|
endif
|
||||||
|
ifeq ($(TOPDIR_SUFFIX),_)
|
||||||
|
TOPDIR_SUFFIX:=
|
||||||
|
endif
|
||||||
|
|
||||||
HOSTCC:=gcc
|
HOSTCC:=gcc
|
||||||
BASE_DIR:=${shell pwd}
|
BASE_DIR:=${shell pwd}
|
||||||
DL_DIR:=$(BASE_DIR)/dl
|
DL_DIR:=$(BASE_DIR)/dl
|
||||||
#PATCH_DIR=$(BASE_DIR)/sources/patches
|
#PATCH_DIR=$(BASE_DIR)/sources/patches
|
||||||
BUILD_DIR:=$(BASE_DIR)/build_$(ARCH)$(ARCH_FPU_SUFFIX)
|
BUILD_DIR:=$(BASE_DIR)/$(TOPDIR_PREFIX)build_$(ARCH)$(ARCH_FPU_SUFFIX)$(TOPDIR_SUFFIX)
|
||||||
TARGET_DIR:=$(BUILD_DIR)/root
|
TARGET_DIR:=$(BUILD_DIR)/root
|
||||||
TOOL_BUILD_DIR=$(BASE_DIR)/toolchain_build_$(ARCH)$(ARCH_FPU_SUFFIX)
|
TOOL_BUILD_DIR=$(BASE_DIR)/$(TOPDIR_PREFIX)toolchain_build_$(ARCH)$(ARCH_FPU_SUFFIX)$(TOPDIR_SUFFIX)
|
||||||
|
|
||||||
# Strip off the annoying quoting
|
# Strip off the annoying quoting
|
||||||
STAGING_DIR:=$(strip $(subst ",, $(BR2_STAGING_DIR)))
|
STAGING_DIR:=$(strip $(subst ",, $(BR2_STAGING_DIR)))
|
||||||
#"
|
#"
|
||||||
|
|
Loading…
Reference in a new issue