summaryrefslogtreecommitdiffstats
path: root/meta-isg
diff options
context:
space:
mode:
authorOng Boon Leong <boon.leong.ong@intel.com>2015-07-10 13:23:41 (GMT)
committerSaul Wold <sgw@linux.intel.com>2015-07-10 15:16:04 (GMT)
commitc36d3bffd15923ba89137e9d4bed2caed9d6c016 (patch)
tree4d2f898e6c920cac1b9fb53eb6d4c5c9c3652c13 /meta-isg
parent1394f5835b4e31fe167fcab130978ee3916817c3 (diff)
downloadmeta-intel-c36d3bffd15923ba89137e9d4bed2caed9d6c016.tar.gz
meta-isg: dpdk: introduce ARCHDIR variable to dpdk.inc
Starting from DPDK v1.8 onwards, there is name change from include/arch to include/generic under build directory. So to cater for such change, we introduce ARCHDIR variable. This variable should be set under individual version of dpdk recipe. Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta-isg')
-rw-r--r--meta-isg/common/recipes-extended/dpdk/dpdk.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-isg/common/recipes-extended/dpdk/dpdk.inc b/meta-isg/common/recipes-extended/dpdk/dpdk.inc
index 910feb4..1d985ff 100644
--- a/meta-isg/common/recipes-extended/dpdk/dpdk.inc
+++ b/meta-isg/common/recipes-extended/dpdk/dpdk.inc
@@ -46,7 +46,7 @@ do_install () {
46 ${D}/${INSTALL_PATH}/${RTE_TARGET}/app \ 46 ${D}/${INSTALL_PATH}/${RTE_TARGET}/app \
47 ${D}/${INSTALL_PATH}/${RTE_TARGET}/hostapp \ 47 ${D}/${INSTALL_PATH}/${RTE_TARGET}/hostapp \
48 ${D}${includedir} \ 48 ${D}${includedir} \
49 ${D}${includedir}/arch \ 49 ${D}${includedir}/${ARCHDIR} \
50 ${D}${includedir}/exec-env \ 50 ${D}${includedir}/exec-env \
51 ${D}${libdir} \ 51 ${D}${libdir} \
52 ${D}${MODULE_DIR} 52 ${D}${MODULE_DIR}
@@ -57,7 +57,7 @@ do_install () {
57 57
58 install -m 640 ${S}/${RTE_TARGET}/.config ${D}/${INSTALL_PATH}/${RTE_TARGET}/ 58 install -m 640 ${S}/${RTE_TARGET}/.config ${D}/${INSTALL_PATH}/${RTE_TARGET}/
59 install -m 640 ${S}/${RTE_TARGET}/include/*.h ${D}${includedir}/ 59 install -m 640 ${S}/${RTE_TARGET}/include/*.h ${D}${includedir}/
60 install -m 640 ${S}/${RTE_TARGET}/include/arch/*.h ${D}${includedir}/arch/ 60 install -m 640 ${S}/${RTE_TARGET}/include/${ARCHDIR}/*.h ${D}${includedir}/${ARCHDIR}/
61 install -m 640 ${S}/${RTE_TARGET}/include/exec-env/*.h ${D}${includedir}/exec-env/ 61 install -m 640 ${S}/${RTE_TARGET}/include/exec-env/*.h ${D}${includedir}/exec-env/
62 install -m 0755 ${S}/tools/*.py ${D}/${INSTALL_PATH}/tools/ 62 install -m 0755 ${S}/tools/*.py ${D}/${INSTALL_PATH}/tools/
63 63
@@ -94,7 +94,7 @@ FILES_${PN}-doc += "\
94FILES_${PN}-dev += " \ 94FILES_${PN}-dev += " \
95 ${INSTALL_PATH}/${RTE_TARGET}/.config \ 95 ${INSTALL_PATH}/${RTE_TARGET}/.config \
96 ${includedir} \ 96 ${includedir} \
97 ${includedir}/arch \ 97 ${includedir}/${ARCHDIR} \
98 ${includedir}/exec-env \ 98 ${includedir}/exec-env \
99 " 99 "
100 100