mirror of git://sourceware.org/git/glibc.git
Fix libc-abis rules to be correct for add-on ports.
This commit is contained in:
parent
5e4295fb58
commit
df5efd61b0
|
|
@ -1,3 +1,10 @@
|
||||||
|
2010-04-08 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
|
* Makerules (libc-abis): Variable removed.
|
||||||
|
($(common-objpfx)libc-abis.h): Depend on Makerules too.
|
||||||
|
Use automatic variables in commands.
|
||||||
|
Depend on first libc-abis from $(sysdirs) or $(..).
|
||||||
|
|
||||||
2010-04-07 Ulrich Drepper <drepper@redhat.com>
|
2010-04-07 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* posix/bug-getopt1.c: New file.
|
* posix/bug-getopt1.c: New file.
|
||||||
|
|
|
||||||
12
Makerules
12
Makerules
|
|
@ -111,13 +111,13 @@ endif # $(versioning) = yes
|
||||||
|
|
||||||
ifndef avoid-generated
|
ifndef avoid-generated
|
||||||
before-compile := $(common-objpfx)libc-abis.h $(before-compile)
|
before-compile := $(common-objpfx)libc-abis.h $(before-compile)
|
||||||
libc-abis := $(firstword $(wildcard $(foreach D,$(add-ons), \
|
$(common-objpfx)libc-abis.h: $(..)scripts/gen-libc-abis \
|
||||||
$(..)$D/libc-abis)) \
|
$(firstword $(wildcard $(sysdirs:=/libc-abis)) \
|
||||||
$(..)libc-abis)
|
$(..)libc-abis) \
|
||||||
$(common-objpfx)libc-abis.h: $(..)scripts/gen-libc-abis $(libc-abis)
|
$(..)Makerules
|
||||||
$(SHELL) $(..)scripts/gen-libc-abis \
|
$(SHELL) $< \
|
||||||
$(base-machine)-$(config-vendor)-$(config-os) \
|
$(base-machine)-$(config-vendor)-$(config-os) \
|
||||||
< $(libc-abis) > $@T
|
< $(word 2,$^) > $@T
|
||||||
$(move-if-change) $@T $@
|
$(move-if-change) $@T $@
|
||||||
common-generated += $(common-objpfx)libc-abis.h
|
common-generated += $(common-objpfx)libc-abis.h
|
||||||
endif # avoid-generated
|
endif # avoid-generated
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue