mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
Split the target suffix out as a config option, for the few cases where
we have to use a different one.
This commit is contained in:
parent
c1eb4cdc6f
commit
d56e2b342f
12
Config.in
12
Config.in
@ -236,6 +236,18 @@ config BR2_GNU_BUILD_SUFFIX
|
|||||||
cygwin: pc-cygwin
|
cygwin: pc-cygwin
|
||||||
os x: apple-darwin7 / apple-darwin8
|
os x: apple-darwin7 / apple-darwin8
|
||||||
|
|
||||||
|
config BR2_GNU_TARGET_SUFFIX
|
||||||
|
string "GNU target suffix"
|
||||||
|
default "linux-uclibc"
|
||||||
|
help
|
||||||
|
The string used to pass to configure scripts via the
|
||||||
|
--target= option. Just specify the suffix here, the leading
|
||||||
|
arch will be filled in automatically.
|
||||||
|
|
||||||
|
Most users will want to stick with the default setting, though
|
||||||
|
other users (most notably ARM EABI) like to add on to this in
|
||||||
|
order to stay in line with gcc conventions.
|
||||||
|
|
||||||
config BR2_JLEVEL
|
config BR2_JLEVEL
|
||||||
int "Number of jobs to run simultaneously"
|
int "Number of jobs to run simultaneously"
|
||||||
default "1"
|
default "1"
|
||||||
|
@ -38,15 +38,16 @@ BUILD_DIR:=$(BASE_DIR)/$(TOPDIR_PREFIX)build_$(ARCH)$(ARCH_FPU_SUFFIX)$(TOPDIR_S
|
|||||||
TARGET_DIR:=$(BUILD_DIR)/root
|
TARGET_DIR:=$(BUILD_DIR)/root
|
||||||
TOOL_BUILD_DIR=$(BASE_DIR)/$(TOPDIR_PREFIX)toolchain_build_$(ARCH)$(ARCH_FPU_SUFFIX)$(TOPDIR_SUFFIX)
|
TOOL_BUILD_DIR=$(BASE_DIR)/$(TOPDIR_PREFIX)toolchain_build_$(ARCH)$(ARCH_FPU_SUFFIX)$(TOPDIR_SUFFIX)
|
||||||
|
|
||||||
|
GNU_TARGET_SUFFIX:=-$(strip $(subst ",, $(BR2_GNU_TARGET_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)))
|
||||||
#"
|
#"
|
||||||
TARGET_PATH=$(STAGING_DIR)/bin:$(TOOL_BUILD_DIR)/bin:/bin:/sbin:/usr/bin:/usr/sbin
|
TARGET_PATH=$(STAGING_DIR)/bin:$(TOOL_BUILD_DIR)/bin:/bin:/sbin:/usr/bin:/usr/sbin
|
||||||
IMAGE:=$(BASE_DIR)/rootfs.$(ARCH)$(ARCH_FPU_SUFFIX)
|
IMAGE:=$(BASE_DIR)/rootfs.$(ARCH)$(ARCH_FPU_SUFFIX)
|
||||||
REAL_GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)-linux-uclibc
|
REAL_GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)$(GNU_TARGET_SUFFIX)
|
||||||
GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)-linux
|
GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)-linux
|
||||||
KERNEL_CROSS=$(STAGING_DIR)/bin/$(OPTIMIZE_FOR_CPU)-linux-uclibc-
|
KERNEL_CROSS=$(STAGING_DIR)/bin/$(OPTIMIZE_FOR_CPU)$(GNU_TARGET_SUFFIX)-
|
||||||
TARGET_CROSS=$(STAGING_DIR)/bin/$(OPTIMIZE_FOR_CPU)-linux-uclibc-
|
TARGET_CROSS=$(STAGING_DIR)/bin/$(OPTIMIZE_FOR_CPU)$(GNU_TARGET_SUFFIX)-
|
||||||
TARGET_CC=$(TARGET_CROSS)gcc
|
TARGET_CC=$(TARGET_CROSS)gcc
|
||||||
TARGET_CXX=$(TARGET_CROSS)g++
|
TARGET_CXX=$(TARGET_CROSS)g++
|
||||||
TARGET_RANLIB=$(TARGET_CROSS)ranlib
|
TARGET_RANLIB=$(TARGET_CROSS)ranlib
|
||||||
|
Loading…
x
Reference in New Issue
Block a user