diff options
author | Roland McGrath <roland@redhat.com> | 2010-04-08 15:29:19 -0700 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2010-04-08 15:29:19 -0700 |
commit | df5efd61b01c52573bfd011b93a96966047308c6 (patch) | |
tree | 9970710c7efe96964143473582073b9f2ed0478e /Makerules | |
parent | 5e4295fb58a41f27e5158746deb8e40421d2e67b (diff) | |
download | glibc-df5efd61b01c52573bfd011b93a96966047308c6.zip glibc-df5efd61b01c52573bfd011b93a96966047308c6.tar.gz glibc-df5efd61b01c52573bfd011b93a96966047308c6.tar.bz2 |
Fix libc-abis rules to be correct for add-on ports.
Diffstat (limited to 'Makerules')
-rw-r--r-- | Makerules | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -111,13 +111,13 @@ endif # $(versioning) = yes ifndef avoid-generated before-compile := $(common-objpfx)libc-abis.h $(before-compile) -libc-abis := $(firstword $(wildcard $(foreach D,$(add-ons), \ - $(..)$D/libc-abis)) \ - $(..)libc-abis) -$(common-objpfx)libc-abis.h: $(..)scripts/gen-libc-abis $(libc-abis) - $(SHELL) $(..)scripts/gen-libc-abis \ +$(common-objpfx)libc-abis.h: $(..)scripts/gen-libc-abis \ + $(firstword $(wildcard $(sysdirs:=/libc-abis)) \ + $(..)libc-abis) \ + $(..)Makerules + $(SHELL) $< \ $(base-machine)-$(config-vendor)-$(config-os) \ - < $(libc-abis) > $@T + < $(word 2,$^) > $@T $(move-if-change) $@T $@ common-generated += $(common-objpfx)libc-abis.h endif # avoid-generated |