mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 09:49:32 +02:00
extract bitbake config setting into data_define, use more variables replacing hardcoded values
(From OE-Core rev: 993a2367f881f1f4eaa10339cde93c7058660d67) Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
720b5dbc08
commit
d1df75115e
@@ -29,11 +29,11 @@ parse_config()
|
||||
case $INST_ARCH in
|
||||
i[3-6]86)
|
||||
OPKG_CONFIG_FILE=$YOCTOADT_OPKG_CONF_FILE_32
|
||||
OECORE_NATIVE_SYSROOT="$INSTALL_FOLDER/sysroots/$INST_ARCH-${SDK_VENDOR}-linux/"
|
||||
OECORE_NATIVE_SYSROOT="$INSTALL_FOLDER/sysroots/$INST_ARCH$SDK_VENDOR-linux/"
|
||||
;;
|
||||
x86_64)
|
||||
OPKG_CONFIG_FILE=$YOCTOADT_OPKG_CONF_FILE_64
|
||||
OECORE_NATIVE_SYSROOT="$INSTALL_FOLDER/sysroots/x86_64-${SDK_VENDOR}-linux/"
|
||||
OECORE_NATIVE_SYSROOT="$INSTALL_FOLDER/sysroots/x86_64$SDK_VENDOR-linux/"
|
||||
;;
|
||||
*)
|
||||
echo_info "[ADT_INST] Error: Installation Machine is not supported!"
|
||||
|
||||
@@ -37,4 +37,3 @@ YOCTOADT_SUPPORTED_TARGETS="x86 x86_64 arm ppc mips"
|
||||
# configuration files
|
||||
YOCTOADT_OPKG_CONF_FILE_32="./opkg/conf/opkg-sdk-i686.conf"
|
||||
YOCTOADT_OPKG_CONF_FILE_64="./opkg/conf/opkg-sdk-x86_64.conf"
|
||||
INSTALL_FOLDER=/opt/poky/$YOCTOADT_VERSION
|
||||
|
||||
Reference in New Issue
Block a user