summaryrefslogtreecommitdiff
path: root/package/mke2img/Makefile
blob: 83390b94dbb079f828a8e756b99a40e1d51a1c23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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