diff options
| author | Hiago De Franco <hiago.franco@toradex.com> | 2024-08-28 09:33:03 -0300 |
|---|---|---|
| committer | Hiago De Franco <hiago.franco@toradex.com> | 2024-09-08 11:25:18 +0200 |
| commit | 07931ef7fdf35ca2956481387f8476cd531a9048 (patch) | |
| tree | 1a2e026127064ad59881fbb98c077f9ff0e05d4a /recipes-bsp | |
| parent | fd179116f63cc0a3900c65d752531831bdb1c38c (diff) | |
| download | meta-freescale-07931ef7fdf35ca2956481387f8476cd531a9048.tar.gz | |
imx-oei: move to dynamic-layers and add arm-toolchain
The recipe depends on meta-arm-toolchain, therefore it should be on
dynamic-layers/arm-toolchain folder. Create it and make the necessary
changes for conf/layer.conf.
Fixes: 61beaf5861f2 ("recipes-bsp: introduce imx-oei recipe")
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Diffstat (limited to 'recipes-bsp')
| -rw-r--r-- | recipes-bsp/imx-oei/imx-oei_1.0.0.bb | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/recipes-bsp/imx-oei/imx-oei_1.0.0.bb b/recipes-bsp/imx-oei/imx-oei_1.0.0.bb deleted file mode 100644 index a853a803a..000000000 --- a/recipes-bsp/imx-oei/imx-oei_1.0.0.bb +++ /dev/null | |||
| @@ -1,57 +0,0 @@ | |||
| 1 | SUMMARY = "i.MX Optional Execution Image" | ||
| 2 | |||
| 3 | LICENSE = "GPL-2.0-only" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=59530bdf33659b29e73d4adb9f9f6552" | ||
| 5 | |||
| 6 | INHIBIT_DEFAULT_DEPS = "1" | ||
| 7 | DEPENDS = "gcc-arm-none-eabi-native" | ||
| 8 | |||
| 9 | SRC_URI = "${IMX_OEI_SRC};branch=${SRCBRANCH}" | ||
| 10 | IMX_OEI_SRC ?= "git://github.com/nxp-imx/imx-oei.git;protocol=https" | ||
| 11 | SRCBRANCH = "master" | ||
| 12 | SRCREV = "1a572a640ef8d6883e8ca39744cd6d2d5dbed678" | ||
| 13 | |||
| 14 | S = "${WORKDIR}/git" | ||
| 15 | |||
| 16 | inherit deploy | ||
| 17 | |||
| 18 | OEI_CONFIGS ?= "UNDEFINED" | ||
| 19 | OEI_CORE ?= "UNDEFINED" | ||
| 20 | OEI_SOC ?= "UNDEFINED" | ||
| 21 | OEI_BOARD ?= "UNDEFINED" | ||
| 22 | |||
| 23 | LDFLAGS[unexport] = "1" | ||
| 24 | |||
| 25 | EXTRA_OEMAKE = "\ | ||
| 26 | board=${OEI_BOARD} \ | ||
| 27 | DEBUG=1 \ | ||
| 28 | OEI_CROSS_COMPILE=arm-none-eabi-" | ||
| 29 | |||
| 30 | do_configure() { | ||
| 31 | for oei_config in ${OEI_CONFIGS}; do | ||
| 32 | oe_runmake clean oei=$oei_config | ||
| 33 | done | ||
| 34 | } | ||
| 35 | |||
| 36 | do_compile() { | ||
| 37 | for oei_config in ${OEI_CONFIGS}; do | ||
| 38 | oe_runmake oei=$oei_config | ||
| 39 | done | ||
| 40 | } | ||
| 41 | |||
| 42 | do_install() { | ||
| 43 | install -d ${D}/firmware | ||
| 44 | for oei_config in ${OEI_CONFIGS}; do | ||
| 45 | install -m 0644 ${B}/build/${OEI_BOARD}/$oei_config/oei-*.bin ${D}/firmware | ||
| 46 | done | ||
| 47 | } | ||
| 48 | |||
| 49 | addtask deploy after do_install | ||
| 50 | do_deploy() { | ||
| 51 | cp -rf ${D}/firmware/* ${DEPLOYDIR}/ | ||
| 52 | } | ||
| 53 | |||
| 54 | FILES:${PN} = "/firmware" | ||
| 55 | SYSROOT_DIRS += "/firmware" | ||
| 56 | |||
| 57 | COMPATIBLE_MACHINE = "(mx95-generic-bsp)" | ||
