summaryrefslogtreecommitdiff
path: root/toolchain/kernel-headers/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-20 13:36:38 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-21 07:56:38 +0200
commitb897b35174fc10912235921d0a9cea80567829ab (patch)
tree488bc9a151873d9b3eb766c719c02ac532f1c9d7 /toolchain/kernel-headers/Makefile
parentc05d2e9da75508f2d65ace2eeb0b89c30b99962b (diff)
overlay for linux kernel
Diffstat (limited to 'toolchain/kernel-headers/Makefile')
-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) \