[OpenWrt-Devel] Build system puzzles: PCI_SUPPORT not being set for subtarget

Jeff Kletsky lede at allycomm.com
Thu May 9 16:18:59 EDT 2019


On 5/9/19 7:28 PM, Tomasz Maciej Nowak wrote:

> Hi Jeff,
>
> W dniu 09.05.2019 o 18:25, Jeff Kletsky pisze:
>> On 5/9/19 12:04 PM, Petr Štetiar wrote:
>>
>>> Jeff Kletsky <lede at allycomm.com> [2019-05-09 11:23:18]:
>>>
>>>> I reconfirmed that
>>>>
>>>>     openwrt/target/linux/ath79$ cp generic/config-default nand/config-default
>>>>     openwrt$ cat /dev/null > .config
>>>>     openwrt$ make menuconfig
>>>>
>>>> has the same behavior -- the nand target does not set PCI_SUPPORT
>>> it works here(tm):
>>>
>>>    CONFIG_TARGET_ath79=y
>>>    CONFIG_TARGET_ath79_nand=y
>>>    CONFIG_TARGET_ath79_nand_DEVICE_glinet_gl-ar300m-nand=y
>>>    CONFIG_ATH10K-CT_LEDS=y
>>>    CONFIG_DRIVER_11AC_SUPPORT=y
>>>    CONFIG_PACKAGE_kmod-ath10k-ct=y
>>>    CONFIG_PACKAGE_kmod-hwmon-core=y
>>>
>>> -- ynezz
>> What I'm seeing is that ath10k gets stripped out for nand,
>> but not for nor. I ran "virgin" tests with the scripts below,
>> with the same config-default in both generic/ and nand/.
> I did run Your script for nand and this is the output (removed feeds to speed-up):
>
> [tomek at vaio-vpcz1 openwrt]$ ./test.sh
> Cloning into 'openwrt-nand-test'...
>
> [...]
>
> # CONFIG_PACKAGE_ath10k-firmware-qca99x0-ct is not set
> # CONFIG_PACKAGE_ath10k-firmware-qca99x0-ct-htt is not set
> # CONFIG_PACKAGE_kmod-ath10k is not set
> CONFIG_PACKAGE_kmod-ath10k-ct=y
>
> So it appears to work.
>
>> [...]
> When adding changes to target/subtarget config sometimes It's necessary to remove
> $(TOPDIR)/tmp to see changes, maybe that's the issue You were hitting?
>
> Regards
>
> -- 
> TMN
>
Removing $(TOPDIR)/tmp did resolve the issue, thanks!

Still somewhat puzzling, but enough to let me proceed here
and come back to see if I can improve the dependencies another day.

The time of all involved is greatly appreciated.


Jeff

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20190509/cfff02ac/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list