[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

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
+HOST_BUILD_DEPENDS:=confuse/host pkg-config/host
+include $(INCLUDE_DIR)/host-build.mk
+define Host/Install
+	+$(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR) install
+$(eval $(call HostBuild))
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list