mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-02-22 04:12:28 +01:00
iop: genconfig: Add hack for custom-devices
Add hack to consume configs from custom-devices in a separate feed custom-devices, but only in that feed and not in other feeds. There is no value in implementing a generic solution, because the whole genconfig system will be replaced with something else. Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
This commit is contained in:
parent
3202e0fbba
commit
2c6616ef05
2 changed files with 11 additions and 1 deletions
|
|
@ -368,7 +368,12 @@ function genconfig {
|
|||
cat $target_config_path/$BOARDTYPE/config >> .config
|
||||
echo "" >> .config
|
||||
fi
|
||||
|
||||
# hack to support custom-devices until we have deprecated this genconfig-script...
|
||||
if [ -f "feeds/custom_devices/devices/$target/config/$BOARDTYPE/config" ]; then
|
||||
cat "feeds/custom_devices/devices/$target/config/$BOARDTYPE/config" >> .config
|
||||
echo "" >> .config
|
||||
fi
|
||||
|
||||
# Special handling for targets which use TARGET_DEVICES
|
||||
case "$target" in
|
||||
airoha | mediatek | brcmbca | ipq95xx | ipq53xx)
|
||||
|
|
|
|||
|
|
@ -342,6 +342,11 @@ function genconfig_min {
|
|||
cat $target_config_path/$BOARDTYPE/config >> .config
|
||||
echo "" >> .config
|
||||
fi
|
||||
# hack to support custom-devices until we have deprecated this genconfig-script...
|
||||
if [ -f "feeds/custom_devices/devices/$target/config/$BOARDTYPE/config" ]; then
|
||||
cat "feeds/custom_devices/devices/$target/config/$BOARDTYPE/config" >> .config
|
||||
echo "" >> .config
|
||||
fi
|
||||
|
||||
# Special handling for targets which use TARGET_DEVICES
|
||||
case "$target" in
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue