From 93db03bad78649b9776ee0275f9d0f7f8de8946b Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Fri, 16 Dec 2016 19:17:51 +0100 Subject: [PATCH] u-boot-fw-utils: rework patch from meta-swupdate with higher precedence The patch with the same name in 'meta-swupdate' fails to apply cleanly after the patches we have done in meta-digi. So add here a version of the patch that applies cleanly and with higher precedence in the search path (using 'dey' distro override). https://jira.digi.com/browse/DEL-3355 Signed-off-by: Javier Viguera --- ...env-tools-to-be-available-as-library.patch | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 meta-digi-arm/recipes-bsp/u-boot/u-boot-fw-utils/dey/0001-Allow-fw-env-tools-to-be-available-as-library.patch diff --git a/meta-digi-arm/recipes-bsp/u-boot/u-boot-fw-utils/dey/0001-Allow-fw-env-tools-to-be-available-as-library.patch b/meta-digi-arm/recipes-bsp/u-boot/u-boot-fw-utils/dey/0001-Allow-fw-env-tools-to-be-available-as-library.patch new file mode 100644 index 000000000..527d16070 --- /dev/null +++ b/meta-digi-arm/recipes-bsp/u-boot/u-boot-fw-utils/dey/0001-Allow-fw-env-tools-to-be-available-as-library.patch @@ -0,0 +1,27 @@ +From: Stefano Babic +Date: Mon, 22 Jun 2015 14:58:24 +0200 +Subject: [PATCH] Allow fw env tools to be available as library + +Signed-off-by: Stefano Babic +--- + tools/env/Makefile | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/tools/env/Makefile b/tools/env/Makefile +index de4766ddf8dd..fa2a564bb357 100644 +--- a/tools/env/Makefile ++++ b/tools/env/Makefile +@@ -23,10 +23,12 @@ endif + always := fw_printenv + hostprogs-y := fw_printenv + +-fw_printenv-objs := fw_env.o fw_env_main.o \ ++lib-y += fw_env.o \ + crc32.o ctype.o linux_string.o \ + env_attr.o env_flags.o aes.o ../../lib/md5.o + ++fw_printenv-objs := fw_env_main.o $(lib-y) ++ + quiet_cmd_crosstools_strip = STRIP $^ + cmd_crosstools_strip = $(STRIP) $^; touch $@ +