]> code.ossystems Code Review - meta-freescale.git/commitdiff
u-boot-fslc: Add specific bits for u-boot-fslc only
authorFabio Berton <fabio.berton@ossystems.com.br>
Fri, 6 Oct 2017 20:34:40 +0000 (17:34 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 6 Oct 2017 20:40:44 +0000 (17:40 -0300)
  - u-boot-msxboot doesn't use recipes-bsp/u-boot/u-boot.inc, so
    require this file only in recipes that use it.
  - Compatible machine and package arch are needed only for
    u-boot-fslc, once u-boot-fw-utils has cross class and u-boot-mxsboot
    has native class.
  - Add description in u-boot-fslc recipe
  - Drop unused depends for mxs. We don't need to use elftosb, mkimage
    can generate an BootStream for i.MX23 and i.MX28. See u-boot-fslc
    commit 6654f33c9b520bd4073c7f82a13044e79bc1489.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-bsp/u-boot/u-boot-fslc-common_2017.09.inc
recipes-bsp/u-boot/u-boot-fslc_2017.09.bb

index f2b4e83abe903f9c3a4766730b094994ce7bb67e..7bfe331688f4c6071a785cae6ca1ebc839e03857 100644 (file)
@@ -1,20 +1,10 @@
 # Copyright (C) 2012-2017 O.S. Systems Software LTDA.
 # Released under the MIT license (see COPYING.MIT for the terms)
 
-require recipes-bsp/u-boot/u-boot.inc
-
 inherit fsl-u-boot-localversion
 
-DESCRIPTION = "U-Boot based on mainline U-Boot used by FSL Community BSP in \
-order to provide support for some backported features and fixes, or because it \
-was submitted for revision and it takes some time to become part of a stable \
-version, or because it is not applicable for upstreaming."
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
-COMPATIBLE_MACHINE = "(mxs|mx5|mx6|mx7|vf|use-mainline-bsp)"
-
-DEPENDS_append = " dtc-native"
-DEPENDS_mxs += "elftosb-native openssl-native"
 
 SRC_URI = "git://github.com/Freescale/u-boot-fslc.git;branch=${SRCBRANCH}"
 
@@ -24,5 +14,3 @@ SRCBRANCH = "2017.09+fslc"
 PV = "v2017.09+git${SRCPV}"
 
 S = "${WORKDIR}/git"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
index 3aff2fa7ce2e21534fe5605ef3b76dbcca89c2ff..5659e16c142362b859a10ad4a42844698621b95c 100644 (file)
@@ -1,5 +1,13 @@
+require recipes-bsp/u-boot/u-boot.inc
 require u-boot-fslc-common_${PV}.inc
 
+DESCRIPTION = "U-Boot based on mainline U-Boot used by FSL Community BSP in \
+order to provide support for some backported features and fixes, or because it \
+was submitted for revision and it takes some time to become part of a stable \
+version, or because it is not applicable for upstreaming."
+
+DEPENDS_append = " dtc-native"
+
 PROVIDES += "u-boot"
 
 # FIXME: Allow linking of 'tools' binaries with native libraries
@@ -8,3 +16,6 @@ PROVIDES += "u-boot"
 EXTRA_OEMAKE += 'HOSTCC="${BUILD_CC} ${BUILD_CPPFLAGS}" \
                  HOSTLDFLAGS="${BUILD_LDFLAGS}" \
                  HOSTSTRIP=true'
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_MACHINE = "(mxs|mx5|mx6|mx7|vf|use-mainline-bsp)"