diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-06-09 17:18:53 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-06-09 17:18:53 +0000 |
commit | f2420be7f1bc792488ae98a266cbd951c51ee336 (patch) | |
tree | 73ad5495dbba91b683eba93b4b2b9961fd2472f5 /libc/sysdeps/linux | |
parent | f4c81223c2228bbc34ba7bb63cfb079f9c0bd1e2 (diff) |
- Improve prerequisites and avoid spurious reconfigurations.
More details: http://uclibc.org/lists/uclibc/2008-June/019509.html
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r-- | libc/sysdeps/linux/Makefile.commonarch | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/Makefile.commonarch b/libc/sysdeps/linux/Makefile.commonarch index 74b9660b5..ff3e90aa7 100644 --- a/libc/sysdeps/linux/Makefile.commonarch +++ b/libc/sysdeps/linux/Makefile.commonarch @@ -28,13 +28,10 @@ ifneq ($(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 $$h $(top_builddir)include/ ; \ - done +$(ARCH_HEADERS_OUT): + $(do_ln) -fs ../libc/sysdeps/linux/$(TARGET_ARCH)/$(@F) $@ +headers-y += $(ARCH_HEADERS_OUT) headers_clean-y += arch_headers_clean arch_headers_clean: $(RM) $(ARCH_HEADERS_OUT) |