2015-10-14 21:51:25 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# axfsutils
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-06-05 19:51:54 +02:00
|
|
|
AXFSUTILS_VERSION = 64886703fdff6cfc64eb20fbe7d7295bbeec867b
|
2015-10-14 21:51:25 +02:00
|
|
|
AXFSUTILS_SITE = $(call github,jaredeh,axfs,$(AXFSUTILS_VERSION))
|
|
|
|
AXFSUTILS_LICENSE = GPLv2
|
|
|
|
AXFSUTILS_LICENSE_FILES = mkfs.axfs-legacy/COPYING
|
2016-07-03 00:20:31 +02:00
|
|
|
HOST_AXFSUTILS_DEPENDENCIES = host-zlib
|
2015-10-14 21:51:25 +02:00
|
|
|
|
|
|
|
# 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
|
2015-11-13 22:48:47 +01:00
|
|
|
$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D)/mkfs.axfs-legacy
|
2015-10-14 21:51:25 +02:00
|
|
|
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))
|