2018-04-04 14:54:09 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# abootimg
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-03-25 20:19:11 +01:00
|
|
|
ABOOTIMG_VERSION = 1ebeb393252ab5aeed62e34bc439b6728444f06e
|
|
|
|
ABOOTIMG_SITE = https://gitlab.com/ajs124/abootimg.git
|
|
|
|
ABOOTIMG_SITE_METHOD = git
|
2018-04-04 14:54:09 +02:00
|
|
|
ABOOTIMG_LICENSE = GPL-2.0+
|
|
|
|
ABOOTIMG_LICENSE_FILES = LICENSE
|
|
|
|
|
|
|
|
# depends on libblkid from util-linux
|
|
|
|
ABOOTIMG_DEPENDENCIES = util-linux
|
2020-11-20 23:09:49 +01:00
|
|
|
HOST_ABOOTIMG_DEPENDENCIES = host-util-linux
|
2018-04-04 14:54:09 +02:00
|
|
|
|
|
|
|
define ABOOTIMG_BUILD_CMDS
|
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define ABOOTIMG_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -m 0755 $(@D)/abootimg $(TARGET_DIR)/usr/bin/abootimg
|
|
|
|
endef
|
|
|
|
|
2020-11-19 10:08:53 +01:00
|
|
|
define HOST_ABOOTIMG_BUILD_CMDS
|
|
|
|
$(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define HOST_ABOOTIMG_INSTALL_CMDS
|
2022-07-16 23:04:49 +02:00
|
|
|
$(INSTALL) -m 0755 $(@D)/abootimg $(HOST_DIR)/bin/abootimg
|
2020-11-19 10:08:53 +01:00
|
|
|
endef
|
|
|
|
|
2018-04-04 14:54:09 +02:00
|
|
|
$(eval $(generic-package))
|
2020-11-19 10:08:53 +01:00
|
|
|
$(eval $(host-generic-package))
|