Use rtld-CPPFLAGS in rtld-%.os rules for generated sources.
This commit is contained in:
parent
02a809d2cd
commit
bfcacbdec0
|
@ -1,3 +1,9 @@
|
||||||
|
2013-06-18 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
|
* elf/rtld-Rules (rtld-compile-command.S): New variable.
|
||||||
|
(rtld-compile-command.s, rtld-compile-command.c): New variables.
|
||||||
|
($(objpfx)rtld-%.os rules): Use them.
|
||||||
|
|
||||||
2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
|
2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
|
||||||
|
|
||||||
* nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
|
* nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
|
||||||
|
|
|
@ -88,29 +88,39 @@ else
|
||||||
# Some other subdir's Makefile has provided all its normal rules,
|
# Some other subdir's Makefile has provided all its normal rules,
|
||||||
# and we just provide some additional definitions.
|
# and we just provide some additional definitions.
|
||||||
|
|
||||||
|
rtld-compile-command.S = $(compile-command.S) $(rtld-CPPFLAGS)
|
||||||
|
rtld-compile-command.s = $(compile-command.s) $(rtld-CPPFLAGS)
|
||||||
|
rtld-compile-command.c = $(compile-command.c) $(rtld-CPPFLAGS)
|
||||||
|
|
||||||
# These are the basic compilation rules corresponding to the Makerules ones.
|
# These are the basic compilation rules corresponding to the Makerules ones.
|
||||||
# The sysd-rules generated makefile already defines pattern rules for rtld-%
|
# The sysd-rules generated makefile already defines pattern rules for rtld-%
|
||||||
# targets built from sysdeps source files.
|
# targets built from sysdeps source files.
|
||||||
$(objpfx)rtld-%.os: rtld-%.S $(before-compile)
|
$(objpfx)rtld-%.os: rtld-%.S $(before-compile)
|
||||||
$(compile-command.S) $(rtld-CPPFLAGS)
|
$(rtld-compile-command.S)
|
||||||
$(objpfx)rtld-%.os: rtld-%.s $(before-compile)
|
$(objpfx)rtld-%.os: rtld-%.s $(before-compile)
|
||||||
$(compile-command.s) $(rtld-CPPFLAGS)
|
$(rtld-compile-command.s)
|
||||||
$(objpfx)rtld-%.os: rtld-%.c $(before-compile)
|
$(objpfx)rtld-%.os: rtld-%.c $(before-compile)
|
||||||
$(compile-command.c) $(rtld-CPPFLAGS)
|
$(rtld-compile-command.c)
|
||||||
$(objpfx)rtld-%.os: %.S $(before-compile)
|
$(objpfx)rtld-%.os: %.S $(before-compile)
|
||||||
$(compile-command.S) $(rtld-CPPFLAGS)
|
$(rtld-compile-command.S)
|
||||||
$(objpfx)rtld-%.os: %.s $(before-compile)
|
$(objpfx)rtld-%.os: %.s $(before-compile)
|
||||||
$(compile-command.s) $(rtld-CPPFLAGS)
|
$(rtld-compile-command.s)
|
||||||
$(objpfx)rtld-%.os: %.c $(before-compile)
|
$(objpfx)rtld-%.os: %.c $(before-compile)
|
||||||
$(compile-command.c) $(rtld-CPPFLAGS)
|
$(rtld-compile-command.c)
|
||||||
|
|
||||||
# The rules for generated source files.
|
# The rules for generated source files.
|
||||||
$(objpfx)rtld-%.os: $(objpfx)rtld-%.S $(before-compile); $(compile-command.S)
|
$(objpfx)rtld-%.os: $(objpfx)rtld-%.S $(before-compile)
|
||||||
$(objpfx)rtld-%.os: $(objpfx)rtld-%.s $(before-compile); $(compile-command.s)
|
$(rtld-compile-command.S)
|
||||||
$(objpfx)rtld-%.os: $(objpfx)rtld-%.c $(before-compile); $(compile-command.c)
|
$(objpfx)rtld-%.os: $(objpfx)rtld-%.s $(before-compile)
|
||||||
$(objpfx)rtld-%.os: $(objpfx)%.S $(before-compile); $(compile-command.S)
|
$(rtld-compile-command.s)
|
||||||
$(objpfx)rtld-%.os: $(objpfx)%.s $(before-compile); $(compile-command.s)
|
$(objpfx)rtld-%.os: $(objpfx)rtld-%.c $(before-compile)
|
||||||
$(objpfx)rtld-%.os: $(objpfx)%.c $(before-compile); $(compile-command.c)
|
$(rtld-compile-command.c)
|
||||||
|
$(objpfx)rtld-%.os: $(objpfx)%.S $(before-compile)
|
||||||
|
$(rtld-compile-command.S)
|
||||||
|
$(objpfx)rtld-%.os: $(objpfx)%.s $(before-compile)
|
||||||
|
$(rtld-compile-command.s)
|
||||||
|
$(objpfx)rtld-%.os: $(objpfx)%.c $(before-compile)
|
||||||
|
$(rtld-compile-command.c)
|
||||||
|
|
||||||
# The command line setting of rtld-modules (see above) tells us
|
# The command line setting of rtld-modules (see above) tells us
|
||||||
# what we need to build, and that tells us what dependency files we need.
|
# what we need to build, and that tells us what dependency files we need.
|
||||||
|
|
Loading…
Reference in New Issue