Move buildroot to bsp directory.

This commit is contained in:
2016-11-16 22:05:33 +01:00
parent 317c040ea8
commit 807ab03547
7408 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
[PATCH] fix make install to respect DESTDIR
And also ensure destination directories exist.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
src/Makefile.in | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
Index: qdecoder-r12.0.5/src/Makefile.in
===================================================================
--- qdecoder-r12.0.5.orig/src/Makefile.in
+++ qdecoder-r12.0.5/src/Makefile.in
@@ -78,17 +78,18 @@
${LN_S} -f ${SLIBREALNAME} ${SLIBNAME}
install: all
- ${INSTALL_DATA} qdecoder.h ${HEADERDIR}/qdecoder.h
- ${INSTALL_DATA} ${LIBNAME} ${LIBDIR}/${LIBNAME}
- ${INSTALL_DATA} ${SLIBREALNAME} ${LIBDIR}/${SLIBREALNAME}
- ( cd ${LIBDIR}; ${LN_S} -f ${SLIBREALNAME} ${SLIBNAME} )
+ mkdir -p ${DESTDIR}/${HEADERDIR} ${DESTDIR}/${LIBDIR}
+ ${INSTALL_DATA} qdecoder.h ${DESTDIR}/${HEADERDIR}/qdecoder.h
+ ${INSTALL_DATA} ${LIBNAME} ${DESTDIR}/${LIBDIR}/${LIBNAME}
+ ${INSTALL_DATA} ${SLIBREALNAME} ${DESTDIR}/${LIBDIR}/${SLIBREALNAME}
+ ( cd ${DESTDIR}/${LIBDIR}; ${LN_S} -f ${SLIBREALNAME} ${SLIBNAME} )
deinstall: uninstall
uninstall:
- ${RM} -f ${HEADERDIR}/qdecoder.h
- ${RM} -f ${LIBDIR}/${LIBNAME}
- ${RM} -f ${LIBDIR}/${SLIBREALNAME}
- ${RM} -f ${LIBDIR}/${SLIBNAME}
+ ${RM} -f ${DESTDIR}/${HEADERDIR}/qdecoder.h
+ ${RM} -f ${DESTDIR}/${LIBDIR}/${LIBNAME}
+ ${RM} -f ${DESTDIR}/${LIBDIR}/${SLIBREALNAME}
+ ${RM} -f ${DESTDIR}/${LIBDIR}/${SLIBNAME}
doc:
doxygen doxygen.conf

View File

@@ -0,0 +1,25 @@
[PATCH] configure.ac: drop hardcoded paths
Causing problems with cross compilation.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
configure.ac | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
Index: qdecoder-r12.0.5/configure.ac
===================================================================
--- qdecoder-r12.0.5.orig/configure.ac
+++ qdecoder-r12.0.5/configure.ac
@@ -81,10 +81,7 @@
AC_CONFIG_HEADER([config.h])
AC_CONFIG_FILES([Makefile src/Makefile examples/Makefile])
-## Set path
-PATH="$PATH:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
-CPPFLAGS="$CPPFLAGS -I/usr/include -I/usr/local/include -I./ -D_GNU_SOURCE"
-LDFLAGS="$LDFLAGS -L/usr/lib -L/usr/local/lib"
+CPPFLAGS="$CPPFLAGS -I./ -D_GNU_SOURCE"
## Set autoconf setting
#AC_CANONICAL_TARGET

View File

@@ -0,0 +1,34 @@
Fixes build error
qcgireq.c: In function '_parse_multipart_value_into_disk':
qcgireq.c:738:60: error: 'errno' undeclared (first use in this function)
DEBUG("I/O error. (errno=%d)", (ioerror == true) ? errno : 0);
Patch downloaded from upstream repo:
https://github.com/wolkykim/qdecoder/commit/574f0216a51e3e852cd94e2a0a3b52dc64e74548
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
From 574f0216a51e3e852cd94e2a0a3b52dc64e74548 Mon Sep 17 00:00:00 2001
From: nyov <nyov@nexnode.net>
Date: Fri, 5 Sep 2014 18:41:10 +0000
Subject: [PATCH] add missing header include
fixes #7
---
src/qcgireq.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/qcgireq.c b/src/qcgireq.c
index dcb8c57..d34ff83 100644
--- a/src/qcgireq.c
+++ b/src/qcgireq.c
@@ -139,6 +139,7 @@
#ifndef _WIN32
#include <dirent.h>
#endif
+#include <errno.h>
#include "qdecoder.h"
#include "internal.h"

View File

@@ -0,0 +1,8 @@
config BR2_PACKAGE_QDECODER
bool "qdecoder"
depends on !BR2_STATIC_LIBS
help
qDecoder is a simple and powerful CGI library
for the C/C++ programming language.
http://wolkykim.github.io/qdecoder

View File

@@ -0,0 +1,17 @@
################################################################################
#
# qdecoder
#
################################################################################
QDECODER_VERSION = r12.0.5
QDECODER_SITE = $(call github,wolkykim,qdecoder,$(QDECODER_VERSION))
QDECODER_LICENSE = BSD-2
QDECODER_LICENSE_FILES = COPYING
# we patch configure.ac
QDECODER_AUTORECONF = YES
QDECODER_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
QDECODER_INSTALL_STAGING = YES
$(eval $(autotools-package))