From 5fa28f6a9631d6be707e99f04511dc1675eec491 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 4 May 2024 18:58:42 +0200 Subject: xtensa: preliminary support for upcoming FDPIC support in uClibc-ng --- toolchain/linux-headers/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'toolchain/linux-headers') diff --git a/toolchain/linux-headers/Makefile b/toolchain/linux-headers/Makefile index 79fef22b9..6e9f913e9 100644 --- a/toolchain/linux-headers/Makefile +++ b/toolchain/linux-headers/Makefile @@ -21,8 +21,13 @@ ifeq ($(ADK_KERNEL_ROOT_NFS),y) endif endif ifeq ($(ADK_TARGET_ARCH_XTENSA),y) +ifeq ($(ADK_TARGET_ABI),) tar xf $(ADK_TOPDIR)/target/xtensa/overlay/xtensa_$(ADK_TARGET_CPU_TYPE).tar \ --strip-components=1 -C $(WRKSRC) linux +else + tar xf $(ADK_TOPDIR)/target/xtensa/overlay/xtensa_$(ADK_TARGET_CPU_TYPE)_$(ADK_TARGET_ABI).tar \ + --strip-components=1 -C $(WRKSRC) linux +endif endif ifneq ($(ADK_DISABLE_KERNEL_PATCHES),y) $(TRACE) kernel-patch -- cgit v1.2.3