mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-10 19:27:37 +01:00
implement TARGET_DEVICES and converge to lantiq/intel_mips
This commit is contained in:
parent
0803c60bab
commit
e90e81a8b2
2 changed files with 17 additions and 2 deletions
|
|
@ -59,3 +59,6 @@ CONFIG_FEATURE_LTQ_WAVE_500B=y
|
|||
# CONFIG_PACKAGE_libcgroup is not set
|
||||
# CONFIG_PACKAGE_libcgroup-daemon is not set
|
||||
# CONFIG_PACKAGE_libdatamodel is not set
|
||||
|
||||
# CONFIG_TARGET_ROOTFS_INITRAMFS is not set
|
||||
# CONFIG_TARGET_ROOTFS_SQUASHFS is not set
|
||||
|
|
|
|||
|
|
@ -256,8 +256,20 @@ function genconfig {
|
|||
fi
|
||||
|
||||
# Set target and profile
|
||||
echo "CONFIG_TARGET_${target}=y" >> .config
|
||||
echo "CONFIG_TARGET_${target}_${BOARDTYPE}=y" >> .config
|
||||
|
||||
#special handling for intel_mips which use TARGET_DEVICES
|
||||
if [ "$target" = "intel_mips" ]; then
|
||||
subtarget="xrx500"
|
||||
echo "CONFIG_TARGET_${target}=y" >> .config
|
||||
echo "CONFIG_TARGET_${target}_${subtarget}=y" >> .config
|
||||
echo "CONFIG_TARGET_MULTI_PROFILE=y" >> .config
|
||||
echo "CONFIG_TARGET_PER_DEVICE_ROOTFS=y" >> .config
|
||||
device=$(echo $BOARDTYPE | tr a-z A-Z)
|
||||
echo "CONFIG_TARGET_DEVICE_${target}_${subtarget}_DEVICE_${device}=y" >> .config
|
||||
else
|
||||
echo "CONFIG_TARGET_${target}=y" >> .config
|
||||
echo "CONFIG_TARGET_${target}_${BOARDTYPE}=y" >> .config
|
||||
fi
|
||||
|
||||
echo "$CUSTOMER $BOARDTYPE" > $CURRENT_CONFIG_FILE
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue