mirror of
https://github.com/FunKey-Project/FunKey-OS.git
synced 2026-03-19 02:12:41 +01:00
added funkey-gpio-mapping
This commit is contained in:
4
FunKey/package/funkey-gpio-mapping/Config.in
Normal file
4
FunKey/package/funkey-gpio-mapping/Config.in
Normal file
@@ -0,0 +1,4 @@
|
||||
config BR2_PACKAGE_FUNKEY_GPIO_MAPPING
|
||||
bool "funkey gpio mapping"
|
||||
help
|
||||
The FunKey GPIO mapping utility.
|
||||
25
FunKey/package/funkey-gpio-mapping/funkey-gpio-mapping.mk
Normal file
25
FunKey/package/funkey-gpio-mapping/funkey-gpio-mapping.mk
Normal file
@@ -0,0 +1,25 @@
|
||||
################################################################################
|
||||
#
|
||||
# funkey-gpio-mapping
|
||||
#
|
||||
################################################################################
|
||||
#https://bitbucket.org/keymu2/funkey-gpio-mapping/get/1a98c2321961.zip
|
||||
FUNKEY_GPIO_MAPPING_VERSION = 1a98c2321961
|
||||
FUNKEY_GPIO_MAPPING_SOURCE = $(FUNKEY_GPIO_MAPPING_VERSION).zip
|
||||
FUNKEY_GPIO_MAPPING_SITE = https://bitbucket.org/keymu2/funkey-gpio-mapping/get
|
||||
FUNKEY_GPIO_MAPPING_SITE_LICENSE = GPL-2.1+
|
||||
FUNKEY_GPIO_MAPPING_SITE_LICENSE_FILES = COPYING
|
||||
|
||||
define FUNKEY_GPIO_MAPPING_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) CROSS_COMPILE=$(TARGET_CROSS) \
|
||||
CC="$(TARGET_CC)" \
|
||||
$(MAKE) -C $(@D) \
|
||||
CFLAGS="$(TARGET_CFLAGS)" $(FUNKEY_GPIO_MAPPING_BUILD_TARGET)
|
||||
endef
|
||||
|
||||
define FUNKEY_GPIO_MAPPING_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/local/bin
|
||||
$(INSTALL) -m 0755 $(@D)/funkey_gpio_management $(TARGET_DIR)/usr/local/bin/funkey_gpio_management
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user