|
@@ -11,6 +11,7 @@ ABOOTIMG_LICENSE_FILES = LICENSE
|
|
|
|
|
|
# depends on libblkid from util-linux
|
|
# depends on libblkid from util-linux
|
|
ABOOTIMG_DEPENDENCIES = util-linux
|
|
ABOOTIMG_DEPENDENCIES = util-linux
|
|
|
|
+ABOOTIMG_HOST_DEPENDENCIES = host-util-linux
|
|
|
|
|
|
define ABOOTIMG_BUILD_CMDS
|
|
define ABOOTIMG_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
|
@@ -20,4 +21,13 @@ define ABOOTIMG_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -m 0755 $(@D)/abootimg $(TARGET_DIR)/usr/bin/abootimg
|
|
$(INSTALL) -m 0755 $(@D)/abootimg $(TARGET_DIR)/usr/bin/abootimg
|
|
endef
|
|
endef
|
|
|
|
|
|
|
|
+define HOST_ABOOTIMG_BUILD_CMDS
|
|
|
|
+ $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D)
|
|
|
|
+endef
|
|
|
|
+
|
|
|
|
+define HOST_ABOOTIMG_INSTALL_CMDS
|
|
|
|
+ $(INSTALL) -m 0755 $(@D)/abootimg $(HOST_DIR)/usr/bin/abootimg
|
|
|
|
+endef
|
|
|
|
+
|
|
$(eval $(generic-package))
|
|
$(eval $(generic-package))
|
|
|
|
+$(eval $(host-generic-package))
|