All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [3rdparty][PATCH 1/2] u-boot-boundary: Bump revision to 0dbffd30b6
@ 2017-11-21 19:34 Fabio Berton
  2017-11-21 19:34 ` [3rdparty][PATCH 2/2] u-boot-boundary-fw-utils: Reuse the same override HOSTCC patch as u-boot-mkimage Fabio Berton
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Berton @ 2017-11-21 19:34 UTC (permalink / raw
  To: meta-freescale

This includes the following changes:

    - 0dbffd30b6 cnt: 1066mhz_4x256mx16.cfg: update calibration for new spin of board
    - 15e746b5ea cmd/fdt.c: align scratch data on dword boundary to avoid unaligned access
    - 7c311ea9bf nitrogen6x: add script linking via next variable/prog_fuses
    - dc31ebc7c1 fuse: make fuse read set an environment variable
    - 9aa7904a39 boundary: add fuse config needed for boards
    - 8054d91315 include/configs/boundary.h: good default for BD_CONSOLE
    - e6c78d3431 nitrogen6_vm: add nitrogen6_vm-pt1g_defconfig

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
---
 recipes-bsp/u-boot/u-boot-boundary-common_2016.03.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-bsp/u-boot/u-boot-boundary-common_2016.03.inc b/recipes-bsp/u-boot/u-boot-boundary-common_2016.03.inc
index cc6b635..1dc609a 100644
--- a/recipes-bsp/u-boot/u-boot-boundary-common_2016.03.inc
+++ b/recipes-bsp/u-boot/u-boot-boundary-common_2016.03.inc
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
 
 PV = "v2016.03+git${SRCPV}"
 
-SRCREV = "568947b9d1dd4e966008fceb4617392a82dc753c"
+SRCREV = "0dbffd30b6a81b53c8a4780490ea625ccbfa5596"
 SRCBRANCH = "boundary-v2016.03"
 SRC_URI = "git://github.com/boundarydevices/u-boot-imx6.git;branch=${SRCBRANCH}"
 
-- 
2.14.2



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [3rdparty][PATCH 2/2] u-boot-boundary-fw-utils: Reuse the same override HOSTCC patch as u-boot-mkimage
  2017-11-21 19:34 [3rdparty][PATCH 1/2] u-boot-boundary: Bump revision to 0dbffd30b6 Fabio Berton
@ 2017-11-21 19:34 ` Fabio Berton
  0 siblings, 0 replies; 2+ messages in thread
From: Fabio Berton @ 2017-11-21 19:34 UTC (permalink / raw
  To: meta-freescale

(From OE-Core rev: 2815f819c1a620949213fa952557c03f7d594ed6)

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
---
 .../u-boot-boundary-fw-utils/default-gcc.patch     | 39 ++++++++++++++++++++++
 .../u-boot/u-boot-boundary-fw-utils_2016.03.bb     |  5 ++-
 2 files changed, 43 insertions(+), 1 deletion(-)
 create mode 100644 recipes-bsp/u-boot/u-boot-boundary-fw-utils/default-gcc.patch

diff --git a/recipes-bsp/u-boot/u-boot-boundary-fw-utils/default-gcc.patch b/recipes-bsp/u-boot/u-boot-boundary-fw-utils/default-gcc.patch
new file mode 100644
index 0000000..04184df
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-boundary-fw-utils/default-gcc.patch
@@ -0,0 +1,39 @@
+OE needs to be able to change the default compiler. If we pass in HOSTCC
+through the make command, it overwrites not only this setting but also the 
+setting in tools/Makefile wrapped in ifneq ($(CROSS_BUILD_TOOLS),) which 
+breaks the build.
+
+We therefore use override to ensure the value of HOSTCC is overwritten when
+needed.
+
+RP: Updated the patch to the version being submitted to upstream u-boot
+
+Upstream-Status: Submitted [emailed to Masahiro Yamada for discussion]
+RP 2017/3/11
+
+Index: git/tools/Makefile
+===================================================================
+--- git.orig/tools/Makefile
++++ git/tools/Makefile
+@@ -262,7 +262,7 @@ $(LICENSE_H): $(obj)/bin2header $(srctre
+ subdir- += env
+ 
+ ifneq ($(CROSS_BUILD_TOOLS),)
+-HOSTCC = $(CC)
++override HOSTCC = $(CC)
+ 
+ quiet_cmd_crosstools_strip = STRIP   $^
+       cmd_crosstools_strip = $(STRIP) $^; touch $@
+Index: git/tools/env/Makefile
+===================================================================
+--- git.orig/tools/env/Makefile
++++ git/tools/env/Makefile
+@@ -8,7 +8,7 @@
+ # fw_printenv is supposed to run on the target system, which means it should be
+ # built with cross tools. Although it may look weird, we only replace "HOSTCC"
+ # with "CC" here for the maximum code reuse of scripts/Makefile.host.
+-HOSTCC = $(CC)
++override HOSTCC = $(CC)
+ 
+ # Compile for a hosted environment on the target
+ HOST_EXTRACFLAGS  = $(patsubst -I%,-idirafter%, $(filter -I%, $(UBOOTINCLUDE))) \
diff --git a/recipes-bsp/u-boot/u-boot-boundary-fw-utils_2016.03.bb b/recipes-bsp/u-boot/u-boot-boundary-fw-utils_2016.03.bb
index 2f8c75e..fa0718b 100644
--- a/recipes-bsp/u-boot/u-boot-boundary-fw-utils_2016.03.bb
+++ b/recipes-bsp/u-boot/u-boot-boundary-fw-utils_2016.03.bb
@@ -3,7 +3,10 @@ require u-boot-boundary-common_${PV}.inc
 SUMMARY = "U-Boot bootloader fw_printenv/setenv utilities"
 DEPENDS = "mtd-utils"
 
-SRC_URI += "file://fw_env.config"
+SRC_URI += " \
+   file://default-gcc.patch \
+   file://fw_env.config \
+"
 
 INSANE_SKIP_${PN} = "already-stripped"
 EXTRA_OEMAKE_class-target = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${CC} ${CFLAGS} ${LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" V=1'
-- 
2.14.2



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-11-21 19:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-21 19:34 [3rdparty][PATCH 1/2] u-boot-boundary: Bump revision to 0dbffd30b6 Fabio Berton
2017-11-21 19:34 ` [3rdparty][PATCH 2/2] u-boot-boundary-fw-utils: Reuse the same override HOSTCC patch as u-boot-mkimage Fabio Berton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.