mirror of git://sourceware.org/git/glibc.git
Use a stamp file for libc-abis.h rule.
This commit is contained in:
parent
4ae73ca00a
commit
17ad387727
|
|
@ -1,5 +1,10 @@
|
||||||
2010-04-09 Roland McGrath <roland@redhat.com>
|
2010-04-09 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
|
* Makerules ($(common-objpfx)libc-abis.h): Depend on libc-abis.stamp.
|
||||||
|
($(common-objpfx)libc-abis.stamp): New target, rule moved from
|
||||||
|
libc-abis.h target. Use a stamp file to avoid repeating no-op
|
||||||
|
move-if-change on every run.
|
||||||
|
|
||||||
* posix/Makefile (tst-chmod-ARGS): Pass $(objdir), not `pwd`.
|
* posix/Makefile (tst-chmod-ARGS): Pass $(objdir), not `pwd`.
|
||||||
|
|
||||||
2010-04-08 Ulrich Drepper <drepper@redhat.com>
|
2010-04-08 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
|
||||||
|
|
@ -111,14 +111,16 @@ 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)
|
||||||
$(common-objpfx)libc-abis.h: $(..)scripts/gen-libc-abis \
|
$(common-objpfx)libc-abis.h: $(common-objpfx)libc-abis.stamp; @:
|
||||||
|
$(common-objpfx)libc-abis.stamp: $(..)scripts/gen-libc-abis \
|
||||||
$(firstword $(wildcard $(sysdirs:=/libc-abis)) \
|
$(firstword $(wildcard $(sysdirs:=/libc-abis)) \
|
||||||
$(..)libc-abis) \
|
$(..)libc-abis) \
|
||||||
$(..)Makerules
|
$(..)Makerules
|
||||||
$(SHELL) $< \
|
$(SHELL) $< \
|
||||||
$(base-machine)-$(config-vendor)-$(config-os) \
|
$(base-machine)-$(config-vendor)-$(config-os) \
|
||||||
< $(word 2,$^) > $@T
|
< $(word 2,$^) > $(@:.stamp=.h)T
|
||||||
$(move-if-change) $@T $@
|
$(move-if-change) $(@:.stamp=.h)T $(@:.stamp=.h)
|
||||||
|
touch $@
|
||||||
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