[PATCH] tools: always create $STAGING_DIR/usr/{include,lib}

Paul Spooren mail at aparcar.org
Mon Aug 24 13:56:13 EDT 2020


On 24.08.20 00:55, Jo-Philipp Wich wrote:
> Hi,
>
>> rules.mk always passes these as -I/-L to the toolchain.
>>
>> Fixes rare errors like:
>> cc1: error: staging_dir/target-aarch64_cortex-a53_musl/usr/include: No such file or directory [-Werror=missing-include-dirs]
>>
>> Signed-off-by: Andre Heider <a.heider at gmail.com>
> NAK - I'd prefer if we remove the faulty/redundant/unused include paths
> from rules.mk instead.

Isn't that breaking some packages which currently use `/usr/lib`?

packages.git/boost:
https://github.com/openwrt/packages/blob/e2e152da599ceeacf06b4a045b5b391107d194df/libs/boost/Makefile#L485




More information about the openwrt-devel mailing list