From: Ben Hutchings Date: Sat, 1 Jan 2022 13:59:07 +0000 (+0100) Subject: [klibc] ia64: Fix out-of-tree build X-Git-Tag: archive/raspbian/2.0.10-4+rpi1^2^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e0ec42cda4ff85857d59ec8470a90dc423bc8f22;p=klibc.git [klibc] ia64: Fix out-of-tree build Origin: https://git.kernel.org/pub/scm/libs/klibc/klibc.git/commit/?id=2114e20cf16bbfb45a94aaf978d62d08d8968414 The linker script is currently not found in an out-of-tree build. The filename needs to start with $(srctree) to make this work. Signed-off-by: Ben Hutchings Gbp-Pq: Name 0001-klibc-ia64-Fix-out-of-tree-build.patch --- diff --git a/usr/klibc/arch/ia64/MCONFIG b/usr/klibc/arch/ia64/MCONFIG index f2a2539..db6a4ce 100644 --- a/usr/klibc/arch/ia64/MCONFIG +++ b/usr/klibc/arch/ia64/MCONFIG @@ -11,7 +11,7 @@ KLIBCARCHREQFLAGS = -mno-pic KLIBCOPTFLAGS += -Os KLIBCBITSIZE = 64 -KLIBCSHAREDFLAGS = -T $(src)/arch/$(KLIBCARCH)/klibc.ld +KLIBCSHAREDFLAGS = -T $(srctree)/$(src)/arch/$(KLIBCARCH)/klibc.ld # Kernel has never used stack trampolines KLIBCEXECSTACK := n