Message ID | 20250107022141.81185-1-preeti.sachan@intel.com |
---|---|
State | New |
Headers | show |
Series | [meta-oe,scarthgap] bpftool: fix libelf.h not found error | expand |
diff --git a/meta-oe/recipes-kernel/bpftool/bpftool.bb b/meta-oe/recipes-kernel/bpftool/bpftool.bb index 8bddde945..ec778c6e7 100644 --- a/meta-oe/recipes-kernel/bpftool/bpftool.bb +++ b/meta-oe/recipes-kernel/bpftool/bpftool.bb @@ -14,7 +14,7 @@ EXTRA_OEMAKE = "\ -C ${S}/tools/bpf/bpftool \ O=${B} \ CROSS=${TARGET_PREFIX} \ - CC="${CC} ${DEBUG_PREFIX_MAP} -fdebug-prefix-map=${STAGING_KERNEL_DIR}=${KERNEL_SRC_PATH}" \ + CC="${CC} ${DEBUG_PREFIX_MAP} -fdebug-prefix-map=${STAGING_KERNEL_DIR}=${KERNEL_SRC_PATH} ${CFLAGS}" \ HOSTCC="${BUILD_CC} ${BUILD_CFLAGS}" \ LD="${LD}" \ AR=${AR} \