diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2015-02-20 23:11:36 -0500 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2015-02-20 23:33:20 -0500 |
commit | 9dc5fd6367b2fc66766dc86c5283555d14bae778 (patch) | |
tree | bb53184ea884ca5de41fc9bbd767f93e12ac061b /recipes-networking/openvswitch | |
parent | 1402e2a5b9fe9dda79e7a2ce3a854732981c3d1e (diff) | |
download | meta-virtualization-9dc5fd6367b2fc66766dc86c5283555d14bae778.tar.gz |
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 <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-networking/openvswitch')
-rw-r--r-- | recipes-networking/openvswitch/openvswitch_git.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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} | |||
32 | # Don't compile kernel modules by default since it heavily depends on | 32 | # Don't compile kernel modules by default since it heavily depends on |
33 | # kernel version. Use the in-kernel module for now. | 33 | # kernel version. Use the in-kernel module for now. |
34 | # distro layers can enable with EXTRA_OECONF_pn_openvswitch += "" | 34 | # distro layers can enable with EXTRA_OECONF_pn_openvswitch += "" |
35 | EXTRA_OECONF += "--with-linux=${STAGING_KERNEL_DIR} KARCH=${TARGET_ARCH}" | 35 | # EXTRA_OECONF += "--with-linux=${STAGING_KERNEL_BUILDDIR} --with-linux-source=${STAGING_KERNEL_DIR} KARCH=${TARGET_ARCH}" |
36 | 36 | ||
37 | # silence a warning | 37 | # silence a warning |
38 | FILES_${PN} += "/lib/modules" | 38 | FILES_${PN} += "/lib/modules" |