summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/Makefile.arch
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-05 08:34:30 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-05 08:34:30 +0000
commit930ddefbd7f9c4d896766ead604e6fcb8f78fd0c (patch)
tree45ef0c17e5a55b2cb208ee941d726f0075b9d4e8 /libc/sysdeps/linux/Makefile.arch
parent0f110a42888ea9333be8f687e3c8ad4960aa4901 (diff)
fix arch_headers target
Diffstat (limited to 'libc/sysdeps/linux/Makefile.arch')
-rw-r--r--libc/sysdeps/linux/Makefile.arch4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/Makefile.arch b/libc/sysdeps/linux/Makefile.arch
index 776fff235..a954e69ba 100644
--- a/libc/sysdeps/linux/Makefile.arch
+++ b/libc/sysdeps/linux/Makefile.arch
@@ -27,14 +27,14 @@ arch_objclean:
ifneq ($(ARCH_HEADERS),)
-ARCH_HEADERS_IN := $(patsubst %,$(ARCH_DIR)/%,$(ARCH_HEADERS))
+ARCH_HEADERS_IN := $(patsubst %,../libc/sysdeps/linux/$(TARGET_ARCH)/%,$(ARCH_HEADERS))
ARCH_HEADERS_OUT := $(patsubst %,$(top_builddir)include/%,$(ARCH_HEADERS))
headers-y += arch_headers
arch_headers:
$(SECHO) $(LN) -fs $(ARCH_HEADERS) $(top_builddir)include/
@for h in $(ARCH_HEADERS_IN) ; do \
- $(LN) -fs ../libc/sysdeps/linux/$(TARGET_ARCH)/$$h $(top_builddir)include/ ; \
+ $(LN) -fs $$h $(top_builddir)include/ ; \
done
headers_clean-y += arch_headers_clean