Makefile.target (5c24bce3056ff209a1ecc50ff4b7e65b85ad8e74) Makefile.target (c17a386b6afe608086aa4d260e29662865680b7f)
1# -*- Mode: makefile -*-
2#
3# TCG tests
4#
5# These are complicated by the fact we want to build them for guest
6# systems. This requires knowing what guests we are building and which
7# ones we have cross-compilers for or docker images with
8# cross-compilers.

--- 115 unchanged lines hidden (view full) ---

124
125RUN_TESTS=$(patsubst %,run-%, $(TESTS))
126
127# If plugins exist also include those in the tests
128ifeq ($(CONFIG_PLUGIN),y)
129PLUGIN_SRC=$(SRC_PATH)/tests/plugin
130PLUGIN_LIB=../../plugin
131VPATH+=$(PLUGIN_LIB)
1# -*- Mode: makefile -*-
2#
3# TCG tests
4#
5# These are complicated by the fact we want to build them for guest
6# systems. This requires knowing what guests we are building and which
7# ones we have cross-compilers for or docker images with
8# cross-compilers.

--- 115 unchanged lines hidden (view full) ---

124
125RUN_TESTS=$(patsubst %,run-%, $(TESTS))
126
127# If plugins exist also include those in the tests
128ifeq ($(CONFIG_PLUGIN),y)
129PLUGIN_SRC=$(SRC_PATH)/tests/plugin
130PLUGIN_LIB=../../plugin
131VPATH+=$(PLUGIN_LIB)
132PLUGINS=$(filter-out liblockstep.so,\
133 $(patsubst %.c, lib%.so, $(notdir $(wildcard $(PLUGIN_SRC)/*.c))))
132PLUGINS=$(patsubst %.c, lib%.so, $(notdir $(wildcard $(PLUGIN_SRC)/*.c)))
134
135# We need to ensure expand the run-plugin-TEST-with-PLUGIN
136# pre-requistes manually here as we can't use stems to handle it. We
137# also add some special helpers the run-plugin- rules can use bellow.
138
139$(foreach p,$(PLUGINS), \
140 $(foreach t,$(TESTS),\
141 $(eval run-plugin-$(t)-with-$(p): $t $p) \

--- 44 unchanged lines hidden ---
133
134# We need to ensure expand the run-plugin-TEST-with-PLUGIN
135# pre-requistes manually here as we can't use stems to handle it. We
136# also add some special helpers the run-plugin- rules can use bellow.
137
138$(foreach p,$(PLUGINS), \
139 $(foreach t,$(TESTS),\
140 $(eval run-plugin-$(t)-with-$(p): $t $p) \

--- 44 unchanged lines hidden ---