[FS#43] Diffconfig.sh does not like config to build multiple device profiles (TARGET_MULTI_PROFILE) - Task opened

LEDE Bugs lede-bugs at lists.infradead.org
Mon Jul 4 05:09:05 PDT 2016


A new Flyspray task has been opened.  Details are below. 

User who did this - Hannu Nyman (hnyman) 

Attached to Project - LEDE Project
Summary - Diffconfig.sh does not like config to build multiple device profiles (TARGET_MULTI_PROFILE)
Task Type - Bug Report
Category - Toolchain
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - I noticed today that the new multi-profile build functionality breaks scripts/diffconfig.sh, at least for ar71xx.

In Openwrt and in LEDE with just one device selected and no other changes made, diffconfig produces sensible output (size ~100 bytes). However, if the multi-device build support is activated, diffconfig fails to detect the "common defaults" and lists all busybox options, all standard packages etc. (diffconfig size 14 kB). That size expansion happens even if just one device is selected after activating TARGET_MULTI_PROFILE.

Below in an example, starting with empty .config and using menuconfig to select just WNDR3700 (even for the multi-profile config).


diffconfig output sizes:
14728 diffconfig.lede_multi
  101 diffconfig.lede_single
   94 diffconfig.openwrt

perus at ub1604:/$ cat diffconfig.openwrt 
CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_WNDR3700=y

perus at ub1604:/$ cat diffconfig.lede_single 
CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_DEVICE_wndr3700=y

perus at ub1604:/$ cat diffconfig.lede_multi 
CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_MULTI_PROFILE=y
CONFIG_ATH_USER_REGD=y
CONFIG_BUSYBOX_DEFAULT_ASH=y
CONFIG_BUSYBOX_DEFAULT_ASH_ALIAS=y
CONFIG_BUSYBOX_DEFAULT_ASH_BASH_COMPAT=y
...
CONFIG_PACKAGE_ubus=y
CONFIG_PACKAGE_ubusd=y
CONFIG_PACKAGE_uci=y
CONFIG_PACKAGE_uclient-fetch=y
CONFIG_PACKAGE_usign=y
CONFIG_PACKAGE_wpad-mini=y
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_wndr3700=y


More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=43



More information about the lede-bugs mailing list