(tests): Don't depend on $(objpfx)tst-pathopt.out for cross-compiling. ($(objpfx)tst-pathopt.out):Undo the last change.
This commit is contained in:
parent
0cdd0c51b6
commit
8c0fe29004
|
@ -246,8 +246,10 @@ test-modules = $(addprefix $(objpfx),$(addsuffix .so,$(strip $(modules-names))))
|
||||||
generated += $(addsuffix .so,$(strip $(modules-names)))
|
generated += $(addsuffix .so,$(strip $(modules-names)))
|
||||||
|
|
||||||
ifeq (yes,$(build-shared))
|
ifeq (yes,$(build-shared))
|
||||||
|
ifeq ($(cross-compiling),no)
|
||||||
tests: $(objpfx)tst-pathopt.out
|
tests: $(objpfx)tst-pathopt.out
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
$(objpfx)testobj1.so: $(libdl)
|
$(objpfx)testobj1.so: $(libdl)
|
||||||
$(objpfx)testobj1_1.so: $(objpfx)testobj1.so $(libdl)
|
$(objpfx)testobj1_1.so: $(objpfx)testobj1.so $(libdl)
|
||||||
|
@ -389,11 +391,9 @@ $(objpfx)lateglobal: $(libdl)
|
||||||
$(objpfx)lateglobal.out: $(objpfx)ltglobmod1.so $(objpfx)ltglobmod2.so
|
$(objpfx)lateglobal.out: $(objpfx)ltglobmod1.so $(objpfx)ltglobmod2.so
|
||||||
|
|
||||||
$(objpfx)tst-pathopt: $(libdl)
|
$(objpfx)tst-pathopt: $(libdl)
|
||||||
ifeq ($(cross-compiling),no)
|
|
||||||
$(objpfx)tst-pathopt.out: tst-pathopt.sh $(objpfx)tst-pathopt \
|
$(objpfx)tst-pathopt.out: tst-pathopt.sh $(objpfx)tst-pathopt \
|
||||||
$(objpfx)pathoptobj.so
|
$(objpfx)pathoptobj.so
|
||||||
$(SHELL) -e $< $(common-objpfx)
|
$(SHELL) -e $< $(common-objpfx)
|
||||||
endif
|
|
||||||
|
|
||||||
$(objpfx)initfirst: $(libdl)
|
$(objpfx)initfirst: $(libdl)
|
||||||
$(objpfx)initfirst.out: $(objpfx)firstobj.so
|
$(objpfx)initfirst.out: $(objpfx)firstobj.so
|
||||||
|
|
Loading…
Reference in New Issue