[klibc] ia64: Fix out-of-tree build
authorBen Hutchings <ben@decadent.org.uk>
Sat, 1 Jan 2022 13:59:07 +0000 (14:59 +0100)
committerBen Hutchings <benh@debian.org>
Sat, 1 Jan 2022 15:55:44 +0000 (15:55 +0000)
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 <ben@decadent.org.uk>
Gbp-Pq: Name 0001-klibc-ia64-Fix-out-of-tree-build.patch

usr/klibc/arch/ia64/MCONFIG

index f2a2539567abe1fffd206a4d450e2a2a4175aa9a..db6a4cee4af3a5239d630a9d0c3c6763f75ae7b5 100644 (file)
@@ -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