added funkey-gpio-mapping

This commit is contained in:
Michel-FK 2020-01-06 23:11:11 +01:00
parent 925ba048e3
commit 6bebbf0260
6 changed files with 35 additions and 0 deletions

3
.gitmodules vendored
View File

@ -10,3 +10,6 @@
[submodule "funkey_sdl1.2"]
path = funkey_sdl1.2
url = git@bitbucket.org:keymu2/funkey_sdl1.2.git
[submodule "funkey-gpio-mapping"]
path = funkey-gpio-mapping
url = git@bitbucket.org:keymu2/funkey-gpio-mapping.git

View File

@ -1,3 +1,4 @@
source "$BR2_EXTERNAL_FUNKEY_PATH/package/mednafen/Config.in"
source "$BR2_EXTERNAL_FUNKEY_PATH/package/retrofe/Config.in"
source "$BR2_EXTERNAL_FUNKEY_PATH/package/retrofe-layout/Config.in"
source "$BR2_EXTERNAL_FUNKEY_PATH/package/funkey-gpio-mapping/Config.in"

View File

@ -1,3 +1,4 @@
RETROFE_OVERRIDE_SRCDIR = ../funkey_retrofe
RETROFE_LAYOUT_OVERRIDE_SRCDIR = ../funkey_retrofe_layout_240x240
SDL_OVERRIDE_SRCDIR = ../funkey_sdl1.2
FUNKEY_GPIO_MAPPING_OVERRIDE_SRCDIR = ../funkey-gpio-mapping

View File

@ -0,0 +1,4 @@
config BR2_PACKAGE_FUNKEY_GPIO_MAPPING
bool "funkey gpio mapping"
help
The FunKey GPIO mapping utility.

View 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))

1
funkey-gpio-mapping Submodule

@ -0,0 +1 @@
Subproject commit 1a98c232196152495abab56646844a304c17e486