mirror of
git://sourceware.org/git/glibc.git
synced 2026-10-02 23:50:01 +08:00
* sysdeps/unix/make-syscalls.sh: Insert $(make-target-directory) at
the beginning of generated target commands. * csu/Makefile ($(objpfx)crti.o, $(objpfx)crtn.o): Add explicit dependencies for these in case implicit rule search skipped the nonexistent source directory. * sysdeps/gnu/Makefile ($(objpfx)errlist.d): Give this rule all the files with $(object-suffixes) as targets too. * Makerules [no_deps && objpfx] (before-compile): Add $(objpfx). and a target for it using $(make-target-directory). * Rules (before-compile): Add $(common-objpfx)bits/stdio-lim.h. * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: Moved to ... * sysdeps/generic/bits/pthreadtypes.h: ... here.
This commit is contained in:
@@ -113,6 +113,11 @@ $(objpfx)crtn.S: $(objpfx)initfini.s
|
||||
-e '/@_.*_EPILOG_BEGINS/,/@_.*_EPILOG_ENDS/p' \
|
||||
-e '/@TRAILER_BEGINS/,$$p' $< > $@
|
||||
|
||||
# These explicit rules are necessary when the $(objpfx) subdirectory
|
||||
# did not exist at the time make considered the implicit rules using it.
|
||||
# This comes up with a fresh build using no_deps=t.
|
||||
$(patsubst %,$(objpfx)crt%.o,i n): %.o: %.S
|
||||
|
||||
$(objpfx)defs.h: $(objpfx)initfini.s
|
||||
sed -n -e '/@TESTS_BEGIN/,/@TESTS_END/p' $< | \
|
||||
$(AWK) -f defs.awk > $@
|
||||
|
||||
Reference in New Issue
Block a user