X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=app%2Ftest%2FMakefile;h=5be023a04ae8bdb893425639e69f6296da6c93fe;hb=5076209fa6f4affdf93f4d2f23f51a427f64f72b;hp=a4907d59868de3a0c93a7129b5ea7946d630a852;hpb=5129044dce1f85ce4950f31bcf90f3886466f06a;p=deb_dpdk.git diff --git a/app/test/Makefile b/app/test/Makefile index a4907d59..5be023a0 100644 --- a/app/test/Makefile +++ b/app/test/Makefile @@ -33,6 +33,40 @@ include $(RTE_SDK)/mk/rte.vars.mk ifeq ($(CONFIG_RTE_APP_TEST),y) +# default rule +all: + +# Define an externally linked resource. A linked resource is an arbitrary +# file that is linked into the test binary. The application refers to this +# resource by name. The linked generates identifiers beg_ and end_ +# for referencing by the C code. +# +# Parameters: , +define linked_resource +SRCS-y += $(1).res.o +$(1).res.o: $(2) + @ echo ' MKRES $$@' + $Q [ "$$(