From 9dc5fd6367b2fc66766dc86c5283555d14bae778 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Fri, 20 Feb 2015 23:11:36 -0500 Subject: openvswitch: don't pass kernel source or build artifacts Like the previous versions of OVS, we rely on the virtual/kernel provider to build the appropriate modules. Passing the --with-linux and --with-linux-source breaks builds when the split source/build/build-artifacts are not as expected (and modules are attempted to be built from the wrong directory). To fix this, we simply don't enable those options, and all is well. Signed-off-by: Bruce Ashfield --- recipes-networking/openvswitch/openvswitch_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-networking/openvswitch/openvswitch_git.bb b/recipes-networking/openvswitch/openvswitch_git.bb index 525651dd..13d61655 100644 --- a/recipes-networking/openvswitch/openvswitch_git.bb +++ b/recipes-networking/openvswitch/openvswitch_git.bb @@ -32,7 +32,7 @@ PACKAGECONFIG[dpdk] = "--with-dpdk=${STAGING_DIR_TARGET}/opt/dpdk/${TARGET_ARCH} # Don't compile kernel modules by default since it heavily depends on # kernel version. Use the in-kernel module for now. # distro layers can enable with EXTRA_OECONF_pn_openvswitch += "" -EXTRA_OECONF += "--with-linux=${STAGING_KERNEL_DIR} KARCH=${TARGET_ARCH}" +# EXTRA_OECONF += "--with-linux=${STAGING_KERNEL_BUILDDIR} --with-linux-source=${STAGING_KERNEL_DIR} KARCH=${TARGET_ARCH}" # silence a warning FILES_${PN} += "/lib/modules" -- cgit v1.2.3-54-g00ecf