[meta-intel] [meta-isg][fido][master][PATCH] meta-isg: dpdk: fix incorrect config fix-up patch and also tidy up dpdk.inc
Darren Hart
dvhart at linux.intel.com
Mon Jul 27 10:47:01 PDT 2015
On 7/27/15 4:14 AM, chia.chuan.wu at intel.com wrote:
> From: Ong Boon Leong <boon.leong.ong at intel.com>
>
> This patch fixes issue in build configuration variables that were not correctly
> parsed by do_configure() task. The environment variables introduced by below
> patches, $(DPDK_TARGET_MACH) & $(CONFIG_VHOST_ENABLED) are not evaluated
> because the config files under dpdk/config/ folder are not parsed by Makefile but
> instead by cpp compiler.
>
> dpdk/dpdk-1.8.0-and-2.0.0-dpdk-defconfig-select-RTE_MACHINE-type.patch
> dpdk/dpdk-1.8.0-dpdk-enable-build-config-VHOST-in-common_linuxapp-config.patch
> dpdk/dpdk-2.0.0-dpdk-enable-VHOST-and-ip_fragmentation-in-common_linuxapp.patch
>
> Thanks to Anuj Mittal for detecting the issue above.
>
> So, we fix the above issues by using sed command to fix-up the right values as follow
>
> 1) Override the value of CONFIG_RTE_MACHINE based on MACHINE_ARCH at
> config/defconfig_x86_64-native-linuxapp-gcc
> config/defconfig_i686-native-linuxapp-gcc
>
> 2) Override the value of CONFIG_RTE_KNI_VHOST, CONFIG_RTE_KNI_VHOST_VNET_HDR_EN and
> CONFIG_RTE_LIBRTE_VHOST based on PACKAGECONFIG[vhost] at
> config/common_linuxapp
>
> Since we are here, we also take opportunity to tidy up dpdk.inc by integrating common
> recipe from dpdk_1.8.0.bb & dpdpk_2.0.0.bb
This is at least 2 distinct functional changes and should be made as
separate commits. At the very least, please separate the .inc common
changes into their own patch.
--
Darren Hart
Intel Open Source Technology Center
More information about the meta-intel
mailing list