distro/oel: Enable security flags by default
authorOtavio Salvador <otavio@ossystems.com.br>
Thu, 4 Oct 2018 13:24:19 +0000 (10:24 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 4 Oct 2018 13:24:19 +0000 (10:24 -0300)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-bsp/u-boot/u-boot-ossystems-common_2017.09.inc [deleted file]
recipes-bsp/u-boot/u-boot-ossystems-common_2018.09.inc [new file with mode: 0644]
recipes-bsp/u-boot/u-boot-ossystems-mxsboot_2018.09.bb [moved from recipes-bsp/u-boot/u-boot-ossystems-mxsboot_2017.09.bb with 97% similarity]
recipes-bsp/u-boot/u-boot-ossystems_2018.09.bb [moved from recipes-bsp/u-boot/u-boot-ossystems_2017.09.bb with 58% similarity]

diff --git a/recipes-bsp/u-boot/u-boot-ossystems-common_2017.09.inc b/recipes-bsp/u-boot/u-boot-ossystems-common_2017.09.inc
deleted file mode 100644 (file)
index 6784f4d..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-LICENSE = "GPLv2+"
-LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
-
-PV = "v2017.09+git${SRCPV}"
-
-SRCREV = "d5e2dd8a4a39cfc9d910334cea328e05fd54c263"
-SRC_URI = "git://code.ossystems.com.br/bsp/u-boot;protocol=http;branch=${SRCBRANCH}"
-SRCBRANCH = "2017.09+ossystems"
-
-S = "${WORKDIR}/git"
diff --git a/recipes-bsp/u-boot/u-boot-ossystems-common_2018.09.inc b/recipes-bsp/u-boot/u-boot-ossystems-common_2018.09.inc
new file mode 100644 (file)
index 0000000..bbcded3
--- /dev/null
@@ -0,0 +1,14 @@
+# Copyright (C) 2012-2018 O.S. Systems Software LTDA.
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://Licenses/README;md5=30503fd321432fc713238f582193b78e"
+
+SRC_URI = "git://code.ossystems.com.br/bsp/u-boot;protocol=http;branch=${SRCBRANCH}"
+
+SRCREV = "fc3b1aa53b509ff76d6ad8df34a1784fbeafef15"
+SRCBRANCH = "2018.09+ossystems"
+
+PV = "v2018.09+git${SRCPV}"
+
+S = "${WORKDIR}/git"
@@ -3,7 +3,7 @@ require u-boot-ossystems-common_${PV}.inc
 DESCRIPTION = "U-boot bootloader mxsboot tool"
 SECTION = "bootloader"
 
-DEPENDS = "openssl"
+DEPENDS = "bison-native dtc openssl"
 
 PROVIDES = "u-boot-mxsboot"
 
@@ -1,10 +1,14 @@
 require recipes-bsp/u-boot/u-boot.inc
 require u-boot-ossystems-common_${PV}.inc
 
-DEPENDS_append = " dtc-native"
+DESCRIPTION = "U-Boot based fork maintained by O.S. Systems 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 bison-native"
 
 PROVIDES += "u-boot"
-RPROVIDES_${PN} += "u-boot-fslc"
 
 UBOOT_LOGO_BMP ?= "${S}/tools/logos/ossystems.bmp"
 
@@ -15,7 +19,7 @@ EXTRA_OEMAKE += "LOGO_BMP=${UBOOT_LOGO_BMP}"
 #        used for generating the boot logo and other tools used
 #        during the build process.
 EXTRA_OEMAKE += 'HOSTCC="${BUILD_CC} ${BUILD_CPPFLAGS}" \
-                 HOSTLDFLAGS="-L${STAGING_BASE_LIBDIR_NATIVE} -L${STAGING_LIBDIR_NATIVE}" \
+                 HOSTLDFLAGS="${BUILD_LDFLAGS}" \
                  HOSTSTRIP=true'
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"