diff options
Diffstat (limited to 'toolchain/kernel-headers/Makefile')
-rw-r--r-- | toolchain/kernel-headers/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile index 4443c43..a182c83 100644 --- a/toolchain/kernel-headers/Makefile +++ b/toolchain/kernel-headers/Makefile @@ -53,6 +53,11 @@ define Build/Prepare ln -sf linux-$(LINUX_VERSION) $(LINUX_HEADERS_DIR) yes '' | $(KMAKE) oldconfig $(KMAKE) include/linux/version.h include/asm + if [ -d $(PKG_BUILD_DIR)/arch/$(LINUX_KARCH)/include/asm ]; then \ + $(CP) \ + $(PKG_BUILD_DIR)/arch/$(LINUX_KARCH)/include/asm/. \ + $(PKG_BUILD_DIR)/include/asm-$(LINUX_KARCH)/; \ + fi $(call Build/Configure/$(ARCH)) endef |