Browse Source

fix arch_headers target

Mike Frysinger 19 years ago
parent
commit
930ddefbd7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      libc/sysdeps/linux/Makefile.arch

+ 2 - 2
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