mirror of
git://git.yoctoproject.org/meta-freescale.git
synced 2025-10-22 23:02:20 +02:00

Replace do_compile() with EXTRA_OEMAKE: - The cd ${S} is redundant - The clean operation is already done in do_configure() - The two steps building the bin and mkimage_mx8 are the default behavior of the top-level Makefile with target mkimage_mx8 Drop redundant cd ${S} in do_install(). Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
24 lines
758 B
BlitzBasic
24 lines
758 B
BlitzBasic
# Copyright (C) 2016 Freescale Semiconductor
|
|
# Copyright (C) 2017-2022 NXP
|
|
|
|
require imx-mkimage_git.inc
|
|
|
|
DESCRIPTION = "i.MX make image"
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6"
|
|
SECTION = "BSP"
|
|
|
|
inherit deploy native
|
|
|
|
EXTRA_OEMAKE = "SOC=iMX8M mkimage_imx8"
|
|
|
|
CFLAGS = "-O2 -Wall -std=c99 -I ${STAGING_INCDIR} -L ${STAGING_LIBDIR}"
|
|
|
|
do_install() {
|
|
install -d ${D}${bindir}
|
|
install -m 0755 iMX8M/mkimage_imx8 ${D}${bindir}/mkimage_imx8m
|
|
install -m 0755 iMX8M/mkimage_fit_atf.sh ${D}${bindir}/mkimage_fit_atf.sh
|
|
install -m 0755 iMX8M/print_fit_hab.sh ${D}${bindir}/print_fit_hab.sh
|
|
install -m 0755 mkimage_imx8 ${D}${bindir}/mkimage_imx8
|
|
}
|