diff options
author | Ming Liu <ming.liu@toradex.com> | 2020-06-02 11:02:13 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2020-06-02 22:59:42 +0200 |
commit | 705474d450a4a81faf385d77e6c8144fe0b3f1a3 (patch) | |
tree | e37f14a4f7749bf85b460c6b33b70ef4bdf8ab30 /recipes-bsp/u-boot/files/default-gcc.patch | |
parent | 677cc78161fe18b5e922f9928b5fc11cad014caa (diff) |
u-boot: drop some useless patches
They are not needed any more since we upgraded to 2019.07.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit 8048bf5cd90a923f6879f1ba714c22e3736fc245)
Diffstat (limited to 'recipes-bsp/u-boot/files/default-gcc.patch')
-rw-r--r-- | recipes-bsp/u-boot/files/default-gcc.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/recipes-bsp/u-boot/files/default-gcc.patch b/recipes-bsp/u-boot/files/default-gcc.patch deleted file mode 100644 index 04184df..0000000 --- a/recipes-bsp/u-boot/files/default-gcc.patch +++ /dev/null @@ -1,39 +0,0 @@ -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))) \ |