On Wed, 2014-04-16 at 16:02 +0200, Gerhard Sittig wrote:
> 
> Just did a quick test with U-Boot v2014.04.  To build this
> version, the configure step is required as well (mandatory now,
> even when building the tools exclusively).
> 
> For better demonstration of the changes I will cite the diff here
> between the 2014.01 and the 2014.04 recipes instead of submitting
> the complete recipe file.  Things build fine, the
> './tmp/sysroots/x86_64-linux/usr/bin/mkimage --help' command is
> operational.  Haven't built another kernel yet, as this is
> painfully time consuming.
> 
> Marek, as you are "mxs aware", can you check whether the
> resulting native binaries fit your purposes?  Or whether we need
> to configure for mx28, since this is forced in EXTRA_OEMAKE, too?

Of course I missed to attach the files.


virtually yours
Gerhard Sittig
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr. 5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: [email protected]
this is the result of

  diff -uwb -p meta-eldk/recipes-bsp/uboot/u-boot-mkimage_2014.0[14].bb

to demonstrate both fixing the tools build issue (OpenSSL headers
not found since the sysroot spec gets lost) as well as upgrading
to more recent U-Boot versions with Kbuild support

--- meta-eldk/recipes-bsp/uboot/u-boot-mkimage_2014.01.bb
+++ meta-eldk/recipes-bsp/uboot/u-boot-mkimage_2014.04.bb
@@ -4,17 +4,17 @@ LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://README;beginline=1;endline=22;md5=2687c5ebfd9cb284491c3204b726ea29"
 SECTION = "bootloader"
 
-PR = "r1"
-PV = "v2014.01+git${SRCPV}"
+PR = "r0"
+PV = "v2014.04+git${SRCPV}"
 
 # We must depend on OpenSSL in case we build mkimage with MXS image or
 # signed image support. As we do build at least MXS image support, make
 # sure we depend on OpenSSL.
 DEPENDS += "openssl"
 
-# This revision corresponds to the tag "v2014.01"
+# This revision corresponds to the "v2014.04" tag
 # We use the revision in order to avoid having to fetch it from the repo during parse
-SRCREV = "b44bd2c73c4cfb6e3b9e7f8cf987e8e39aa74a0b"
+SRCREV = "dda0dbfc69f3d560c87f5be85f127ed862ea6721"
 
 SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
 
@@ -22,12 +22,16 @@ S = "${WORKDIR}/git"
 
 BBCLASSEXTEND = "native nativesdk"
 
-EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" HOSTCC="${CC} ${CFLAGS}" HOSTLD="${LD}" HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true'
+EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" HOSTCC="${CC}" HOSTCFLAGS="${CFLAGS}" HOSTLD="${LD}" HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true'
 
 # Make sure the MXS-specific tools will build. This encomprises both
 # tools/mxsboot as well as tools/mkimage with MXS image support.
 EXTRA_OEMAKE += " CONFIG_MX28=y"
 
+do_configure_append() {
+	oe_runmake sandbox_config
+}
+
 do_compile () {
   oe_runmake tools
 }
_______________________________________________
eldk mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/eldk

Reply via email to