mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
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>
This commit is contained in:
parent
1402e2a5b9
commit
9dc5fd6367
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user