mirror of
https://sourceware.org/git/glibc.git
synced 2025-06-02 02:01:46 +03:00
Polish the treatment of dl-tunable-list.h in Makeconfig.
Like basically all before-compile headers, dl-tunable-list.h should be generated using a stamp file to minimize unnecessary rebuilding; it wasn't being added to common-generated, so it wouldn't get cleaned up; and it was in between the rules for libc-modules.h/.stmp and their own addition to common-generated. * Makeconfig (dl-tunable-list.h): Generate using a stamp file. (common-generated): Add libc-modules.h and libc-modules.stmp in a more appropriate location. Also add dl-tunable-list.h and dl-tunable-list.stmp.
This commit is contained in:
parent
6b6710e55b
commit
65b6d8b79c
@ -1,3 +1,10 @@
|
|||||||
|
2017-06-09 Zack Weinberg <zackw@panix.com>
|
||||||
|
|
||||||
|
* Makeconfig (dl-tunable-list.h): Generate using a stamp file.
|
||||||
|
(common-generated): Add libc-modules.h and libc-modules.stmp in a
|
||||||
|
more appropriate location. Also add dl-tunable-list.h and
|
||||||
|
dl-tunable-list.stmp.
|
||||||
|
|
||||||
2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
|
2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
|
* sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
|
||||||
|
19
Makeconfig
19
Makeconfig
@ -1107,6 +1107,7 @@ postclean-generated += soversions.mk soversions.i \
|
|||||||
shlib-versions.v shlib-versions.v.i
|
shlib-versions.v shlib-versions.v.i
|
||||||
|
|
||||||
before-compile += $(common-objpfx)libc-modules.h
|
before-compile += $(common-objpfx)libc-modules.h
|
||||||
|
common-generated += libc-modules.h libc-modules.stmp
|
||||||
ifeq ($(soversions.mk-done),t)
|
ifeq ($(soversions.mk-done),t)
|
||||||
# Generate a header with macro definitions for use with the IS_IN macro.
|
# Generate a header with macro definitions for use with the IS_IN macro.
|
||||||
# These are the possible values for the MODULE_NAME macro defined when building
|
# These are the possible values for the MODULE_NAME macro defined when building
|
||||||
@ -1125,17 +1126,19 @@ endif
|
|||||||
# glibc.
|
# glibc.
|
||||||
ifneq (no,$(have-tunables))
|
ifneq (no,$(have-tunables))
|
||||||
before-compile += $(common-objpfx)dl-tunable-list.h
|
before-compile += $(common-objpfx)dl-tunable-list.h
|
||||||
|
common-generated += dl-tunable-list.h dl-tunable-list.stmp
|
||||||
|
|
||||||
$(common-objpfx)dl-tunable-list.h: $(..)scripts/gen-tunables.awk \
|
$(common-objpfx)dl-tunable-list.h: $(common-objpfx)dl-tunable-list.stmp; @:
|
||||||
$(..)elf/dl-tunables.list \
|
$(common-objpfx)dl-tunable-list.stmp: \
|
||||||
$(wildcard $(subdirs:%=$(..)%/dl-tunables.list)) \
|
$(..)scripts/gen-tunables.awk \
|
||||||
$(wildcard $(sysdirs:%=%/dl-tunables.list))
|
$(..)elf/dl-tunables.list \
|
||||||
$(AWK) -f $^ > $@.tmp
|
$(wildcard $(subdirs:%=$(..)%/dl-tunables.list)) \
|
||||||
mv $@.tmp $@
|
$(wildcard $(sysdirs:%=%/dl-tunables.list))
|
||||||
|
$(AWK) -f $^ > ${@:stmp=T}
|
||||||
|
$(move-if-change) ${@:stmp=T} ${@:stmp=h}
|
||||||
|
touch $@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
common-generated += libc-modules.h libc-modules.stmp
|
|
||||||
|
|
||||||
# The name under which the run-time dynamic linker is installed.
|
# The name under which the run-time dynamic linker is installed.
|
||||||
# We are currently going for the convention that `/lib/ld.so.1'
|
# We are currently going for the convention that `/lib/ld.so.1'
|
||||||
# names the SVR4/ELF ABI-compliant dynamic linker.
|
# names the SVR4/ELF ABI-compliant dynamic linker.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user