Import buildroot 2016.02.01
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
From 769693d9ddf63b04dd4aad6cad080f3cee3f997e Mon Sep 17 00:00:00 2001
|
||||
From: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
Date: Thu, 11 Jun 2015 14:08:38 -0300
|
||||
Subject: [PATCH] Makefile: use autoconf CXX for proper builds
|
||||
|
||||
Status: applied upstream.
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
---
|
||||
Makefile.in | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index 91fb8b2..fe862cd 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -23,6 +23,7 @@ mandir = $(prefix)/share/man/man3
|
||||
headerdir = $(prefix)/include/kompex
|
||||
|
||||
CC = @CC@
|
||||
+CXX = @CXX@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPPFLAGS = $(CFLAGS) @CPPFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
--
|
||||
2.3.6
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
From 3eb064ffa9b43fb5f245b8abda48a1c152a6f2d7 Mon Sep 17 00:00:00 2001
|
||||
From: me <noemail@nowhere.com>
|
||||
Date: Thu, 20 Nov 2014 14:37:34 -0700
|
||||
Subject: [PATCH] Append to CFLAGS and CXXFLAGS as setup by ./configure. This
|
||||
can allow users to Customize the SQLite build process with compile time
|
||||
#defines rather than altering the sources.
|
||||
|
||||
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
|
||||
---
|
||||
Backported from: 3eb064ffa9b43fb5f245b8abda48a1c152a6f2d7
|
||||
|
||||
Makefile-shared.mk | 4 ++--
|
||||
Makefile-static.mk | 4 ++--
|
||||
2 files changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/Makefile-shared.mk b/Makefile-shared.mk
|
||||
index b2a4920..d15ce3c 100644
|
||||
--- a/Makefile-shared.mk
|
||||
+++ b/Makefile-shared.mk
|
||||
@@ -12,10 +12,10 @@ OBJS= \
|
||||
${objsdir}/sqlite3.o
|
||||
|
||||
# C Compiler Flags
|
||||
-CFLAGS= -fPIC -MMD -MP
|
||||
+CFLAGS+= -fPIC -MMD -MP
|
||||
|
||||
# CC Compiler Flags
|
||||
-CPPFLAGS= -DKOMPEX_SQLITEWRAPPER_EXPORT -DKOMPEX_SQLITEWRAPPER_DYN -fPIC -MMD -MP -I${includedir}
|
||||
+CPPFLAGS+= -DKOMPEX_SQLITEWRAPPER_EXPORT -DKOMPEX_SQLITEWRAPPER_DYN -fPIC -MMD -MP -I${includedir}
|
||||
|
||||
# Link Libraries and Options
|
||||
LDLIBSOPTIONS= -shared -fPIC
|
||||
diff --git a/Makefile-static.mk b/Makefile-static.mk
|
||||
index 429a4ff..0678681 100644
|
||||
--- a/Makefile-static.mk
|
||||
+++ b/Makefile-static.mk
|
||||
@@ -12,10 +12,10 @@ OBJS= \
|
||||
${objsdir}/sqlite3.o
|
||||
|
||||
# C Compiler Flags
|
||||
-CFLAGS= -MMD -MP
|
||||
+CFLAGS+= -MMD -MP
|
||||
|
||||
# CC Compiler Flags
|
||||
-CPPFLAGS= -I${includedir} -MMD -MP
|
||||
+CPPFLAGS+= -I${includedir} -MMD -MP
|
||||
|
||||
# Link Libraries and Options
|
||||
LDLIBSOPTIONS=
|
||||
15
firmware/buildroot/package/kompexsqlite/Config.in
Normal file
15
firmware/buildroot/package/kompexsqlite/Config.in
Normal file
@@ -0,0 +1,15 @@
|
||||
config BR2_PACKAGE_KOMPEXSQLITE
|
||||
bool "kompexsqlite"
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on !BR2_STATIC_LIBS
|
||||
help
|
||||
The Kompex SQLite Wrapper is an open source C++ wrapper
|
||||
library for SQLite.
|
||||
|
||||
http://sqlitewrapper.kompex-online.com/index.php
|
||||
|
||||
comment "kompexsqlite needs a toolchain w/ C++, wchar, threads, dynamic library"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
|
||||
!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 73bec94fe5dd3a24bd8668b3a131a84dbe39a992579eebab1236aa0e73b2c9cc v1.10.12-1.tar.gz
|
||||
14
firmware/buildroot/package/kompexsqlite/kompexsqlite.mk
Normal file
14
firmware/buildroot/package/kompexsqlite/kompexsqlite.mk
Normal file
@@ -0,0 +1,14 @@
|
||||
################################################################################
|
||||
#
|
||||
# kompexsqlite
|
||||
#
|
||||
################################################################################
|
||||
|
||||
KOMPEXSQLITE_VERSION = v1.10.12-1
|
||||
KOMPEXSQLITE_SOURCE = $(KOMPEXSQLITE_VERSION).tar.gz
|
||||
KOMPEXSQLITE_SITE = https://github.com/Aethelflaed/kompex-sqlite-wrapper/archive
|
||||
KOMPEXSQLITE_INSTALL_STAGING = YES
|
||||
KOMPEXSQLITE_LICENSE = LGPLv3+ (wrapper), Public Domain (bundled sqlite)
|
||||
KOMPEXSQLITE_LICENSE_FILES = LICENSE.txt
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user