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>
This commit is contained in:
Ong Boon Leong 2015-07-10 21:23:41 +08:00 committed by Saul Wold
parent 1394f5835b
commit c36d3bffd1

View File

@ -46,7 +46,7 @@ do_install () {
${D}/${INSTALL_PATH}/${RTE_TARGET}/app \
${D}/${INSTALL_PATH}/${RTE_TARGET}/hostapp \
${D}${includedir} \
${D}${includedir}/arch \
${D}${includedir}/${ARCHDIR} \
${D}${includedir}/exec-env \
${D}${libdir} \
${D}${MODULE_DIR}
@ -57,7 +57,7 @@ do_install () {
install -m 640 ${S}/${RTE_TARGET}/.config ${D}/${INSTALL_PATH}/${RTE_TARGET}/
install -m 640 ${S}/${RTE_TARGET}/include/*.h ${D}${includedir}/
install -m 640 ${S}/${RTE_TARGET}/include/arch/*.h ${D}${includedir}/arch/
install -m 640 ${S}/${RTE_TARGET}/include/${ARCHDIR}/*.h ${D}${includedir}/${ARCHDIR}/
install -m 640 ${S}/${RTE_TARGET}/include/exec-env/*.h ${D}${includedir}/exec-env/
install -m 0755 ${S}/tools/*.py ${D}/${INSTALL_PATH}/tools/
@ -94,7 +94,7 @@ FILES_${PN}-doc += "\
FILES_${PN}-dev += " \
${INSTALL_PATH}/${RTE_TARGET}/.config \
${includedir} \
${includedir}/arch \
${includedir}/${ARCHDIR} \
${includedir}/exec-env \
"