summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toolchain/kernel-headers/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile
index 0af7347b4..d6d726ead 100644
--- a/toolchain/kernel-headers/Makefile
+++ b/toolchain/kernel-headers/Makefile
@@ -9,6 +9,10 @@ include ${ADK_TOPDIR}/mk/kernel-vars.mk
include ${ADK_TOPDIR}/mk/buildhlp.mk
$(TOOLCHAIN_BUILD_DIR)/w-$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)/linux-$(KERNEL_VERSION)/.patched:
+ifeq ($(ADK_LINUX_XTENSA),y)
+ tar xf $(TOPDIR)/target/xtensa/overlay/xtensa_dc232b.tar \
+ --strip-components=1 -C $(WRKSRC) linux
+endif
ifneq ($(ADK_DISABLE_KERNEL_PATCHES),y)
$(TRACE) kernel-patch
$(PATCH) $(TOOLCHAIN_BUILD_DIR)/w-$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)/linux-$(KERNEL_VERSION) \