summaryrefslogtreecommitdiff
path: root/package/mke2img/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-10 10:53:11 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-10 10:53:34 +0200
commit6b30509e5f9d11529b8bcadc57d82a7c6e853b42 (patch)
treea6c4a7e8f93f72188c4ca603e35371be725e9666 /package/mke2img/Makefile
parent4830c5375683e8a88cb3e8a887dd91e5d4274e07 (diff)
mke2img: add buildroot wrapper
Diffstat (limited to 'package/mke2img/Makefile')
-rw-r--r--package/mke2img/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/mke2img/Makefile b/package/mke2img/Makefile
new file mode 100644
index 000000000..83390b94d
--- /dev/null
+++ b/package/mke2img/Makefile
@@ -0,0 +1,28 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= mke2img
+PKG_VERSION:= 1
+PKG_RELEASE:= 1
+PKG_DESCR:= wrapper for ext2/3/4 filesystem utility
+PKG_SECTION:= sys/fs
+
+NO_DISTFILES:= 1
+
+PKG_CFLINE_MKE2IMG:= depends on ADK_HOST_ONLY
+
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call HOST_template,MKE2IMG,mke2img,$(PKG_VERSION)-${PKG_RELEASE}))
+
+HOST_STYLE:= manual
+
+mke2img-hostinstall:
+ $(INSTALL_DIR) $(STAGING_HOST_DIR)/usr/bin
+ $(INSTALL_BIN) ./files/mke2img $(STAGING_HOST_DIR)/usr/bin
+
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk