* [Buildroot] Cross-compiling out-of-tree kernel modules and user-space apps
From: Thomas Petazzoni @ 2017-05-03 9:35 UTC (permalink / raw)
To: buildroot
In-Reply-To: <4e87c694-21a2-7f06-9d88-f736e832e061@free.fr>
Hello,
On Wed, 3 May 2017 11:15:15 +0200, Mason wrote:
> I use buildroot to generate kernel + rootfs image for an ARM
> platform, typically cross-compiled with the Linaro toolchain.
>
> I also have a large body of software in a separate repo
> (outside of the BR tree) with its own build system.
What do you call "its own build system" ?
> This repo includes kernel modules, user-space libraries
> and apps, which need to be cross-compiled and built on
> top of the rootfs generated by BR.
>
> Therefore, I would need to pass some information from BR
> to the separate build system, such as
>
> - ARCH
> - CROSS_COMPILE
> - location of the cross-toolchain, to add to the PATH
> - location of the sysroot
>
> What is the best way to do this?
Create Buildroot packages for the different software components you
need to build.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] Cross-compiling out-of-tree kernel modules and user-space apps
From: Mason @ 2017-05-03 9:15 UTC (permalink / raw)
To: buildroot
Hello,
I use buildroot to generate kernel + rootfs image for an ARM
platform, typically cross-compiled with the Linaro toolchain.
I also have a large body of software in a separate repo
(outside of the BR tree) with its own build system.
This repo includes kernel modules, user-space libraries
and apps, which need to be cross-compiled and built on
top of the rootfs generated by BR.
Therefore, I would need to pass some information from BR
to the separate build system, such as
- ARCH
- CROSS_COMPILE
- location of the cross-toolchain, to add to the PATH
- location of the sysroot
What is the best way to do this?
I tried a post-image script, but I didn't see ARCH or
CROSS_COMPILE in the env or as arguments.
Regards.
^ permalink raw reply
* [Buildroot] [autobuild.buildroot.net] Build results for 2017-05-02
From: Thomas Petazzoni @ 2017-05-03 6:28 UTC (permalink / raw)
To: buildroot
Hello,
Build statistics for 2017-05-02
================================
successes : 182
failures : 78
timeouts : 0
TOTAL : 260
Classification of failures by reason
====================================
host-protobuf-3.2.0 | 27
mpv-0.25.0 | 5
busybox-1.26.2 | 4
uboot-tools-2017.03 | 4
atest-895b0183a89c15f5e2305... | 3
protobuf-3.2.0 | 3
lttng-tools-2.9.4 | 2
qt-4.8.7 | 2
radvd-2.12 | 2
toolchain-external-codesour... | 2
acpica-20170303 | 1
arp-scan-1.9 | 1
binutils-2.27 | 1
bmon-4.0 | 1
boost-1.63.0 | 1
gdb-7.11.1 | 1
keepalived-1.3.5 | 1
kvm-unit-tests-5731572b2ac2... | 1
libcec-4.0.2 | 1
libqmi-1.18.0 | 1
lvm2-2.02.170 | 1
motion-release-4.0.1 | 1
mpir-3.0.0 | 1
ntp-4.2.8p10 | 1
opencv3-3.2.0 | 1
pulseview-0.3.0 | 1
qt5base-5.8.0 | 1
qt5location-5.6.2 | 1
qwt-6.1.3 | 1
rabbitmq-c-v0.8.0 | 1
strongswan-5.4.0 | 1
tinyxml2-4.0.1 | 1
toolchain-external-codesour... | 1
wiringpi-2.44 | 1
Detail of failures
===================
arm | acpica-20170303 | NOK | http://autobuild.buildroot.net/results/a791c1189dee5bc7877c65781ff10683c21ea4e1 |
arm | arp-scan-1.9 | NOK | http://autobuild.buildroot.net/results/7771b859a8a6735d9b15287f0ba80aa1012e521d |
arc | atest-895b0183a89c15f5e2305... | NOK | http://autobuild.buildroot.net/results/f344bbc94344107ef2f0337a4d8f211563d5a3bf |
microblazeel | atest-895b0183a89c15f5e2305... | NOK | http://autobuild.buildroot.net/results/b05ef59f1fd20800da2f407f64c369b9b5252328 |
microblazeel | atest-895b0183a89c15f5e2305... | NOK | http://autobuild.buildroot.net/results/35b4a1e2a47f4e169e286fa8d25606821a88cc58 |
bfin | binutils-2.27 | NOK | http://autobuild.buildroot.net/results/5dcb4d40e545268fea9cb60c7e78bf88ae8adcec | ORPH
arm | bmon-4.0 | NOK | http://autobuild.buildroot.net/results/cec44d06df211026b1f1c9d5895ed5fc0f127c82 |
arm | boost-1.63.0 | NOK | http://autobuild.buildroot.net/results/df196da6bfe7dc3643d7d1b6991d40734378f1b1 |
arm | busybox-1.26.2 | NOK | http://autobuild.buildroot.net/results/0533b10aed8faf2ecf763157709aa0f672e39a14 | ORPH
arm | busybox-1.26.2 | NOK | http://autobuild.buildroot.net/results/6d8460ed230ab9ba70951918f0e8c1f38ac04c7f | ORPH
arm | busybox-1.26.2 | NOK | http://autobuild.buildroot.net/results/5e84445616b8a1a5434ccf1e80975a7c770aeaef | ORPH
arm | busybox-1.26.2 | NOK | http://autobuild.buildroot.net/results/f2a15353d3469192b5f415de837c45752073b77d | ORPH
x86_64 | gdb-7.11.1 | NOK | http://autobuild.buildroot.net/results/120a88891d2b79b692c83484055e87aa7743d986 | ORPH
sparc64 | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/a23526817d1116263b4b3a45a732ccb88648a674 | ORPH
mips64el | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/3362ebd3d2454cfb03109a00d2b10b1ca76183ba | ORPH
i686 | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/6ea11fe967a54122038dd290e6afc87bed5b5760 | ORPH
mips64el | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/2ff93bcbadcd23664890412431fed6d8661a7e83 | ORPH
x86_64 | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/80932e669ca103570a876f9daac13007aae1dda2 | ORPH
powerpc | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/c7fa99f80ded2c9aacbc2e3a50885b984d0ec3b5 | ORPH
arm | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/efee8c5f0a9113462e0549f0bded6a5ec6ffd26d | ORPH
arm | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/6cb01585567920e56f2e95e6a3769aa76175f349 | ORPH
arc | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/11200b62f8aaec1a7fa5a71d4dd18a7c8225e911 | ORPH
mipsel | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/38aba025f98e87542884065f1d4fca7c43ab99c8 | ORPH
xtensa | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/71c04bf35156c009e77250093aa88093c8abf6bb | ORPH
mips64el | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/4fa9aeb51c94ece999f01a22608e2673cf6e957b | ORPH
arm | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/0f2c774a8724bcd3c62816f9a357c03b9669fcb5 | ORPH
powerpc | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/7552299524991939dba9f5eef70b56b16ffcd590 | ORPH
sparc64 | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/580635abb85866152f993f8aa05111c909aa1ee3 | ORPH
xtensa | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/8b071f0de61e5f3ab8e272119c5141467d81280b | ORPH
arc | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/8ec03c274278a311fd1c7589e46640068431f808 | ORPH
i686 | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/4d36bc1961604883432b7a7155727be03002c61a | ORPH
powerpc64 | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/6cc81fd4b480f16da268b87c5618a7cfd43a1883 | ORPH
powerpc64le | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/30e04e0b8be2ea256550532cba77f222d639ab77 | ORPH
xtensa | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/25bd467e4aa49707c79d1914b34a3f4629b5e7d0 | ORPH
powerpc | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/2201e011486be72483f4b3aa92b1a34b275be1c0 | ORPH
mips64el | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/9f3ae95deba9eb655c9ac582460b2f75c6fd38ce | ORPH
arm | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/8c65614ce4f1a14ab0b1dbcb3374b9bc2f1c3351 | ORPH
sh4a | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/8e9630ea6eca68c8909150a62b0124dd586d3eca | ORPH
mips64el | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/43d4d292be692713bd5e4c582849cb23676a821b | ORPH
powerpc64 | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/ec1257ae0c8de64e407b86a15261a9c566df8ae1 | ORPH
i686 | keepalived-1.3.5 | NOK | http://autobuild.buildroot.net/results/770d8fd2f3bacbdbe233da1b4d6e64e20a84d5a5 |
x86_64 | kvm-unit-tests-5731572b2ac2... | NOK | http://autobuild.buildroot.net/results/3371f130e9edf225d30f3437bbf80ce62bdb0a95 |
mips64el | libcec-4.0.2 | NOK | http://autobuild.buildroot.net/results/0b97cd99f0948105c1f993bf302fb4f8c773369b |
i586 | libqmi-1.18.0 | NOK | http://autobuild.buildroot.net/results/12e2e65804263c932f61a510107bd7579434b24d | ORPH
powerpc | lttng-tools-2.9.4 | NOK | http://autobuild.buildroot.net/results/12d222c9d37827a166c2bbf9526a7af32357f6ae |
arm | lttng-tools-2.9.4 | NOK | http://autobuild.buildroot.net/results/8542e42431154fd803641b1c633c03df2a75ebab |
microblazeel | lvm2-2.02.170 | NOK | http://autobuild.buildroot.net/results/92ce446ed8fe55271b7defbf4e4b1f548e527143 | ORPH
arc | motion-release-4.0.1 | NOK | http://autobuild.buildroot.net/results/78a4bf9873ca161d0edf843ab6b7a7248a837c47 |
mips64el | mpir-3.0.0 | NOK | http://autobuild.buildroot.net/results/858777af90cd03865acf15301e4e074c6ca4fb84 |
sparc64 | mpv-0.25.0 | NOK | http://autobuild.buildroot.net/results/49f1bcce888e62851cdd82fc670d099240327899 |
mips64el | mpv-0.25.0 | NOK | http://autobuild.buildroot.net/results/0ca0a988eb29dd66348c80527b84296e0129989e |
aarch64 | mpv-0.25.0 | NOK | http://autobuild.buildroot.net/results/459605d634d07015d262a3cc7a7413756570ed79 |
m68k | mpv-0.25.0 | NOK | http://autobuild.buildroot.net/results/bd565b3e052a8cc0dd3df51be0f2c4b2515e3b04 |
arm | mpv-0.25.0 | NOK | http://autobuild.buildroot.net/results/06ed9d0ed25e4c4c524cb5b1b84ff46ed80ff18f |
mips | ntp-4.2.8p10 | NOK | http://autobuild.buildroot.net/results/c58d5840da66a8be5e157a0bd24a5feaff157c92 | ORPH
x86_64 | opencv3-3.2.0 | NOK | http://autobuild.buildroot.net/results/e8832302cd4f30cec076f67965f6aacbaca5b955 |
sparc | protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/760bf62f4864900440e5bcd47a83af4a9d84cc88 | ORPH
sparc | protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/db01dc8ac9dc130b95c6a3f7e4f08272e9c1558b | ORPH
sparc | protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/c9e84f66d95ab27b19a92575fe4c085b8365ca4e | ORPH
x86_64 | pulseview-0.3.0 | NOK | http://autobuild.buildroot.net/results/f8ec1bc6dc1a547b096132be3607605c45145fea |
or1k | qt-4.8.7 | NOK | http://autobuild.buildroot.net/results/1f8332c0adcc0732550b3e8812e6855c76c4e5e7 | ORPH
or1k | qt-4.8.7 | NOK | http://autobuild.buildroot.net/results/33d4efb8662e9ad340eebb856e447e7ed231e3a6 | ORPH
sparc | qt5base-5.8.0 | NOK | http://autobuild.buildroot.net/results/25a8429e582fee96fd4f084dc23d54f2a1806f5a |
powerpc | qt5location-5.6.2 | NOK | http://autobuild.buildroot.net/results/a200fcb2e8f5606faac7cf895cf7e013288dd460 |
arm | qwt-6.1.3 | NOK | http://autobuild.buildroot.net/results/9054e0f3ebc82c3c1d3022dfe7e84403b6f0132b | ORPH
m68k | rabbitmq-c-v0.8.0 | NOK | http://autobuild.buildroot.net/results/bac26d62299266b9ac6bea732d172b6211943e72 |
xtensa | radvd-2.12 | NOK | http://autobuild.buildroot.net/results/9e187e5132357ac4df82e7deaefcdb29b317bf54 | ORPH
arc | radvd-2.12 | NOK | http://autobuild.buildroot.net/results/392f94c0d3adf411745e97ca2e471432621a753a | ORPH
i586 | strongswan-5.4.0 | NOK | http://autobuild.buildroot.net/results/6b928e2a6a35bfb21c792fca083bc4cbdaef9304 |
arm | tinyxml2-4.0.1 | NOK | http://autobuild.buildroot.net/results/12724efa82be666e21097d9632e5ccef8cf979dc |
x86_64 | toolchain-external-codesour... | NOK | http://autobuild.buildroot.net/results/09049855f8636aae9561b8fa261779f151143582 | ORPH
nios2 | toolchain-external-codesour... | NOK | http://autobuild.buildroot.net/results/8d4900e943818cb76a282c5f90f53bbde35afe2e | ORPH
nios2 | toolchain-external-codesour... | NOK | http://autobuild.buildroot.net/results/e3e97847afa97c35804d6cbb5c2486119e1a3b00 | ORPH
arm | uboot-tools-2017.03 | NOK | http://autobuild.buildroot.net/results/6d52ac8bb71012aea6fc4c679691b31a3366728b | ORPH
mipsel | uboot-tools-2017.03 | NOK | http://autobuild.buildroot.net/results/9a44bf8c5f94fffbd24cb92bf552ada7192d3263 | ORPH
i686 | uboot-tools-2017.03 | NOK | http://autobuild.buildroot.net/results/f1865bde73843d6d6e827a8b97280640998f7502 | ORPH
mips | uboot-tools-2017.03 | NOK | http://autobuild.buildroot.net/results/01e37cc985058d5e0f2fe55c10c1ec92809dffec | ORPH
arc | wiringpi-2.44 | NOK | http://autobuild.buildroot.net/results/e5f9b0a7141c8bd1e6db7439a93adf3cc33c43ea |
--
http://autobuild.buildroot.net
^ permalink raw reply
* [Buildroot] [PATCH] package: protobuf: fix build on gcc < 4.5.0
From: Mario Rugiero @ 2017-05-03 5:07 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170503040224.a2edqahwspu4lgtt@sapphire.tkos.co.il>
2017-05-03 1:02 GMT-03:00 Baruch Siach <baruch@tkos.co.il>:
> Hi Mario,
>
> On Tue, May 02, 2017 at 09:14:24PM -0300, Mario J. Rugiero wrote:
>> Add upstream patch working around a gcc bug which got fixed in version 4.5.0.
>
> Is there a reason not to bump version to 3.3.0 that includes this fix?
>
> baruch
>
>> Fixes:
>> http://autobuild.buildroot.org/results/77d/77dbb6bbbc0ea9e9bcdd22b10011ef9728c20d54/
>> http://autobuild.buildroot.org/results/21f/21f5e1ea4f37e1d174604d6da78c0e916c89f1e3/
>> http://autobuild.buildroot.org/results/24e/24e880086c87d40b5d79a90d805acc75b33d484c/
>>
>> Signed-off-by: Mario J. Rugiero <mrugiero@gmail.com>
>> ---
>> package/protobuf/protobuf.hash | 1 +
>> package/protobuf/protobuf.mk | 1 +
>> 2 files changed, 2 insertions(+)
>>
>> diff --git a/package/protobuf/protobuf.hash b/package/protobuf/protobuf.hash
>> index 8c2ade37e..9b8e1e86d 100644
>> --- a/package/protobuf/protobuf.hash
>> +++ b/package/protobuf/protobuf.hash
>> @@ -1,3 +1,4 @@
>> # Locally calculated
>> sha256 51d773e4297238b282eaa4c1dd317099675b12eef2b414732b851c00459225c6 protobuf-cpp-3.2.0.tar.gz
>> sha256 da80c39838515913633f4cbd875fdd4ad711be95c83a50ff5096b9f1254033b3 416f90939d4de58fe1a4e2489120010313183291.patch
>> +sha256 309c8fd476863ddf9726a9700023d6349f7305e05bec071a06f4ccf7e90a7053 a83ac8663fb8042a881bc60b12a8bd3a0c03a3ff.patch
>> diff --git a/package/protobuf/protobuf.mk b/package/protobuf/protobuf.mk
>> index 610da8c04..92b6fe344 100644
>> --- a/package/protobuf/protobuf.mk
>> +++ b/package/protobuf/protobuf.mk
>> @@ -20,6 +20,7 @@ PROTOBUF_CONF_OPTS = --with-protoc=$(HOST_DIR)/usr/bin/protoc
>> PROTOBUF_INSTALL_STAGING = YES
>>
>> PROTOBUF_PATCH = https://github.com/google/protobuf/commit/416f90939d4de58fe1a4e2489120010313183291.patch
>> +PROTOBUF_PATCH += https://github.com/google/protobuf/commit/a83ac8663fb8042a881bc60b12a8bd3a0c03a3ff.patch
>
> --
> http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
> =}------------------------------------------------ooO--U--Ooo------------{=
> - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
None. I missed the announcement. Will make a new patch as soon as I
got my work box working again. I accidentally killed it.
Regards,
Mario.
^ permalink raw reply
* [Buildroot] [PATCH v2] libcgi: bump to version 1.1
From: xlcwu @ 2017-05-03 4:21 UTC (permalink / raw)
To: buildroot
1. Cleanup the libcgi package,
by using https://github.com/rafaelsteil/libcgi as an upstream.
2. Remove old patch and use cmake to build new version.
Signed-off-by: xlcwu <xlcwu.taiwan@gmail.com>
Changes v1 -> v2:
- Remove old patch
- Cleanup libcgi.mk
- Rewrite commit log and reformat it
---
package/libcgi/0001-misc-fixes.patch | 122 -----------------------------------
package/libcgi/libcgi.hash | 2 +-
package/libcgi/libcgi.mk | 12 ++--
3 files changed, 7 insertions(+), 129 deletions(-)
delete mode 100644 package/libcgi/0001-misc-fixes.patch
diff --git a/package/libcgi/0001-misc-fixes.patch b/package/libcgi/0001-misc-fixes.patch
deleted file mode 100644
index b576178..0000000
--- a/package/libcgi/0001-misc-fixes.patch
+++ /dev/null
@@ -1,122 +0,0 @@
-Index: b/src/cgi.c
-===================================================================
---- a/src/cgi.c
-+++ b/src/cgi.c
-@@ -336,7 +336,7 @@
- hextable['b'] = 11;
- hextable['c'] = 12;
- hextable['d'] = 13;
-- hextable['e'] = 13;
-+ hextable['e'] = 14;
- hextable['f'] = 15;
- hextable['A'] = 10;
- hextable['B'] = 11;
-Index: b/src/string.c
-===================================================================
---- a/src/string.c
-+++ b/src/string.c
-@@ -584,7 +584,7 @@
-
- va_start(ptr, s);
-
-- va_copy(bkp, str);
-+ va_copy(bkp, ptr);
- len = strlen(s);
-
- while (*str) {
-Index: b/Makefile.in
-===================================================================
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -5,22 +5,32 @@
- prefix = @prefix@
- exec_prefix = @exec_prefix@
-
--SHAREDOPT = -shared
-+SHAREDOPT = -shared -fPIC -Wl,-soname,libcgi.so.0
- LIBDIR = $(prefix)/lib
--INCDIR = $(prefix)/include
-+INCDIR = $(prefix)/include/libcgi/
- MANDIR = $(prefix)/man/man3
- SHELL = /bin/sh
- EXTRA_LIBS =
-
- INCS = -Isrc
--FLAGS = -Wall -fpic
-+FLAGS = -Wall -D_REENTRANT
-
- OBJS = src/error.o src/cgi.o src/session.o src/base64.o src/md5.o \
- src/string.o src/general.o src/list.o src/cookie.o
-+SHOBJS=$(OBJS:.o=.sh.o)
-
--.c.o: $(CC) $(FLAGS) -c $<
-+ALL_TARGETS = src/libcgi.a
-+ifeq ($(STATIC),)
-+ALL_TARGETS += src/libcgi.so
-+endif
-
--all: $(OBJS) src/libcgi.so
-+%.o: %.c
-+ $(CC) $(FLAGS) -c $*.c -o $@
-+
-+%.sh.o: %.c
-+ $(CC) $(FLAGS) -fPIC -c $*.c -o $@
-+
-+all: $(ALL_TARGETS)
-
- @echo ""
- @echo ""
-@@ -48,14 +58,17 @@
- src/libcgi.a: $(OBJS)
- $(AR) rc src/libcgi.a $(OBJS)
-
--src/libcgi.so: src/libcgi.a
-- $(CC) $(SHAREDOPT) -o src/libcgi.so $(OBJS) $(EXTRA_LIBS)
-+src/libcgi.so: $(SHOBJS)
-+ $(CC) $(SHAREDOPT) -o src/libcgi.so $(SHOBJS) $(EXTRA_LIBS)
-
- install:
-- cp src/libcgi.a $(LIBDIR)
-- cp src/libcgi.so $(LIBDIR)
-- cp src/cgi.h $(INCDIR)
-- cp src/session.h $(INCDIR)
-+ cp src/libcgi.a $(DESTDIR)/$(LIBDIR)
-+ifeq ($(STATIC),)
-+ cp src/libcgi.so $(DESTDIR)/$(LIBDIR)
-+endif
-+ [ -d $(DESTDIR)/$(INCDIR) ] || mkdir -p $(DESTDIR)/$(INCDIR)
-+ cp src/cgi.h $(DESTDIR)/$(INCDIR)
-+ cp src/session.h $(DESTDIR)/$(INCDIR)
-
-
- src/error.o: src/error.c src/error.h
-@@ -69,8 +82,9 @@
- src/list.o: src/list.c
-
- clean:
-- find src/ -name *.*o -exec rm -f {} \;
-+ find src/ -name *.o -exec rm -f {} \;
- find src/ -name *.a -exec rm -f {} \;
-+ find src/ -name *.so -exec rm -f {} \;
-
- uninstall: clean
- rm -f $(LIBDIR)/libcgi.*
-@@ -78,11 +92,11 @@
- rm -f $(INCDIR)/session.h
- rm -f $(MANDIR)/libcgi*
-
--install_man:
-- cp doc/man/man3/libcgi_base64.3 $(MANDIR)
-- cp doc/man/man3/libcgi_cgi.3 $(MANDIR)
-- cp doc/man/man3/libcgi_general.3 $(MANDIR)
-- cp doc/man/man3/libcgi_string.3 $(MANDIR)
-- cp doc/man/man3/libcgi_session.3 $(MANDIR)
-- cp doc/man/man3/libcgi_cookie.3 $(MANDIR)
-+#install_man:
-+# cp doc/man/man3/libcgi_base64.3 $(MANDIR)
-+# cp doc/man/man3/libcgi_cgi.3 $(MANDIR)
-+# cp doc/man/man3/libcgi_general.3 $(MANDIR)
-+# cp doc/man/man3/libcgi_string.3 $(MANDIR)
-+# cp doc/man/man3/libcgi_session.3 $(MANDIR)
-+# cp doc/man/man3/libcgi_cookie.3 $(MANDIR)
-
diff --git a/package/libcgi/libcgi.hash b/package/libcgi/libcgi.hash
index 6bd7c0c..1ac1440 100644
--- a/package/libcgi/libcgi.hash
+++ b/package/libcgi/libcgi.hash
@@ -1,2 +1,2 @@
# Locally computed:
-sha256 861df39cc0195d43419c4c3de8dff4f42478db66c9ba0b0c1e994c99400e130c libcgi-1.0.tar.gz
+sha256 128445f2f828e84905d51bd53d11e2e08c489df3a07225ff9f198c1318092fe6 libcgi-1.1.tar.gz
diff --git a/package/libcgi/libcgi.mk b/package/libcgi/libcgi.mk
index de2a1e4..66bb165 100644
--- a/package/libcgi/libcgi.mk
+++ b/package/libcgi/libcgi.mk
@@ -4,12 +4,12 @@
#
################################################################################
-LIBCGI_VERSION = 1.0
-LIBCGI_SITE = http://downloads.sourceforge.net/project/libcgi/libcgi/$(LIBCGI_VERSION)
+LIBCGI_VERSION = 1.1
+LIBCGI_SITE = https://github.com/rafaelsteil/libcgi/releases/download/v$(LIBCGI_VERSION)
+
LIBCGI_INSTALL_STAGING = YES
-# use cross CC/AR rather than host
-LIBCGI_MAKE_ENV = CC="$(TARGET_CC) $(TARGET_CFLAGS)" AR="$(TARGET_AR)" \
- $(if $(BR2_STATIC_LIBS),STATIC=1)
LIBCGI_LICENSE = LGPL-2.1+
-$(eval $(autotools-package))
+LIBCGI_SUPPORTS_IN_SOURCE_BUILD = NO
+
+$(eval $(cmake-package))
--
1.9.1
^ permalink raw reply related
* [Buildroot] [PATCH] package: protobuf: fix build on gcc < 4.5.0
From: Baruch Siach @ 2017-05-03 4:02 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170503001424.13534-1-mrugiero@gmail.com>
Hi Mario,
On Tue, May 02, 2017 at 09:14:24PM -0300, Mario J. Rugiero wrote:
> Add upstream patch working around a gcc bug which got fixed in version 4.5.0.
Is there a reason not to bump version to 3.3.0 that includes this fix?
baruch
> Fixes:
> http://autobuild.buildroot.org/results/77d/77dbb6bbbc0ea9e9bcdd22b10011ef9728c20d54/
> http://autobuild.buildroot.org/results/21f/21f5e1ea4f37e1d174604d6da78c0e916c89f1e3/
> http://autobuild.buildroot.org/results/24e/24e880086c87d40b5d79a90d805acc75b33d484c/
>
> Signed-off-by: Mario J. Rugiero <mrugiero@gmail.com>
> ---
> package/protobuf/protobuf.hash | 1 +
> package/protobuf/protobuf.mk | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/package/protobuf/protobuf.hash b/package/protobuf/protobuf.hash
> index 8c2ade37e..9b8e1e86d 100644
> --- a/package/protobuf/protobuf.hash
> +++ b/package/protobuf/protobuf.hash
> @@ -1,3 +1,4 @@
> # Locally calculated
> sha256 51d773e4297238b282eaa4c1dd317099675b12eef2b414732b851c00459225c6 protobuf-cpp-3.2.0.tar.gz
> sha256 da80c39838515913633f4cbd875fdd4ad711be95c83a50ff5096b9f1254033b3 416f90939d4de58fe1a4e2489120010313183291.patch
> +sha256 309c8fd476863ddf9726a9700023d6349f7305e05bec071a06f4ccf7e90a7053 a83ac8663fb8042a881bc60b12a8bd3a0c03a3ff.patch
> diff --git a/package/protobuf/protobuf.mk b/package/protobuf/protobuf.mk
> index 610da8c04..92b6fe344 100644
> --- a/package/protobuf/protobuf.mk
> +++ b/package/protobuf/protobuf.mk
> @@ -20,6 +20,7 @@ PROTOBUF_CONF_OPTS = --with-protoc=$(HOST_DIR)/usr/bin/protoc
> PROTOBUF_INSTALL_STAGING = YES
>
> PROTOBUF_PATCH = https://github.com/google/protobuf/commit/416f90939d4de58fe1a4e2489120010313183291.patch
> +PROTOBUF_PATCH += https://github.com/google/protobuf/commit/a83ac8663fb8042a881bc60b12a8bd3a0c03a3ff.patch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
^ permalink raw reply
* [Buildroot] [PATCH 1/1] libcgi: bump to version 1.1 and cleanup the libcgi package, by using https://github.com/rafaelsteil/libcgi as an upstream.
From: xlcwu @ 2017-05-03 3:43 UTC (permalink / raw)
To: buildroot
Signed-off-by: xlcwu <xlcwu.taiwan@gmail.com>
---
package/libcgi/libcgi.hash | 2 +-
package/libcgi/libcgi.mk | 12 +++++++-----
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/package/libcgi/libcgi.hash b/package/libcgi/libcgi.hash
index 6bd7c0c..1ac1440 100644
--- a/package/libcgi/libcgi.hash
+++ b/package/libcgi/libcgi.hash
@@ -1,2 +1,2 @@
# Locally computed:
-sha256 861df39cc0195d43419c4c3de8dff4f42478db66c9ba0b0c1e994c99400e130c libcgi-1.0.tar.gz
+sha256 128445f2f828e84905d51bd53d11e2e08c489df3a07225ff9f198c1318092fe6 libcgi-1.1.tar.gz
diff --git a/package/libcgi/libcgi.mk b/package/libcgi/libcgi.mk
index de2a1e4..dce71e1 100644
--- a/package/libcgi/libcgi.mk
+++ b/package/libcgi/libcgi.mk
@@ -4,12 +4,14 @@
#
################################################################################
-LIBCGI_VERSION = 1.0
+LIBCGI_VERSION = 1.1
LIBCGI_SITE = http://downloads.sourceforge.net/project/libcgi/libcgi/$(LIBCGI_VERSION)
+LIBCGI_SITE = $(call github,rafaelsteil,libcgi,$(LIBCGI_VERSION))
+LIBCGI_SITE = https://github.com/rafaelsteil/libcgi/releases/download/v$(LIBCGI_VERSION)
+
LIBCGI_INSTALL_STAGING = YES
-# use cross CC/AR rather than host
-LIBCGI_MAKE_ENV = CC="$(TARGET_CC) $(TARGET_CFLAGS)" AR="$(TARGET_AR)" \
- $(if $(BR2_STATIC_LIBS),STATIC=1)
LIBCGI_LICENSE = LGPL-2.1+
-$(eval $(autotools-package))
+LIBCGI_SUPPORTS_IN_SOURCE_BUILD = NO
+
+$(eval $(cmake-package))
--
1.9.1
^ permalink raw reply related
* [Buildroot] [PATCH] package: protobuf: fix build on gcc < 4.5.0
From: Mario J. Rugiero @ 2017-05-03 0:14 UTC (permalink / raw)
To: buildroot
Add upstream patch working around a gcc bug which got fixed in version 4.5.0.
Fixes:
http://autobuild.buildroot.org/results/77d/77dbb6bbbc0ea9e9bcdd22b10011ef9728c20d54/
http://autobuild.buildroot.org/results/21f/21f5e1ea4f37e1d174604d6da78c0e916c89f1e3/
http://autobuild.buildroot.org/results/24e/24e880086c87d40b5d79a90d805acc75b33d484c/
Signed-off-by: Mario J. Rugiero <mrugiero@gmail.com>
---
package/protobuf/protobuf.hash | 1 +
package/protobuf/protobuf.mk | 1 +
2 files changed, 2 insertions(+)
diff --git a/package/protobuf/protobuf.hash b/package/protobuf/protobuf.hash
index 8c2ade37e..9b8e1e86d 100644
--- a/package/protobuf/protobuf.hash
+++ b/package/protobuf/protobuf.hash
@@ -1,3 +1,4 @@
# Locally calculated
sha256 51d773e4297238b282eaa4c1dd317099675b12eef2b414732b851c00459225c6 protobuf-cpp-3.2.0.tar.gz
sha256 da80c39838515913633f4cbd875fdd4ad711be95c83a50ff5096b9f1254033b3 416f90939d4de58fe1a4e2489120010313183291.patch
+sha256 309c8fd476863ddf9726a9700023d6349f7305e05bec071a06f4ccf7e90a7053 a83ac8663fb8042a881bc60b12a8bd3a0c03a3ff.patch
diff --git a/package/protobuf/protobuf.mk b/package/protobuf/protobuf.mk
index 610da8c04..92b6fe344 100644
--- a/package/protobuf/protobuf.mk
+++ b/package/protobuf/protobuf.mk
@@ -20,6 +20,7 @@ PROTOBUF_CONF_OPTS = --with-protoc=$(HOST_DIR)/usr/bin/protoc
PROTOBUF_INSTALL_STAGING = YES
PROTOBUF_PATCH = https://github.com/google/protobuf/commit/416f90939d4de58fe1a4e2489120010313183291.patch
+PROTOBUF_PATCH += https://github.com/google/protobuf/commit/a83ac8663fb8042a881bc60b12a8bd3a0c03a3ff.patch
ifeq ($(BR2_PACKAGE_ZLIB),y)
PROTOBUF_DEPENDENCIES += zlib
--
2.12.2
^ permalink raw reply related
* [Buildroot] [PATCH 1/1] kvazaar: new package
From: Alexandre Esse @ 2017-05-02 22:08 UTC (permalink / raw)
To: buildroot
Signed-off-by: Alexandre Esse <alexandre.esse.dev@gmail.com>
---
DEVELOPERS | 3 +++
package/Config.in | 1 +
package/kvazaar/Config.in | 4 ++++
package/kvazaar/kvazaar.hash | 1 +
package/kvazaar/kvazaar.mk | 14 ++++++++++++++
5 files changed, 23 insertions(+)
create mode 100644 package/kvazaar/Config.in
create mode 100644 package/kvazaar/kvazaar.hash
create mode 100644 package/kvazaar/kvazaar.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index 82eb819..bf4b92a 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -55,6 +55,9 @@ F: package/liblog4c-localtime/
N: Alexandre Belloni <alexandre.belloni@free-electrons.com>
F: package/tz/
+N: Alexandre Esse <alexandre.esse.dev@gmail.com>
+F: package/kvazaar/
+
N: Alistair Francis <alistair.francis@xilinx.com>
F: package/xen/
diff --git a/package/Config.in b/package/Config.in
index aaecd61..29ef759 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1198,6 +1198,7 @@ endmenu
menu "Multimedia"
source "package/bitstream/Config.in"
+ source "package/kvazaar/Config.in"
source "package/libaacs/Config.in"
source "package/libamcodec/Config.in"
source "package/libass/Config.in"
diff --git a/package/kvazaar/Config.in b/package/kvazaar/Config.in
new file mode 100644
index 0000000..a720f17
--- /dev/null
+++ b/package/kvazaar/Config.in
@@ -0,0 +1,4 @@
+config BR2_PACKAGE_KVAZAAR
+ bool "kvazaar"
+ help
+ An open-source HEVC encoder licensed under LGPLv2.1
diff --git a/package/kvazaar/kvazaar.hash b/package/kvazaar/kvazaar.hash
new file mode 100644
index 0000000..1f3b65f
--- /dev/null
+++ b/package/kvazaar/kvazaar.hash
@@ -0,0 +1 @@
+sha256 8e382738a51004bfcfca4c832e8b41fe6a17f889f3c39151dc1c1a37261a3a6d kvazaar-v1.1.0.tar.gz
diff --git a/package/kvazaar/kvazaar.mk b/package/kvazaar/kvazaar.mk
new file mode 100644
index 0000000..bcf191c
--- /dev/null
+++ b/package/kvazaar/kvazaar.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# kvazaar
+#
+################################################################################
+
+KVAZAAR_VERSION = v1.1.0
+KVAZAAR_SITE = $(call github,ultravideo,kvazaar,$(KVAZAAR_VERSION))
+KVAZAAR_LICENSE = LGPLv2.1
+KVAZAAR_LICENSE_FILES = COPYING
+KVAZAAR_AUTORECONF = YES
+KVAZAAR_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))
--
2.7.4
^ permalink raw reply related
* [Buildroot] [PATCH] package/libloki: new package
From: Romain Naour @ 2017-05-02 21:50 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1493758169-18291-1-git-send-email-corentin.guillevic@smile.fr>
Hi Corentin, All
Le 02/05/2017 ? 22:49, Corentin GUILLEVIC a ?crit :
> A C++ library of designs, containing flexible implementations of common design patterns and idioms.
>
> Signed-off-by: Corentin GUILLEVIC <corentin.guillevic@smile.fr>
> Signed-off-by: Romain Naour <romain.naour@gmail.com>
> ---
> DEVELOPERS | 3 +++
> package/Config.in | 1 +
> package/libloki/Config.in | 12 ++++++++++++
> package/libloki/libloki.hash | 5 +++++
> package/libloki/libloki.mk | 44 ++++++++++++++++++++++++++++++++++++++++++++
> 5 files changed, 65 insertions(+)
> create mode 100644 package/libloki/Config.in
> create mode 100644 package/libloki/libloki.hash
> create mode 100644 package/libloki/libloki.mk
>
Two patches are missing here to fix the install step.
Corentin, care to send an updated patch?
Thanks!
Best regards,
Romain
^ permalink raw reply
* [Buildroot] [PATCH] moarvm: bump version to 2017.04
From: Thomas Petazzoni @ 2017-05-02 20:53 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170418155442.53892-1-Vincent.Riera@imgtec.com>
Hello,
On Tue, 18 Apr 2017 16:54:42 +0100, Vicente Olivert Riera wrote:
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
> ---
> package/moarvm/moarvm.hash | 2 +-
> package/moarvm/moarvm.mk | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [git commit] moarvm: bump version to 2017.04
From: Thomas Petazzoni @ 2017-05-02 20:53 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=077ee247af0b69a58e35aca656e02711c882692c
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/moarvm/moarvm.hash | 2 +-
package/moarvm/moarvm.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/moarvm/moarvm.hash b/package/moarvm/moarvm.hash
index a27d81b..5571c62 100644
--- a/package/moarvm/moarvm.hash
+++ b/package/moarvm/moarvm.hash
@@ -1,2 +1,2 @@
# Locally computed
-sha256 c562a91d462a15f3a964969ddea8b33eae4558e3b25d9e2105f81c259249dbee MoarVM-2017.03.tar.gz
+sha256 7838c92e50afe75669f751db8e15f06666e32d5951d026a89de28f7c7a8c347f MoarVM-2017.04.tar.gz
diff --git a/package/moarvm/moarvm.mk b/package/moarvm/moarvm.mk
index f88c6f9..df5defd 100644
--- a/package/moarvm/moarvm.mk
+++ b/package/moarvm/moarvm.mk
@@ -4,7 +4,7 @@
#
################################################################################
-MOARVM_VERSION = 2017.03
+MOARVM_VERSION = 2017.04
MOARVM_SITE = http://moarvm.com/releases
MOARVM_SOURCE = MoarVM-$(MOARVM_VERSION).tar.gz
MOARVM_LICENSE = Artistic-2.0
^ permalink raw reply related
* [Buildroot] [PATCH v2 1/1] package/rapidjson: switch to CMake
From: Thomas Petazzoni @ 2017-05-02 20:52 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170420230532.21678-1-bernd.kuhls@t-online.de>
Hello,
On Fri, 21 Apr 2017 01:05:32 +0200, Bernd Kuhls wrote:
> Upcoming Kodi v18 depends on RapidJSON and detects it by using pkg-conf:
> https://github.com/xbmc/xbmc/blob/master/cmake/modules/FindRapidJSON.cmake#L13
>
> Currently our package installs only the header files, but RapidJSON.pc
> is also needed. Luckily this can be fixed by switching to CMake which
> does the job, also add configure options to disable the CMake build of
> executables.
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> v2: add configure options to disable build of example code, rapidjson
> is a header-only package, fixes broken -march=native (Thomas)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [git commit] package/rapidjson: switch to CMake
From: Thomas Petazzoni @ 2017-05-02 20:51 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=e810284ccb055dcab6dcf6abf41a15a77ee7888a
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Upcoming Kodi v18 depends on RapidJSON and detects it by using pkg-conf:
https://github.com/xbmc/xbmc/blob/master/cmake/modules/FindRapidJSON.cmake#L13
Currently our package installs only the header files, but RapidJSON.pc
is also needed. Luckily this can be fixed by switching to CMake which
does the job, also add configure options to disable the CMake build of
executables.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/rapidjson/rapidjson.mk | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/package/rapidjson/rapidjson.mk b/package/rapidjson/rapidjson.mk
index d06f529..4d69bc3 100644
--- a/package/rapidjson/rapidjson.mk
+++ b/package/rapidjson/rapidjson.mk
@@ -13,8 +13,9 @@ RAPIDJSON_LICENSE_FILES = license.txt
RAPIDJSON_INSTALL_TARGET = NO
RAPIDJSON_INSTALL_STAGING = YES
-define RAPIDJSON_INSTALL_STAGING_CMDS
- cp -dpfr $(@D)/include/* $(STAGING_DIR)/usr/include
-endef
+RAPIDJSON_CONF_OPTS = \
+ -DRAPIDJSON_BUILD_DOC=OFF \
+ -DRAPIDJSON_BUILD_EXAMPLES=OFF \
+ -DRAPIDJSON_BUILD_TESTS=OFF
-$(eval $(generic-package))
+$(eval $(cmake-package))
^ permalink raw reply related
* [Buildroot] [PATCH 1/2] package/opencv: bump version to 2.4.13.2
From: Thomas Petazzoni @ 2017-05-02 20:50 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170419101142.13051-1-bernd.kuhls@t-online.de>
Hello,
On Wed, 19 Apr 2017 12:11:41 +0200, Bernd Kuhls wrote:
> Removed patch applied upstream:
> https://github.com/opencv/opencv/commit/c7045184ce220a04796d8e9072ac42d2d362dc71
>
> Renumbered remaining patches.
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> ...xt-Do-not-add-libdl-to-LINKER_LIBS-for-s.patch} | 0
> ...ypes_c.h-Fix-compiling-VFP-assembler-code.patch | 37 ----------------------
> package/opencv/opencv.hash | 2 +-
> package/opencv/opencv.mk | 2 +-
> 4 files changed, 2 insertions(+), 39 deletions(-)
> rename package/opencv/{0004-CMakeLists.txt-Do-not-add-libdl-to-LINKER_LIBS-for-s.patch => 0003-CMakeLists.txt-Do-not-add-libdl-to-LINKER_LIBS-for-s.patch} (100%)
> delete mode 100644 package/opencv/0003-types_c.h-Fix-compiling-VFP-assembler-code.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [git commit] package/opencv: bump version to 2.4.13.2
From: Thomas Petazzoni @ 2017-05-02 20:50 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=b4da02a8192e72180cf9ceedc39fc1df19e3ab46
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Removed patch applied upstream:
https://github.com/opencv/opencv/commit/c7045184ce220a04796d8e9072ac42d2d362dc71
Renumbered remaining patches.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
...xt-Do-not-add-libdl-to-LINKER_LIBS-for-s.patch} | 0
...ypes_c.h-Fix-compiling-VFP-assembler-code.patch | 37 ----------------------
package/opencv/opencv.hash | 2 +-
package/opencv/opencv.mk | 2 +-
4 files changed, 2 insertions(+), 39 deletions(-)
diff --git a/package/opencv/0004-CMakeLists.txt-Do-not-add-libdl-to-LINKER_LIBS-for-s.patch b/package/opencv/0003-CMakeLists.txt-Do-not-add-libdl-to-LINKER_LIBS-for-s.patch
similarity index 100%
rename from package/opencv/0004-CMakeLists.txt-Do-not-add-libdl-to-LINKER_LIBS-for-s.patch
rename to package/opencv/0003-CMakeLists.txt-Do-not-add-libdl-to-LINKER_LIBS-for-s.patch
diff --git a/package/opencv/0003-types_c.h-Fix-compiling-VFP-assembler-code.patch b/package/opencv/0003-types_c.h-Fix-compiling-VFP-assembler-code.patch
deleted file mode 100644
index 85a23a0..0000000
--- a/package/opencv/0003-types_c.h-Fix-compiling-VFP-assembler-code.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 18c868c47307b786d1bea729dccaad7f8d696cb7 Mon Sep 17 00:00:00 2001
-From: Bernd Kuhls <bernd.kuhls@t-online.de>
-Date: Tue, 6 Sep 2016 11:49:00 +0200
-Subject: [PATCH 1/1] types_c.h: Fix compiling VFP assembler code
-
-Replace asm by __asm__ according to
-https://gcc.gnu.org/onlinedocs/gcc/Alternate-Keywords.html#Alternate-Keywords
-as suggested by Arnout Vandecappelle:
-http://lists.busybox.net/pipermail/buildroot/2016-September/171491.html
-
-to fix build errors in ffmpeg with opencv2 support detected by
-buildroot autobuilders:
-http://autobuild.buildroot.net/results/c32/c32a21240a9933796ee850349a62ff3c2314f25c/build-end.log
-
-Patch sent upstream: https://github.com/opencv/opencv/pull/7242
-
-Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
----
- modules/core/include/opencv2/core/types_c.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/modules/core/include/opencv2/core/types_c.h b/modules/core/include/opencv2/core/types_c.h
-index c21cd2c..771715d 100644
---- a/modules/core/include/opencv2/core/types_c.h
-+++ b/modules/core/include/opencv2/core/types_c.h
-@@ -318,7 +318,7 @@ enum {
- int res; \
- float temp; \
- (void)temp; \
-- asm(_asm_string : [res] "=r" (res), [temp] "=w" (temp) : [value] "w" (_value)); \
-+ __asm__(_asm_string : [res] "=r" (res), [temp] "=w" (temp) : [value] "w" (_value)); \
- return res;
- // 2. version for double
- #ifdef __clang__
---
-2.9.3
-
diff --git a/package/opencv/opencv.hash b/package/opencv/opencv.hash
index 9686cb2..2c1842b 100644
--- a/package/opencv/opencv.hash
+++ b/package/opencv/opencv.hash
@@ -1,2 +1,2 @@
# Locally calculated
-sha256 94ebcca61c30034d5fb16feab8ec12c8a868f5162d20a9f0396f0f5f6d8bbbff opencv-2.4.13.tar.gz
+sha256 4b00c110e6c54943cbbb7cf0d35c5bc148133ab2095ee4aaa0ac0a4f67c58080 opencv-2.4.13.2.tar.gz
diff --git a/package/opencv/opencv.mk b/package/opencv/opencv.mk
index 4ae550e..ff5ab02 100644
--- a/package/opencv/opencv.mk
+++ b/package/opencv/opencv.mk
@@ -4,7 +4,7 @@
#
################################################################################
-OPENCV_VERSION = 2.4.13
+OPENCV_VERSION = 2.4.13.2
OPENCV_SITE = $(call github,itseez,opencv,$(OPENCV_VERSION))
OPENCV_INSTALL_STAGING = YES
OPENCV_LICENSE = BSD-3-Clause
^ permalink raw reply related
* [Buildroot] [PATCH] daemon: new package
From: Thomas Petazzoni @ 2017-05-02 20:49 UTC (permalink / raw)
To: buildroot
In-Reply-To: <fbdaa88f9b37850b3c15e3f0c521ef4d225a2eb9.1493701664.git.baruch@tkos.co.il>
Hello,
On Tue, 2 May 2017 08:07:44 +0300, Baruch Siach wrote:
> +config BR2_PACKAGE_DAEMON
> + bool "daemon"
> + depends on BR2_USE_MMU # fork()
> + depends on BR2_TOOLCHAIN_HAS_THREADS
> + help
> + Daemon turns other process into daemons.
> +
> + http://www.libslack.org/daemon/
> +
> +comment "daemon needs a toolchain w/ threads"
depends on BR2_USE_MMU
was missing here.
> + depends on !BR2_TOOLCHAIN_HAS_THREADS
Committed with this minor issue fixed. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [git commit] daemon: new package
From: Thomas Petazzoni @ 2017-05-02 20:46 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=22b01ab9bfa5ac37931f2f028ed96eb5d1659f79
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
DEVELOPERS | 1 +
package/Config.in | 1 +
package/daemon/0001-fix-musl.patch | 18 ++++++++++++++++++
package/daemon/Config.in | 12 ++++++++++++
package/daemon/daemon.hash | 3 +++
package/daemon/daemon.mk | 26 ++++++++++++++++++++++++++
6 files changed, 61 insertions(+)
diff --git a/DEVELOPERS b/DEVELOPERS
index 019e100..82eb819 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -140,6 +140,7 @@ F: package/pulseview/
F: package/sigrok-cli/
N: Baruch Siach <baruch@tkos.co.il>
+F: package/daemon/
F: package/ebtables/
F: package/openipmi/
F: package/ti-uim/
diff --git a/package/Config.in b/package/Config.in
index e3b6682..aaecd61 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1795,6 +1795,7 @@ menu "System tools"
source "package/circus/Config.in"
source "package/coreutils/Config.in"
source "package/cpuload/Config.in"
+ source "package/daemon/Config.in"
source "package/dc3dd/Config.in"
source "package/dcron/Config.in"
source "package/ddrescue/Config.in"
diff --git a/package/daemon/0001-fix-musl.patch b/package/daemon/0001-fix-musl.patch
new file mode 100644
index 0000000..9454d72
--- /dev/null
+++ b/package/daemon/0001-fix-musl.patch
@@ -0,0 +1,18 @@
+daemon: fix build with musl
+
+musl requires the ttydefaults.h to be included explicitly for CEOF.
+
+Signed-off-by: Baruch Siach <baruch@tkos.co.il>
+---
+
+diff -Nuar daemon-0.6.4-orig/daemon.c daemon-0.6.4/daemon.c
+--- daemon-0.6.4-orig/daemon.c 2010-06-12 16:37:00.000000000 +0300
++++ daemon-0.6.4/daemon.c 2017-05-01 22:02:17.721413468 +0300
+@@ -665,6 +665,7 @@
+ #ifdef _RESTORE_POSIX_SOURCE
+ #define _POSIX_SOURCE
+ #endif
++#include <sys/ttydefaults.h>
+ #include <sys/wait.h>
+ #include <sys/stat.h>
+ #include <sys/select.h>
diff --git a/package/daemon/Config.in b/package/daemon/Config.in
new file mode 100644
index 0000000..b97f8cf
--- /dev/null
+++ b/package/daemon/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_DAEMON
+ bool "daemon"
+ depends on BR2_USE_MMU # fork()
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ help
+ Daemon turns other process into daemons.
+
+ http://www.libslack.org/daemon/
+
+comment "daemon needs a toolchain w/ threads"
+ depends on BR2_USE_MMU
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/daemon/daemon.hash b/package/daemon/daemon.hash
new file mode 100644
index 0000000..32308ea
--- /dev/null
+++ b/package/daemon/daemon.hash
@@ -0,0 +1,3 @@
+# md5 from http://www.libslack.org/daemon/; sha256 locally calculated
+md5 6cd0a28630a29ac279bc501f39baec66 daemon-0.6.4.tar.gz
+sha256 c4b9ea4aa74d55ea618c34f1e02c080ddf368549037cb239ee60c83191035ca1 daemon-0.6.4.tar.gz
diff --git a/package/daemon/daemon.mk b/package/daemon/daemon.mk
new file mode 100644
index 0000000..dfa573f
--- /dev/null
+++ b/package/daemon/daemon.mk
@@ -0,0 +1,26 @@
+################################################################################
+#
+# daemon
+#
+################################################################################
+
+DAEMON_VERSION = 0.6.4
+DAEMON_SITE = http://libslack.org/daemon/download
+DAEMON_LICENSE = GPL-2.0+
+DAEMON_LICENSE_FILES = LICENSE
+
+define DAEMON_CONFIGURE_CMDS
+ (cd $(@D); ./config)
+endef
+
+define DAEMON_BUILD_CMDS
+ $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
+endef
+
+define DAEMON_INSTALL_TARGET_CMDS
+ $(TARGET_MAKE_ENV) DEB_BUILD_OPTIONS=nostrip \
+ $(MAKE) PREFIX=$(TARGET_DIR)/usr -C $(@D) \
+ install-daemon-bin
+endef
+
+$(eval $(generic-package))
^ permalink raw reply related
* [Buildroot] [RFC 1/2] configs: raspberrypi3: fix mismatch cpu arch
From: Thomas Petazzoni @ 2017-05-02 20:40 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170416151409.7665-2-gael.portay@savoirfairelinux.com>
Hello,
On Sun, 16 Apr 2017 11:14:08 -0400, Ga?l PORTAY wrote:
> The raspberrypi3 is powered by a Broadcom BCM2837 which is a Cortex-A53.
>
> Signed-off-by: Ga?l PORTAY <gael.portay@savoirfairelinux.com>
> ---
> configs/raspberrypi3_defconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks, I have applied https://patchwork.ozlabs.org/patch/757022/
instead, which was a little bit more complete, but essentially does the
same thing.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [PATCH] config/raspberrypi3: use correct CPU
From: Thomas Petazzoni @ 2017-05-02 20:40 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170501091104.3183-1-yann.morin.1998@free.fr>
Hello,
On Mon, 1 May 2017 11:11:04 +0200, Yann E. MORIN wrote:
> We so far were using a Cortex-A7 as the CPU for the rpi3, as this was
> the closest we had available, in 32-bit mode, to the real CPU used in
> the rpi3.
>
> But now we can also use the Cortex-A53 in 32-bit mode, so we use that,
> which makes for an optimised build (A53 has an improved instruction set,
> as compared to the A7).
>
> Also drop the DTB overlay option, it defaults to 'y'.
>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> Cc: Martin Bark <martin@barkynet.com>
> Cc: Peter Seiderer <ps.report@gmx.net>
>
> ---
> Martin, Peter, you are the last ones to have touched this defconfig, and
> I lack a rpi3. Would you be kind enough to test this on your hw, please?
> ---
> configs/raspberrypi3_defconfig | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [git commit] configs/raspberrypi3: use correct CPU
From: Thomas Petazzoni @ 2017-05-02 20:40 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=a13a388dd444ee047f0e7b8c10f5e6c235ec5004
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
We so far were using a Cortex-A7 as the CPU for the rpi3, as this was
the closest we had available, in 32-bit mode, to the real CPU used in
the rpi3.
But now we can also use the Cortex-A53 in 32-bit mode, so we use that,
which makes for an optimised build (A53 has an improved instruction set,
as compared to the A7).
Also drop the DTB overlay option, it defaults to 'y'.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Martin Bark <martin@barkynet.com>
Cc: Peter Seiderer <ps.report@gmx.net>
Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
configs/raspberrypi3_defconfig | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/configs/raspberrypi3_defconfig b/configs/raspberrypi3_defconfig
index 1b2134e..f5bfebc 100644
--- a/configs/raspberrypi3_defconfig
+++ b/configs/raspberrypi3_defconfig
@@ -1,6 +1,5 @@
BR2_arm=y
-BR2_cortex_a7=y
-BR2_ARM_EABIHF=y
+BR2_cortex_a53=y
BR2_ARM_FPU_NEON_VFPV4=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
@@ -21,7 +20,6 @@ BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2710-rpi-3-b bcm2710-rpi-cm3"
BR2_PACKAGE_RPI_FIRMWARE=y
-BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS=y
# Required tools to create the SD image
BR2_PACKAGE_HOST_DOSFSTOOLS=y
^ permalink raw reply related
* [Buildroot] [PATCH v2 1/1] libcsv: new package
From: Thomas Petazzoni @ 2017-05-02 20:38 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1493680300-30123-1-git-send-email-matthew.weber@rockwellcollins.com>
Hello,
On Mon, 1 May 2017 18:11:40 -0500, Matt Weber wrote:
> From: David Graziano <david.graziano@rockwellcollins.com>
>
> libcsv is a small, simple and fast CSV library written in pure
> ANSI C89 that can read and write CSV data.
>
> Signed-off-by: David Graziano <david.graziano@rockwellcollins.com>
> Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
> ---
> v1 -> v2
> [Thomas P
> - Updated to SPDX license identifier
> - Removed redundant src archive declaration
> - Removed host build as buildroot doesn't have
> a dependent package using it
> - Added developers file entry
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [git commit] libcsv: new package
From: Thomas Petazzoni @ 2017-05-02 20:35 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=cf9a5c729f40762ae8126143ddfd8604d438e658
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
libcsv is a small, simple and fast CSV library written in pure
ANSI C89 that can read and write CSV data.
Signed-off-by: David Graziano <david.graziano@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
DEVELOPERS | 4 ++++
package/Config.in | 1 +
package/libcsv/Config.in | 10 ++++++++++
package/libcsv/libcsv.hash | 2 ++
package/libcsv/libcsv.mk | 13 +++++++++++++
5 files changed, 30 insertions(+)
diff --git a/DEVELOPERS b/DEVELOPERS
index 8db6dc8..019e100 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -413,6 +413,9 @@ F: package/openldap/
N: David du Colombier <0intro@gmail.com>
F: package/x264/
+N: David Graziano <david.graziano@rockwellcollins.com>
+F: package/libcsv/
+
N: David Lechner <david@lechnology.com>
F: board/lego/ev3/
F: configs/lego_ev3_defconfig
@@ -1067,6 +1070,7 @@ F: package/fmc/
F: package/fmlib/
F: package/igmpproxy/
F: package/iputils/
+F: package/libcsv/
F: package/omniorb/
F: package/python-ipy/
F: package/python-posix-ipc/
diff --git a/package/Config.in b/package/Config.in
index bfcfb73..e3b6682 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1367,6 +1367,7 @@ menu "Other"
source "package/libcofi/Config.in"
source "package/libcroco/Config.in"
source "package/libcrossguid/Config.in"
+ source "package/libcsv/Config.in"
source "package/libdaemon/Config.in"
source "package/libee/Config.in"
source "package/libev/Config.in"
diff --git a/package/libcsv/Config.in b/package/libcsv/Config.in
new file mode 100644
index 0000000..797c735
--- /dev/null
+++ b/package/libcsv/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_LIBCSV
+ bool "libcsv"
+ help
+ libcsv is a small, simple and fast CSV library written in
+ pure ANSI C89 that can read and write CSV data. It provides
+ a straight-forward interface using callback functions to
+ handle parsed fields and rows and can parse improperly
+ formatted CSV files.
+
+ https://sourceforge.net/projects/libcsv/
diff --git a/package/libcsv/libcsv.hash b/package/libcsv/libcsv.hash
new file mode 100644
index 0000000..e35c44f
--- /dev/null
+++ b/package/libcsv/libcsv.hash
@@ -0,0 +1,2 @@
+#locally computed
+sha256 d9c0431cb803ceb9896ce74f683e6e5a0954e96ae1d9e4028d6e0f967bebd7e4 libcsv-3.0.3.tar.gz
diff --git a/package/libcsv/libcsv.mk b/package/libcsv/libcsv.mk
new file mode 100644
index 0000000..d0ce643
--- /dev/null
+++ b/package/libcsv/libcsv.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# libcsv
+#
+################################################################################
+
+LIBCSV_VERSION = 3.0.3
+LIBCSV_SITE = http://sourceforge.net/projects/libcsv/files
+LIBCSV_LICENSE = LGPL-2.1+
+LIBCSV_LICENSE_FILES = COPYING.LESSER
+LIBCSV_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))
^ permalink raw reply related
* [Buildroot] [PATCH] python-netaddr: change setup type to setuptools
From: Thomas Petazzoni @ 2017-05-02 20:35 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170502121459.18710-1-yegorslists@googlemail.com>
Hello,
On Tue, 2 May 2017 14:14:59 +0200, yegorslists at googlemail.com wrote:
> From: Yegor Yefremov <yegorslists@googlemail.com>
>
> The latest netaddr version switched to setuptools.
>
> Fixes:
>
> http://autobuild.buildroot.net/results/e9b/e9b0013abe7e866fd224593f90ec30bdc809151f
>
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
> ---
> package/python-netaddr/python-netaddr.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [PATCH] luajit: bump to version 2.0.5
From: Thomas Petazzoni @ 2017-05-02 20:35 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170502075622.22153-1-francois.perrad@gadz.org>
Hello,
On Tue, 2 May 2017 09:56:22 +0200, Francois Perrad wrote:
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> ---
> package/luajit/0001-no-bin-symlink.patch | 10 +++++-----
> package/luajit/0003-install-so.patch | 22 ----------------------
> package/luajit/luajit.hash | 2 +-
> package/luajit/luajit.mk | 2 +-
> 4 files changed, 7 insertions(+), 29 deletions(-)
> delete mode 100644 package/luajit/0003-install-so.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox