[Buildroot] [PATCH v2 1/2] uboot-tools: install libubootenv to staging
Jörg Krause
joerg.krause at embedded.rocks
Mon May 2 08:53:25 UTC 2016
libubootenv is required by swupdate.
Signed-off-by: Jörg Krause <joerg.krause at embedded.rocks>
---
v2:
- install the static library to staging unconditionally (Thomas Petazzoni)
---
package/uboot-tools/uboot-tools.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/uboot-tools/uboot-tools.mk b/package/uboot-tools/uboot-tools.mk
index f47b3db..27d8fdd 100644
--- a/package/uboot-tools/uboot-tools.mk
+++ b/package/uboot-tools/uboot-tools.mk
@@ -9,6 +9,7 @@ UBOOT_TOOLS_SOURCE = u-boot-$(UBOOT_TOOLS_VERSION).tar.bz2
UBOOT_TOOLS_SITE = ftp://ftp.denx.de/pub/u-boot
UBOOT_TOOLS_LICENSE = GPLv2+
UBOOT_TOOLS_LICENSE_FILES = Licenses/gpl-2.0.txt
+UBOOT_TOOLS_INSTALL_STAGING = YES
define UBOOT_TOOLS_CONFIGURE_CMDS
mkdir -p $(@D)/include/config
@@ -58,6 +59,10 @@ define UBOOT_TOOLS_INSTALL_DUMPIMAGE
endef
endif
+define UBOOT_TOOLS_INSTALL_STAGING_CMDS
+ $(INSTALL) -D -m 0755 $(@D)/tools/env/lib.a $(STAGING_DIR)/usr/lib/libubootenv.a
+endef
+
define UBOOT_TOOLS_INSTALL_TARGET_CMDS
$(UBOOT_TOOLS_INSTALL_MKIMAGE)
$(UBOOT_TOOLS_INSTALL_MKENVIMAGE)
--
2.8.2
More information about the buildroot
mailing list