summaryrefslogtreecommitdiffstats
path: root/recipes-networking/dpdk/files/maketest.patch
diff options
context:
space:
mode:
authorAdrian Dudau <adrian.dudau@enea.com>2014-06-26 11:48:23 (GMT)
committerAdrian Dudau <adrian.dudau@enea.com>2014-06-26 11:48:23 (GMT)
commit1b6242fc583a6b871304fb995af6dc211b58f69b (patch)
treeb5d434d90dedae24792906aa304897c23a134386 /recipes-networking/dpdk/files/maketest.patch
downloadmeta-ip-1b6242fc583a6b871304fb995af6dc211b58f69b.tar.gz
initial commit for Enea Linux 4.0daisy-enea
Migrated from the internal git server on the daisy-enea branch Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'recipes-networking/dpdk/files/maketest.patch')
-rw-r--r--recipes-networking/dpdk/files/maketest.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/recipes-networking/dpdk/files/maketest.patch b/recipes-networking/dpdk/files/maketest.patch
new file mode 100644
index 0000000..cae679a
--- /dev/null
+++ b/recipes-networking/dpdk/files/maketest.patch
@@ -0,0 +1,41 @@
1Update test makefiles.
2
3Signed-off-by: Costin Popescu <costin.popescu@enea.com>
4Upstream-Status: Pending
5
6diff --git a/mk/rte.sdkroot.mk b/mk/rte.sdkroot.mk
7index 29af6a5..59bf972 100644
8--- a/mk/rte.sdkroot.mk
9+++ b/mk/rte.sdkroot.mk
10@@ -101,6 +101,10 @@ testall:
11 install uninstall:
12 $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkinstall.mk $@
13
14+.PHONY: test-install
15+test-install:
16+ $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdktest.mk $@
17+
18 .PHONY: doc help
19 doc: doc-all
20 help: doc-help
21diff --git a/mk/rte.sdktest.mk b/mk/rte.sdktest.mk
22index b2c043e..015aab5 100644
23--- a/mk/rte.sdktest.mk
24+++ b/mk/rte.sdktest.mk
25@@ -82,3 +82,16 @@ coverage:
26 else \
27 echo "No test found, please do a 'make build' first, or specify O=" ;\
28 fi
29+
30+test-install:
31+ install -d $(TEST_DESTDIR)/app/test
32+ install -d $(TEST_DESTDIR)/mk
33+ install -d $(TEST_DESTDIR)/$(TARGET_ARCH)-default-linuxapp-gcc
34+ install -d $(TEST_DESTDIR)/$(TARGET_ARCH)-default-linuxapp-gcc/app
35+ install $(DPDK_SRC_PATH)/$(TARGET_ARCH)-default-linuxapp-gcc/.config $(TEST_DESTDIR)/$(TARGET_ARCH)-default-linuxapp-gcc
36+ install $(DPDK_SRC_PATH)/$(TARGET_ARCH)-default-linuxapp-gcc/Makefile $(TEST_DESTDIR)/$(TARGET_ARCH)-default-linuxapp-gcc
37+ install $(DPDK_PATH)/$(TARGET_ARCH)-default-linuxapp-gcc/app/* $(TEST_DESTDIR)/$(TARGET_ARCH)-default-linuxapp-gcc/app/
38+ install $(DPDK_SRC_PATH)/app/test/*.py $(TEST_DESTDIR)/app/test
39+ install $(DPDK_SRC_PATH)/Makefile $(TEST_DESTDIR)
40+ cp -r $(DPDK_SRC_PATH)/mk/* $(TEST_DESTDIR)/mk
41+ echo "make test O=$(TARGET_ARCH)-default-linuxapp-gcc" >> $(TEST_DESTDIR)/maketest