mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-26 20:56:33 +00:00
let people control location of download dir
This commit is contained in:
parent
b7417346cb
commit
59a63a91eb
@ -125,6 +125,12 @@ config BR2_TAR_VERBOSITY
|
|||||||
bool "Tar verbose"
|
bool "Tar verbose"
|
||||||
default n
|
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
|
config BR2_SOURCEFORGE_MIRROR
|
||||||
string "Sourceforge mirror site"
|
string "Sourceforge mirror site"
|
||||||
default "easynews"
|
default "easynews"
|
||||||
|
@ -11,10 +11,14 @@ SVN:=$(strip $(subst ",, $(BR2_SVN)))
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ifneq ($(BR2_LARGEFILE),y)
|
ifneq ($(BR2_LARGEFILE),y)
|
||||||
DISABLE_LARGEFILE= --disable-largefile
|
DISABLE_LARGEFILE= --disable-largefile
|
||||||
endif
|
endif
|
||||||
TARGET_CFLAGS=$(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING)
|
TARGET_CFLAGS=$(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING)
|
||||||
|
HOSTCC:=gcc
|
||||||
|
|
||||||
|
BASE_DIR:=${shell pwd}
|
||||||
|
|
||||||
TOPDIR_PREFIX:=$(strip $(subst ",, $(BR2_TOPDIR_PREFIX)))_
|
TOPDIR_PREFIX:=$(strip $(subst ",, $(BR2_TOPDIR_PREFIX)))_
|
||||||
TOPDIR_SUFFIX:=_$(strip $(subst ",, $(BR2_TOPDIR_SUFFIX)))
|
TOPDIR_SUFFIX:=_$(strip $(subst ",, $(BR2_TOPDIR_SUFFIX)))
|
||||||
@ -25,9 +29,10 @@ ifeq ($(TOPDIR_SUFFIX),_)
|
|||||||
TOPDIR_SUFFIX:=
|
TOPDIR_SUFFIX:=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
HOSTCC:=gcc
|
DL_DIR=$(strip $(subst ",, $(BR2_DL_DIR)))
|
||||||
BASE_DIR:=${shell pwd}
|
ifeq ($(DL_DIR),)
|
||||||
DL_DIR:=$(BASE_DIR)/dl
|
DL_DIR:=$(BASE_DIR)/dl
|
||||||
|
endif
|
||||||
#PATCH_DIR=$(BASE_DIR)/sources/patches
|
#PATCH_DIR=$(BASE_DIR)/sources/patches
|
||||||
BUILD_DIR:=$(BASE_DIR)/$(TOPDIR_PREFIX)build_$(ARCH)$(ARCH_FPU_SUFFIX)$(TOPDIR_SUFFIX)
|
BUILD_DIR:=$(BASE_DIR)/$(TOPDIR_PREFIX)build_$(ARCH)$(ARCH_FPU_SUFFIX)$(TOPDIR_SUFFIX)
|
||||||
TARGET_DIR:=$(BUILD_DIR)/root
|
TARGET_DIR:=$(BUILD_DIR)/root
|
||||||
|
Loading…
x
Reference in New Issue
Block a user