diff --git a/target/oss/patches/dpdk/update_config.diff b/target/oss/patches/dpdk/update_config.diff index e5352682..4f37509e 100644 --- a/target/oss/patches/dpdk/update_config.diff +++ b/target/oss/patches/dpdk/update_config.diff @@ -1,8 +1,26 @@ +diff --git a/config/x86/meson.build b/config/x86/meson.build +index adc857b..d2ed053 100644 +--- a/config/x86/meson.build ++++ b/config/x86/meson.build +@@ -28,7 +28,7 @@ endforeach + + optional_flags = ['AES', 'PCLMUL', + 'AVX', 'AVX2', 'AVX512F', +- 'RDRND', 'RDSEED'] ++ 'RDRND'] + foreach f:optional_flags + if cc.get_define('__@0@__'.format(f), args: machine_args) == '1' + if f == 'PCLMUL' # special case flags with different defines diff --git a/meson_options.txt b/meson_options.txt -index 9bf18ab..10f2aa8 100644 +index 9bf18ab..45720ab 100644 --- a/meson_options.txt +++ b/meson_options.txt -@@ -26,9 +26,9 @@ option('machine', type: 'string', value: 'native', +@@ -22,13 +22,13 @@ option('kernel_dir', type: 'string', value: '', + description: 'Path to the kernel for building kernel modules. Headers must be in $kernel_dir/build. Modules will be installed in $DEST_DIR/$kernel_dir/extra/dpdk.') + option('lib_musdk_dir', type: 'string', value: '', + description: 'path to the MUSDK library installation directory') +-option('machine', type: 'string', value: 'native', ++option('machine', type: 'string', value: 'generic', description: 'set the target machine type') option('max_ethports', type: 'integer', value: 32, description: 'maximum number of Ethernet devices')