sgpio: Pass CFLAGS to make

Ensures all compiler options are passed to build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit eb0878eccf)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Khem Raj 2023-05-25 22:00:18 -07:00 committed by Armin Kuster
parent 6609c87eaf
commit 70e1acc999

View File

@ -14,6 +14,7 @@ S = "${WORKDIR}/${BPN}"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://LICENSE_GPL;md5=393a5ca445f6965873eca0259a17f833"
EXTRA_OEMAKE = "CFLAGS='${CFLAGS}'"
do_compile:prepend() {
oe_runmake clean
}