The Linux headers on arm64 architectures contain references to common
arch/arm/ headers which were not bundled by the SDK so far.
Check if we're packing the SDK for an arm64 target and if we do, also
include arch/arm headers as well.
Fixes FS#1725.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
BASE_FEED:=$(if$(BASE_FEED),$(BASE_FEED),src-git base $(PROJECT_GIT)/openwrt/openwrt.git$(if$(GIT_BRANCH),;$(GIT_BRANCH),$(if$(GIT_TAGNAME),;$(GIT_TAGNAME))))
BASE_FEED:=$(if$(BASE_FEED),$(BASE_FEED),src-git base $(PROJECT_GIT)/openwrt/openwrt.git$(if$(GIT_BRANCH),;$(GIT_BRANCH),$(if$(GIT_TAGNAME),;$(GIT_TAGNAME))))
KDIR_BASE=$(patsubst $(TOPDIR)/%,%,$(LINUX_DIR))
KDIR_BASE=$(patsubst $(TOPDIR)/%,%,$(LINUX_DIR))
KDIR_ARCHES=$(LINUX_KARCH)
# arch/arm64/ includes reference files in arch/arm/, so we'll need both