# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
#
|
|
# Filename: target/toolchain/config.in
|
|
# Copyright (C) 2016 The OpenSDE Project
|
|
#
|
|
# More information can be found in the files COPYING and README.
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; version 2 of the License. A copy of the
|
|
# GNU General Public License can be found in the file COPYING.
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
#Description: Toolchain target
|
|
|
|
const SDECFG_TRG_TOOLCHAIN ${target:-$SDECFG_TARGET}
|
|
|
|
for x in OPT=size MULTILIB=0; do
|
|
export SDECFGSET_$x
|
|
done
|
|
|
|
for x in CCACHE_USEIT=1 GCC_JAVA=0 \
|
|
GCC_F77=0 GCC_OBJC=0 GCC_GO=0 \
|
|
DJB_LAYOUT=0; do
|
|
export SDECFGSET_PKG_$x
|
|
done
|
|
|
|
SDECFGSET_IMAGE='docker'
|
|
SDECFGSET_INIT='none'
|
|
SDECFGSET_XTRACE='1'
|
|
|
|
if [ ! -s "$cfgtmpdir/$target.config.in" ]; then
|
|
# render files just once
|
|
lib/sde-config/pkgseldir_compile.sh \
|
|
"CFGTEMP_TRG_TOOLCHAIN_PKGSEL" "SDECFG_TRG_TOOLCHAIN_" \
|
|
"$cfgtmpdir/$target." \
|
|
"target/$target/pkgsel.d"
|
|
fi
|
|
|
|
if [ -s "$cfgtmpdir/$target.config.in" ]; then
|
|
. "$cfgtmpdir/$target.config.in"
|
|
else
|
|
comment "--- Failed to process pkgsel.d ---"
|
|
fi
|
|
|