summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/Makefile.commonarch
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-08-17 19:17:00 +0200
committerAustin Foxley <austinf@cetoncorp.com>2009-08-19 13:01:53 -0700
commitba24c697a8fcda7111defc6525c2a59cb34daf0c (patch)
tree8acdcca2c22dceb20fcb5928a080cf0ff0ddb0ed /libc/sysdeps/linux/Makefile.commonarch
parente929ab1fc309d16820e181a539cf30f0732d3a03 (diff)
downloaduClibc-alpine-ba24c697a8fcda7111defc6525c2a59cb34daf0c.tar.bz2
uClibc-alpine-ba24c697a8fcda7111defc6525c2a59cb34daf0c.tar.xz
support building out-of-tree
Handle O= Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc/sysdeps/linux/Makefile.commonarch')
-rw-r--r--libc/sysdeps/linux/Makefile.commonarch3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/Makefile.commonarch b/libc/sysdeps/linux/Makefile.commonarch
index 2dad073ad..10cfc12c3 100644
--- a/libc/sysdeps/linux/Makefile.commonarch
+++ b/libc/sysdeps/linux/Makefile.commonarch
@@ -28,11 +28,10 @@ arch_clean:
ifneq ($(ARCH_HEADERS),)
-ARCH_HEADERS_IN := $(patsubst %,../libc/sysdeps/linux/$(TARGET_ARCH)/%,$(ARCH_HEADERS))
ARCH_HEADERS_OUT := $(patsubst %,$(top_builddir)include/%,$(ARCH_HEADERS))
$(ARCH_HEADERS_OUT):
- $(do_ln) -fs ../libc/sysdeps/linux/$(TARGET_ARCH)/$(@F) $@
+ $(do_ln) -fs $(call rel_srcdir)libc/sysdeps/linux/$(TARGET_ARCH)/$(@F) $@
headers-y += $(ARCH_HEADERS_OUT)
headers_clean-y += arch_headers_clean