mirror of
https://github.com/FunKey-Project/FunKey-OS.git
synced 2026-03-19 02:12:41 +01:00
added packages datamatrix and prod_test_screens (for assembly tests) and removed PCBA
This commit is contained in:
@@ -7,3 +7,5 @@ source "$BR2_EXTERNAL_FUNKEY_PATH/package/gnuboy/Config.in"
|
||||
source "$BR2_EXTERNAL_FUNKEY_PATH/package/picodrive/Config.in"
|
||||
source "$BR2_EXTERNAL_FUNKEY_PATH/package/PocketSNES/Config.in"
|
||||
source "$BR2_EXTERNAL_FUNKEY_PATH/package/gpsp/Config.in"
|
||||
source "$BR2_EXTERNAL_FUNKEY_PATH/package/dmtx-utils/Config.in"
|
||||
source "$BR2_EXTERNAL_FUNKEY_PATH/package/ProdScreens/Config.in"
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 348 B |
Binary file not shown.
|
After Width: | Height: | Size: 721 B |
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 8.4 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
5
FunKey/package/ProdScreens/Config.in
Normal file
5
FunKey/package/ProdScreens/Config.in
Normal file
@@ -0,0 +1,5 @@
|
||||
config BR2_PACKAGE_PRODSCREENS
|
||||
bool "FunKey Prod screens"
|
||||
default y
|
||||
help
|
||||
The screens for production tests.
|
||||
43
FunKey/package/ProdScreens/ProdScreens.mk
Normal file
43
FunKey/package/ProdScreens/ProdScreens.mk
Normal file
@@ -0,0 +1,43 @@
|
||||
################################################################################
|
||||
#
|
||||
# FunKey-Prod-screens
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PRODSCREENS_VERSION = 06165f8a5d4aeb2e6324abe951ef141cc261c078
|
||||
PRODSCREENS_SITE_METHOD = git
|
||||
#PRODSCREENS_SITE = ssh://git@github.com/FunKey-Project/FunKey-ProdScreens.git
|
||||
#PRODSCREENS_SITE = ssh://git@fk/FunKey-Project/FunKey-ProdScreens.git
|
||||
PRODSCREENS_SITE = https://github.com/FunKey-Project/FunKey-ProdScreens.git
|
||||
PRODSCREENS_SITE_LICENSE = GPL-2.1+
|
||||
PRODSCREENS_SITE_LICENSE_FILES = COPYING
|
||||
|
||||
PRODSCREENS_DEPENDENCIES = sdl sdl_image sdl_ttf
|
||||
|
||||
PRODSCREENS_CFLAGS = $(TARGET_CFLAGS)
|
||||
|
||||
PRODSCREENS_SDL_CFLAGS += $(shell $(STAGING_DIR)/usr/bin/sdl-config --cflags)
|
||||
PRODSCREENS_SDL_LIBS += $(shell $(STAGING_DIR)/usr/bin/sdl-config --libs)
|
||||
|
||||
PRODSCREENS_CFLAGS += -ggdb -O3
|
||||
PRODSCREENS_CFLAGS += $(PRODSCREENS_SDL_CFLAGS)
|
||||
|
||||
PRODSCREENS_LIBS += $(PRODSCREENS_SDL_LIBS)
|
||||
PRODSCREENS_LIBS += -lSDL -lSDL_ttf -lSDL_image
|
||||
|
||||
define PRODSCREENS_BUILD_CMDS
|
||||
(cd $(@D); \
|
||||
make \
|
||||
CROSS_COMPILE=$(TARGET_CROSS) \
|
||||
CFLAGS='$(PRODSCREENS_CFLAGS)' \
|
||||
LIBS='$(PRODSCREENS_LIBS)' \
|
||||
)
|
||||
endef
|
||||
|
||||
define PRODSCREENS_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/local/sbin
|
||||
$(INSTALL) -m 0755 $(@D)/funkey_prod_screens $(TARGET_DIR)/usr/local/sbin/funkey_prod_screens
|
||||
#$(INSTALL) -m 0755 $(@D)/ProdResources $(TARGET_DIR)/usr/local/sbin/ProdResources
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
35
FunKey/package/dmtx-utils/0001-no-static-debug.patch
Normal file
35
FunKey/package/dmtx-utils/0001-no-static-debug.patch
Normal file
@@ -0,0 +1,35 @@
|
||||
dmtxquery/Makefile.am | 2 +-
|
||||
dmtxread/Makefile.am | 2 +-
|
||||
dmtxwrite/Makefile.am | 2 +-
|
||||
3 files changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff -Naur a/dmtxquery/Makefile.am b/dmtxquery/Makefile.am
|
||||
--- a/dmtxquery/Makefile.am
|
||||
+++ b/dmtxquery/Makefile.am
|
||||
@@ -9,5 +9,5 @@
|
||||
dmtxquery_LDADD = $(LIBOBJS)
|
||||
|
||||
dmtxquery_debug_SOURCES = dmtxquery.c dmtxquery.h ../common/dmtxutil.c ../common/dmtxutil.h
|
||||
-dmtxquery_debug_LDFLAGS = -static $(DMTX_LIBS)
|
||||
+dmtxquery_debug_LDFLAGS = $(DMTX_LIBS)
|
||||
dmtxquery_debug_LDADD = $(LIBOBJS)
|
||||
diff -Naur a/dmtxread/Makefile.am b/dmtxread/Makefile.am
|
||||
--- a/dmtxread/Makefile.am
|
||||
+++ b/dmtxread/Makefile.am
|
||||
@@ -11,5 +11,5 @@
|
||||
|
||||
dmtxread_debug_SOURCES = dmtxread.c dmtxread.h ../common/dmtxutil.c ../common/dmtxutil.h
|
||||
dmtxread_debug_CFLAGS = $(DMTX_CFLAGS) $(MAGICK_CFLAGS) -D_MAGICK_CONFIG_H
|
||||
-dmtxread_debug_LDFLAGS = -static $(DMTX_LIBS) $(MAGICK_LIBS)
|
||||
+dmtxread_debug_LDFLAGS = $(DMTX_LIBS) $(MAGICK_LIBS)
|
||||
dmtxread_debug_LDADD = $(LIBOBJS)
|
||||
diff -Naur a/dmtxwrite/Makefile.am b/dmtxwrite/Makefile.am
|
||||
--- a/dmtxwrite/Makefile.am
|
||||
+++ b/dmtxwrite/Makefile.am
|
||||
@@ -11,5 +11,5 @@
|
||||
|
||||
dmtxwrite_debug_SOURCES = dmtxwrite.c dmtxwrite.h ../common/dmtxutil.c ../common/dmtxutil.h
|
||||
dmtxwrite_debug_CFLAGS = $(DMTX_FLAGS) $(MAGICK_CFLAGS) -D_MAGICK_CONFIG_H
|
||||
-dmtxwrite_debug_LDFLAGS = -static $(DMTX_LIBS) $(MAGICK_LIBS)
|
||||
+dmtxwrite_debug_LDFLAGS = $(DMTX_LIBS) $(MAGICK_LIBS)
|
||||
dmtxwrite_debug_LDADD = $(LIBOBJS)
|
||||
12
FunKey/package/dmtx-utils/Config.in
Normal file
12
FunKey/package/dmtx-utils/Config.in
Normal file
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_DMTX_UTILS
|
||||
bool "dmtx utils"
|
||||
depends on BR2_PACKAGE_LIBDMTX
|
||||
select BR2_PACKAGE_IMAGEMAGICK
|
||||
help
|
||||
libdmtx is a software library that enables programs to read
|
||||
and write Data Matrix barcodes of the modern ECC200
|
||||
variety. This package, dmtx-utils, provides command line
|
||||
utilities that allow scripts and command line users to use
|
||||
libdmtx functionality.
|
||||
|
||||
https://github.com/dmtx/dmtx-utils
|
||||
3
FunKey/package/dmtx-utils/dmtx-utils.hash
Normal file
3
FunKey/package/dmtx-utils/dmtx-utils.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed:
|
||||
sha256 0d396ec14f32a8cf9e08369a4122a16aa2e5fa1675e02218f16f1ab777ea2a28 dmtx-utils-0.7.6.tar.gz
|
||||
sha256 d8c320ffc0030d1b096ae4732b50d2b811cf95e9a9b7377c1127b2563e0a0388 COPYING
|
||||
20
FunKey/package/dmtx-utils/dmtx-utils.mk
Normal file
20
FunKey/package/dmtx-utils/dmtx-utils.mk
Normal file
@@ -0,0 +1,20 @@
|
||||
################################################################################
|
||||
#
|
||||
# dmtx-utils
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DMTX_UTILS_VERSION = 0.7.6
|
||||
DMTX_UTILS_SITE = $(call github,dmtx,dmtx-utils,v$(DMTX_UTILS_VERSION))
|
||||
DMTX_UTILS_DEPENDENCIES = libdmtx imagemagick
|
||||
DMTX_UTILS_LICENSE = LGPL-2.1+
|
||||
DMTX_UTILS_LICENSE_FILES = COPYING
|
||||
# github tarball does not include configure
|
||||
DMTX_UTILS_AUTORECONF = YES
|
||||
|
||||
define DMTX_UTILS_RUN_AUTOGEN
|
||||
cd $(@D) && PATH=$(BR_PATH) ./autogen.sh
|
||||
endef
|
||||
DMTX_UTILS_PRE_CONFIGURE_HOOKS += DMTX_UTILS_RUN_AUTOGEN
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user