build FunKey-OS using FunKey SDK

Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
Michel-FK
2020-12-27 12:22:36 +01:00
parent 58d32976ee
commit 866ee950c0
53 changed files with 8405 additions and 17 deletions

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

View 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

View File

@@ -0,0 +1,3 @@
# Locally computed:
sha256 0d396ec14f32a8cf9e08369a4122a16aa2e5fa1675e02218f16f1ab777ea2a28 dmtx-utils-0.7.6.tar.gz
sha256 d8c320ffc0030d1b096ae4732b50d2b811cf95e9a9b7377c1127b2563e0a0388 COPYING

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