[OpenWrt-Devel] [PATCH 2/2] genimage: new host package

yegorslists at googlemail.com yegorslists at googlemail.com
Fri Mar 24 04:50:16 EDT 2017


From: Yegor Yefremov <yegorslists at googlemail.com>

genimage is a tool to generate multiple filesystem and flash
images from a given root filesystem tree. genimage is
intended to be run in a fakeroot environment.

Configuration is done in a config file parsed by
libconfuse. Options like the path to tools can be given in
environment variables, the config file or commandline
switches.

Signed-off-by: Yegor Yefremov <yegorslists at googlemail.com>
---
 tools/genimage/Makefile | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 tools/genimage/Makefile

diff --git a/tools/genimage/Makefile b/tools/genimage/Makefile
new file mode 100644
index 0000000..7c8d597
--- /dev/null
+++ b/tools/genimage/Makefile
@@ -0,0 +1,28 @@
+# 
+# Copyright (C) 2017 Yegor Yefremov <yegorslists at googlemail.com>
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=genimage
+PKG_VERSION:=9
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_SOURCE_URL:=http://www.pengutronix.de/software/genimage/download
+PKG_MIRROR_HASH:=69f35af7edf6f4dbdac7a18ddc69dcf38c501e43d8b50c524555754c51479078
+
+HOST_BUILD_PARALLEL:=1
+HOST_BUILD_DEPENDS:=confuse/host pkg-config/host
+
+include $(INCLUDE_DIR)/host-build.mk
+
+HOSTCC := $(HOSTCC_NOCACHE)
+HOSTCXX := $(HOSTCXX_NOCACHE)
+
+define Host/Install
+	+$(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR) install
+endef
+
+$(eval $(call HostBuild))
-- 
2.1.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list