Files
common-raspberrypi/package/my-common-tool/my-common-tool.mk

23 lines
670 B
Makefile

################################################################################
#
# my-common-tool
#
################################################################################
MY_COMMON_TOOL_VERSION = 1.0.0
MY_COMMON_TOOL_SITE = https://github.com/your-org/my-common-tool.git
MY_COMMON_TOOL_SITE_METHOD = git
MY_COMMON_TOOL_LICENSE = MIT
MY_COMMON_TOOL_LICENSE_FILES = LICENSE
MY_COMMON_TOOL_DEPENDENCIES = my-shared-lib
define MY_COMMON_TOOL_BUILD_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
endef
define MY_COMMON_TOOL_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/my-common-tool $(TARGET_DIR)/usr/bin/my-common-tool
endef
$(eval $(generic-package))