Add BR2_EXTERNAL skeleton
This commit is contained in:
22
package/my-common-tool/my-common-tool.mk
Normal file
22
package/my-common-tool/my-common-tool.mk
Normal file
@@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# 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))
|
||||
Reference in New Issue
Block a user