kumquat-buildroot/package/axfsutils/axfsutils.mk
Ariel D'Alessandro 653cc68e9f axfsutils: add new package
Tools for building AXFS Filesystem.

The Advanced XIP File System is a Linux kernel filesystem driver that
enables files to be executed directly from flash or ROM memory rather
than being copied into RAM. It has the ability to store individual
*pages* in a file uncompressed/XIP or compressed/Demand Paged.

Source:
	https://github.com/jaredeh/axfs

[Thomas:
 - add hash file.
 - use $(INSTALL) -D -m 0755 instead of cp for installing mkfs.axfs.]

Signed-off-by: Ariel D'Alessandro <ariel@vanguardiasur.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-10-14 23:46:27 +02:00

25 lines
825 B
Makefile

################################################################################
#
# axfsutils
#
################################################################################
AXFSUTILS_VERSION = f26ae785e33df76f658b71ef2cfbc7f511ff875d
AXFSUTILS_SITE = $(call github,jaredeh,axfs,$(AXFSUTILS_VERSION))
AXFSUTILS_LICENSE = GPLv2
AXFSUTILS_LICENSE_FILES = mkfs.axfs-legacy/COPYING
AXFSUTILS_DEPENDENCIES = host-zlib
# The 'new' mkfs.axfs version requires GNUstep which is not a buildroot
# prerequisite. The 'legacy' one works just as well without that requirement.
define HOST_AXFSUTILS_BUILD_CMDS
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)/mkfs.axfs-legacy
endef
define HOST_AXFSUTILS_INSTALL_CMDS
$(INSTALL) -D -m 0755 $(@D)/mkfs.axfs-legacy/mkfs.axfs \
$(HOST_DIR)/usr/bin/mkfs.axfs
endef
$(eval $(host-generic-package))