aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/classes/kernel-openssl.bbclass
blob: 1837b50e44f22fa42f89bf3298c43fea37e950a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
# Hackish because this should be handled in the actual module
# classes (module module-base), a kernel with configurations
# such as CONFIG_MODULE_SIG requires openssl native bits
# to build properly.
DEPENDS += "openssl-native"
do_make_scripts() {
    unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS 
    make HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" HOSTCPP="${BUILD_CPP}" \
        CC="${KERNEL_CC}" LD="${KERNEL_LD}" AR="${KERNEL_AR}" \
	-C ${STAGING_KERNEL_DIR} O=${STAGING_KERNEL_BUILDDIR} scripts
}