kernel-defaults: Delete external source tree user_headers
authorFlorian Fainelli <f.fainelli@gmail.com>
Sun, 13 Sep 2020 00:09:53 +0000 (17:09 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Sat, 9 Jan 2021 22:49:48 +0000 (14:49 -0800)
commit09760cbb3b9d79472c1c6803a32128b7fbb161c4
tree5443275911199ad3865c28491de5a350a0ed6be3
parent2e590a63645a5c89ad752abfe36458dc0f49c739
kernel-defaults: Delete external source tree user_headers

When we use an external kernel tree which may not have been fully
cleaned, there may be user_headers left which do not match the target
architecture, leading to build failures for packages that do an explicit
inclusion of user_headers (such as iproute2 or iptables). Make sure we
delete them while preparing the directory.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
include/kernel-defaults.mk