* [Buildroot] [PATCH 10/13] Add update-all-config target
From: Arnout Vandecappelle @ 2012-10-20 16:47 UTC (permalink / raw)
To: buildroot
In-Reply-To: <CAAXf6LWwO6OkBhz03vsBekTWv4=9Bb7eO-sskvzhdTCD58K7oA@mail.gmail.com>
On 14/10/12 20:45, Thomas De Schampheleire wrote:
>> +
>> > +ctng-update-config: $(CTNG_DIR)/.config
>> > + $(Q)cp $< $(CTNG_CONFIG_FILE)
>> > +
>> > +ifneq ($(CTNG_CONFIG_FILE),)
>> > +UPDATE_ALL_CONFIG_TARGETS += ctng-update-config
>> > +endif
> I would personally have split the addition of an update-config feature
> for crosstool-ng from this patch that wraps the different
> update-config targets in one update-all-config.
Good point.
> I wonder why ctng-update-config uses a different type of recipe than
> their counterparts in busybox, uclibc, ...
>
> For busybox it is:
>> > busybox-update-config:
>> > cp -f $(BUSYBOX_BUILD_CONFIG) $(BUSYBOX_CONFIG_FILE)
> while for ctng, as proposed above:
>> > +ctng-update-config: $(CTNG_DIR)/.config
>> > + $(Q)cp $< $(CTNG_CONFIG_FILE)
> Differences:
>
> - target dependency
linux and uclibc have it, only busybox is missing it.
> - $(Q)
My bad.
> - forced copy
Ah, except that cp -f doesn't mean forced copy; it means: remove an
already existing file before the copy. That means that permissions are
lost and if it's a symlink, it's not the file it points to that gets
updated. So I think cp -f is _not_ what we want here...
> I would say that since all these packages are using the same kind of
> config system, the way to save their config files should also line up.
> It's possible that the new ctng-update-config is better in some ways,
> but in this case I think the other ones should be updated as well
True, so I'll fix the use of -f in a separate patch. And add the
dependency for busybox as well.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply
* [Buildroot] [PATCH] barebox: Allow to pass a custom configuration file
From: Arnout Vandecappelle @ 2012-10-20 16:22 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1350547405-31491-1-git-send-email-maxime.ripard@free-electrons.com>
On 18/10/12 10:03, Maxime Ripard wrote:
> define BAREBOX_CONFIGURE_CMDS
> - $(MAKE) $(BAREBOX_MAKE_FLAGS) -C $(@D) $(BAREBOX_BOARD_DEFCONFIG)_defconfig
> + cp $(BAREBOX_SOURCE_CONFIG) $(@D)/arch/$(BAREBOX_ARCH)/configs/buildroot_defconfig
> + $(MAKE) $(BAREBOX_MAKE_FLAGS) -C $(@D) buildroot_defconfig
> endef
Could you also add barebox-update-{def,}config targets that save the config
back to BAREBOX_SOURCE_CONFIG ?
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply
* [Buildroot] [PATCH 12/13] target/generic: add filesystem overlay option
From: Arnout Vandecappelle @ 2012-10-20 16:15 UTC (permalink / raw)
To: buildroot
In-Reply-To: <CAAXf6LX7XXSGyvxZegNusZn6ecD_-4_N9665Lzp2RkXpy+6RLA@mail.gmail.com>
On 14/10/12 20:50, Thomas De Schampheleire wrote:
> On Sun, Oct 14, 2012 at 1:14 AM, Arnout Vandecappelle (Essensium/Mind)
> <arnout@mind.be> wrote:
>> > From: Arnout Vandecappelle (Essensium/Mind)<arnout@mind.be>
>> >
>> > The filesystem overlay is a tree that is copied over the target fs
>> > after building everything - which is currently usually done in the
>> > post-build script.
>> >
>> > Also replace the documentation for a custom skeleton with the
>> > filesystem overlay and deprecate the custom skeleton.
>> >
>> > Signed-off-by: Arnout Vandecappelle (Essensium/Mind)<arnout@mind.be>
> Note that I'm not against this feature, but we discussed this before
> (I think on Buildroot Developer Day in Brussels beginning of 2012, or
> otherwise on the list) and the outcome back then was that it was not
> necessary as it was very easy to add directly to the post-build
> script.
I understood it as: it's a low-priority nice-to-have because there are
other ways to do it. So I will resend this patch.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply
* [Buildroot] [PATCH 9/9] firefox: GNU gnash flash, an open source Adobe Flash player & plugin
From: Arnout Vandecappelle @ 2012-10-20 15:55 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1346855344-15081-10-git-send-email-stefan.froberg@petroprogram.com>
On 05/09/12 16:29, Stefan Fr?berg wrote:
>
> Signed-off-by: Stefan Fr?berg<stefan.froberg@petroprogram.com>
Finally got 'round to reviewing this patch. Review only, no testing.
> ---
> package/gnash/Config.in | 20 +++
> package/gnash/gnash-0.8.10-amf-include.patch | 45 +++++
> package/gnash/gnash-0.8.10-cve-2012-1175.patch | 63 +++++++
> package/gnash/gnash-0.8.10-external-dejagnu.patch | 24 +++
> package/gnash/gnash-0.8.10-gettext-macro.patch | 170 ++++++++++++++++++++
> package/gnash/gnash-0.8.10-jemalloc-aslr-fix.patch | 52 ++++++
> package/gnash/gnash-0.8.10-kde4-libdir.patch | 12 ++
> package/gnash/gnash-0.8.10-klash.patch | 12 ++
> package/gnash/gnash-0.8.10-npapi-sdk.patch | 29 ++++
> package/gnash/gnash.mk | 45 +++++
> 10 files changed, 472 insertions(+), 0 deletions(-)
> create mode 100644 package/gnash/Config.in
> create mode 100644 package/gnash/gnash-0.8.10-amf-include.patch
> create mode 100644 package/gnash/gnash-0.8.10-cve-2012-1175.patch
> create mode 100644 package/gnash/gnash-0.8.10-external-dejagnu.patch
> create mode 100644 package/gnash/gnash-0.8.10-gettext-macro.patch
> create mode 100644 package/gnash/gnash-0.8.10-jemalloc-aslr-fix.patch
> create mode 100644 package/gnash/gnash-0.8.10-kde4-libdir.patch
> create mode 100644 package/gnash/gnash-0.8.10-klash.patch
> create mode 100644 package/gnash/gnash-0.8.10-npapi-sdk.patch
> create mode 100644 package/gnash/gnash.mk
>
> diff --git a/package/gnash/Config.in b/package/gnash/Config.in
> new file mode 100644
> index 0000000..437b8d8
> --- /dev/null
> +++ b/package/gnash/Config.in
> @@ -0,0 +1,20 @@
> +config BR2_PACKAGE_GNASH
> + bool "Enable Adobe Flash support with GNU gnash"
> + select BR2_PACKAGE_AGG
> + select BR2_PACKAGE_BOOST
> + select BR2_PACKAGE_GST_FFMPEG
> + select BR2_PACKAGE_GCONF
> + select BR2_PACKAGE_GIFLIB
> + select BR2_PACKAGE_OPENSSL
> + depends on BR2_PACKAGE_FIREFOX
Gnash is a stand-alone executable, no? It can also run without
firefox, right?
> + help
> + Gnash is the GNU Flash movie player and browser plugin. This is useful for watching
> + YouTube videos or simple flash animations.
> +
> + Currently, Gnash can play SWF files up to version 7, and 80% of ActionScript 2.0.
> + For full, open source Flash support you could try to use Lightspark with Gnash.
> + That is, for newer SWF files Lightspark will be used and it will fallback to
> + using Gnash with older versions.
Word wrap help text at 80 columns (where tab counts as 8).
> +
> + http://ftp.gnu.org/pub/gnu/gnash
http://www.gnashdev.org/ or http://www.gnu.org/software/gnash/ seems
more appropriate.
> +
Trailing empty line.
> diff --git a/package/gnash/gnash-0.8.10-amf-include.patch b/package/gnash/gnash-0.8.10-amf-include.patch
> new file mode 100644
> index 0000000..983fa6b
> --- /dev/null
> +++ b/package/gnash/gnash-0.8.10-amf-include.patch
> @@ -0,0 +1,45 @@
Missing explanation + SOB.
> +diff -ur a/cygnal/libnet/cque.h b/cygnal/libnet/cque.h
> +--- a/cygnal/libnet/cque.h 2012-01-19 20:17:47.000000000 +0100
> ++++ b/cygnal/libnet/cque.h 2012-02-23 20:13:39.000000000 +0100
> +@@ -25,8 +25,9 @@
> + #include<boost/thread/condition.hpp>
> + #include<deque>
> +
> ++#include "../libamf/amf.h"
> + #include "getclocktime.hpp"
> +-#include "buffer.h"
> ++#include "../libamf/buffer.h"
That's weird... It would seem that gnash wouldn't compile for anyone without
this patch...
> + #include "network.h"
> + #include "dsodefs.h" //For DSOEXPORT.
> +
> +diff -ur a/cygnal/libnet/sshclient.h b/cygnal/libnet/sshclient.h
> +--- a/cygnal/libnet/sshclient.h 2012-01-19 20:17:47.000000000 +0100
> ++++ b/cygnal/libnet/sshclient.h 2012-02-23 20:13:09.000000000 +0100
> +@@ -32,9 +32,10 @@
> + #include<libssh/sftp.h>
> + }
> +
> ++#include "../libamf/amf.h"
> + #include "cque.h"
> + #include "network.h"
> +-#include "buffer.h"
> ++#include "../libamf/buffer.h"
> +
> + namespace gnash
> + {
> +diff -ur a/cygnal/libnet/sslclient.h b/cygnal/libnet/sslclient.h
> +--- a/cygnal/libnet/sslclient.h 2012-01-19 20:17:47.000000000 +0100
> ++++ b/cygnal/libnet/sslclient.h 2012-02-23 20:13:21.000000000 +0100
> +@@ -36,10 +36,11 @@
> + #include<openssl/err.h>
> + #endif
> +
> ++#include "../libamf/amf.h"
> + #include "dsodefs.h"
> + #include "cque.h"
> + #include "network.h"
> +-#include "buffer.h"
> ++#include "../libamf/buffer.h"
> +
> +
> + namespace gnash
> diff --git a/package/gnash/gnash-0.8.10-cve-2012-1175.patch b/package/gnash/gnash-0.8.10-cve-2012-1175.patch
> new file mode 100644
> index 0000000..9a218d9
> --- /dev/null
> +++ b/package/gnash/gnash-0.8.10-cve-2012-1175.patch
> @@ -0,0 +1,63 @@
> +From bb4dc77eecb6ed1b967e3ecbce3dac6c5e6f1527 Mon Sep 17 00:00:00 2001
> +From: Benjamin Wolsey<bwy@benjaminwolsey.de>
> +Date: Sat, 10 Mar 2012 14:52:50 +0000
> +Subject: Fix crash in GnashImage.cpp
You still need to add your Signed-off-by tag here, to keep track of the
delivery path. At least, that's how I interpret the rules. Peter?
[snip]
> diff --git a/package/gnash/gnash-0.8.10-external-dejagnu.patch b/package/gnash/gnash-0.8.10-external-dejagnu.patch
> new file mode 100644
> index 0000000..eaffda7
> --- /dev/null
> +++ b/package/gnash/gnash-0.8.10-external-dejagnu.patch
> @@ -0,0 +1,24 @@
Missing explanation + SOB.
> +diff -ur a/plugin/npapi/test.cpp b/plugin/npapi/test.cpp
> +--- a/plugin/npapi/test.cpp 2011-03-13 17:47:36.000000000 +0100
> ++++ b/plugin/npapi/test.cpp 2011-03-20 23:52:20.369998096 +0100
> +@@ -35,7 +35,7 @@
> + #include "npfunctions.h"
> + #endif
> + #include "pluginbase.h"
> +-#include "dejagnu.h"
> ++#include<dejagnu.h>
> + #include "../../testsuite/check.h"
> + #include<regex.h>
> +
> +diff -ur a/testsuite/check.h b/testsuite/check.h
> +--- a/testsuite/check.h 2011-02-26 19:11:08.000000000 +0100
> ++++ b/testsuite/check.h 2011-03-20 23:52:32.570998094 +0100
> +@@ -29,7 +29,7 @@
> +
> + #define HAVE_DEJAGNU_H 1 // we ship our own now...
> + #ifdef HAVE_DEJAGNU_H
> +-#include "dejagnu.h"
> ++#include<dejagnu.h>
> +
> + #define info(x) note x
> +
> diff --git a/package/gnash/gnash-0.8.10-gettext-macro.patch b/package/gnash/gnash-0.8.10-gettext-macro.patch
Missing explanation + SOB.
I don't understand how this one can be needed, since gnash indirectly depends
on libglib2 which depends on gettext.
> new file mode 100644
> index 0000000..0501f74
> --- /dev/null
> +++ b/package/gnash/gnash-0.8.10-gettext-macro.patch
> @@ -0,0 +1,170 @@
> +diff -ur a/libdevice/vaapi/VaapiImage.cpp b/libdevice/vaapi/VaapiImage.cpp
> +--- a/libdevice/vaapi/VaapiImage.cpp 2012-01-19 20:17:48.000000000 +0100
> ++++ b/libdevice/vaapi/VaapiImage.cpp 2012-02-23 19:05:13.000000000 +0100
> +@@ -35,7 +35,7 @@
> + : _format(format)
> + , _image_data(NULL)
> + {
> +- log_debug(_("VaapiImage::VaapiImage(): format '%s'\n", string_of_FOURCC(format)));
> ++ log_debug("VaapiImage::VaapiImage(): format '%s'\n", string_of_FOURCC(format));
> +
> + memset(&_image, 0, sizeof(_image));
> + _image.image_id = VA_INVALID_ID;
[snip]
> diff --git a/package/gnash/gnash-0.8.10-jemalloc-aslr-fix.patch b/package/gnash/gnash-0.8.10-jemalloc-aslr-fix.patch
> new file mode 100644
> index 0000000..413744c
> --- /dev/null
> +++ b/package/gnash/gnash-0.8.10-jemalloc-aslr-fix.patch
> @@ -0,0 +1,52 @@
Missing explanation + SOB.
> +diff -Naur gnash-0.8.10.alt/libbase/jemalloc.c gnash-0.8.10/libbase/jemalloc.c
> +--- gnash-0.8.10.alt/libbase/jemalloc.c 2012-02-07 09:39:41.000000000 +0100
> ++++ gnash-0.8.10/libbase/jemalloc.c 2012-02-24 18:36:47.000000000 +0100
> +@@ -429,7 +429,7 @@
> + static const bool __isthreaded = true;
> + #endif
> +
> +-#if defined(MOZ_MEMORY_SOLARIS)&& defined(MAP_ALIGN)&& !defined(JEMALLOC_NEVER_USES_MAP_ALIGN)
> ++#if defined(MOZ_MEMORY_SOLARIS)&& defined(MAP_ALIGN)&& !defined(JEMALLOC_NEVER_USES_MAP_ALIGN) || defined(MOZ_MEMORY_LINUX)
Add () to make the precedence more explicit.
> + #define JEMALLOC_USES_MAP_ALIGN /* Required on Solaris 10. Might improve performance elsewhere. */
> + #endif
> +
> +@@ -2238,6 +2238,7 @@
> + * We don't use MAP_FIXED here, because it can cause the *replacement*
> + * of existing mappings, and we only want to create new mappings.
> + */
> ++#ifdef MOZ_MEMORY_SOLARIS
> + #ifdef MALLOC_PAGEFILE
> + if (pfd != -1) {
> + ret = mmap((void *)alignment, size, PROT_READ | PROT_WRITE, MAP_PRIVATE |
> +@@ -2252,6 +2253,31 @@
> +
> + if (ret == MAP_FAILED)
> + ret = NULL;
> ++#else /* !MOZ_MEMORY_SOLARIS */
> ++#ifdef MALLOC_PAGEFILE
> ++ if (pfd != -1) {
> ++ ret = mmap((void *)alignment, size, PROT_READ | PROT_WRITE, MAP_PRIVATE |
> ++ MAP_NOSYNC, pfd, 0);
> ++ } else
> ++#endif
> ++ {
> ++ ret = mmap(NULL, size + alignment, PROT_READ | PROT_WRITE, MAP_PRIVATE |
> ++ MAP_NOSYNC | MAP_ANON, -1, 0);
> ++ }
> ++ assert(ret != NULL);
> ++
> ++ if (ret == MAP_FAILED)
> ++ return NULL;
> ++
> ++ uintptr_t aligned_ret;
> ++ size_t extra_size;
> ++ aligned_ret = (uintptr_t)ret + alignment - 1;
> ++ aligned_ret&= ~(alignment - 1);
> ++ extra_size = aligned_ret - (uintptr_t)ret;
> ++ munmap(ret, extra_size);
> ++ munmap(ret + extra_size + size, alignment - extra_size);
> ++ ret = (void*)aligned_ret;
> ++#endif /* ifdef MOZ_MEMORY_SOLARIS*/
> + return (ret);
> + }
> + #endif
> diff --git a/package/gnash/gnash-0.8.10-kde4-libdir.patch b/package/gnash/gnash-0.8.10-kde4-libdir.patch
> new file mode 100644
> index 0000000..b327944
> --- /dev/null
> +++ b/package/gnash/gnash-0.8.10-kde4-libdir.patch
> @@ -0,0 +1,12 @@
Missing explanation + SOB.
Is this patch relevant? We don't have KDE in buildroot, so why would
we want patches for it?
> +diff -ur a/macros/kde4.m4 b/macros/kde4.m4
> +--- a/macros/kde4.m4 2011-02-26 19:11:08.000000000 +0100
> ++++ b/macros/kde4.m4 2011-11-25 18:09:25.000000000 +0100
> +@@ -198,7 +198,7 @@
> + if test -d ${KDE4_PREFIX}/lib64 -a -f /etc/redhat-release; then
> + KDE4_PLUGINDIR="${KDE4_PREFIX}/lib64/kde4"
> + else
> +- KDE4_PLUGINDIR="${KDE4_PREFIX}/lib/kde4"
> ++ KDE4_PLUGINDIR="${KDE4_PREFIX}/${acl_libdirstem}/kde4"
> + fi
> + fi
> + if test x"${with_kde4_servicesdir}" != x ; then
> diff --git a/package/gnash/gnash-0.8.10-klash.patch b/package/gnash/gnash-0.8.10-klash.patch
> new file mode 100644
> index 0000000..e6afec0
> --- /dev/null
> +++ b/package/gnash/gnash-0.8.10-klash.patch
> @@ -0,0 +1,12 @@
> +diff -ur a/macros/kde4.m4 b/macros/kde4.m4
> +--- a/macros/kde4.m4 2011-02-26 19:11:08.000000000 +0100
> ++++ b/macros/kde4.m4 2011-03-21 00:04:38.845997945 +0100
> +@@ -210,7 +210,7 @@
> + KDE4_CONFIGDIR="${KDE4_PREFIX}/share/kde4/config"
> + fi
> + if test x"${KDE4_APPSDATADIR}" = x ; then
> +- KDE4_APPSDATADIR="${KDE4_PREFIX}/share/kde4/apps/klash"
> ++ KDE4_APPSDATADIR="${KDE4_PREFIX}/share/apps/klash"
> + fi
> +
> + if test x"${ac_cv_path_kde4_incl}" != x ; then
> diff --git a/package/gnash/gnash-0.8.10-npapi-sdk.patch b/package/gnash/gnash-0.8.10-npapi-sdk.patch
> new file mode 100644
> index 0000000..eb54295
> --- /dev/null
> +++ b/package/gnash/gnash-0.8.10-npapi-sdk.patch
> @@ -0,0 +1,29 @@
> +From 983a675c94ecec54ae14593744aa9a2198466499 Mon Sep 17 00:00:00 2001
> +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?=<mgorny@gentoo.org>
> +Date: Thu, 15 Sep 2011 12:59:55 +0200
> +Subject: [PATCH] Support building against NPAPI-SDK as well.
Add your SOB.
> +
> +---
> + macros/npapi.m4 | 6 +++++-
> + 1 files changed, 5 insertions(+), 1 deletions(-)
> +
> +diff --git a/macros/npapi.m4 b/macros/npapi.m4
> +index e3bde2f..522bbb1 100644
> +--- a/macros/npapi.m4
> ++++ b/macros/npapi.m4
> +@@ -34,7 +34,11 @@ AC_DEFUN([GNASH_PATH_NPAPI],
> +
> + if test x$cross_compiling = xno; then
> + if test x"$PKG_CONFIG" != x -a x"${ac_cv_path_npapi_incl}" = x; then
> +- $PKG_CONFIG --exists mozilla-plugin&& NPAPI_CFLAGS="`$PKG_CONFIG --cflags mozilla-plugin`"
> ++ if $PKG_CONFIG --exists npapi-sdk; then
> ++ NPAPI_CFLAGS="`$PKG_CONFIG --cflags npapi-sdk`"
> ++ elif $PKG_CONFIG --exists mozilla-plugin; then
> ++ NPAPI_CFLAGS="`$PKG_CONFIG --cflags mozilla-plugin`"
> ++ fi
> + fi
> + fi
> +
> +--
> +1.7.3.4
> +
> diff --git a/package/gnash/gnash.mk b/package/gnash/gnash.mk
> new file mode 100644
> index 0000000..7a2dd8e
> --- /dev/null
> +++ b/package/gnash/gnash.mk
> @@ -0,0 +1,45 @@
> +#############################################################
> +#
> +# gnash
> +#
> +#############################################################
> +
> +GNASH_VERSION = 0.8.10
> +GNASH_SOURCE = gnash-$(GNASH_VERSION).tar.gz
> +
> +# GNU tarball from:
> +# http://ftp.gnu.org/pub/gnu/gnash/$(GNASH_VERSION)/
> +# is broken. It is missing GnashVaapiTexture.h so you
> +# can't even try to build VA API Hardware Accelerated Flash player.
> +# (note that it is not working ... yet)
> +#
> +# http://savannah.gnu.org/bugs/?35612
> +#
> +# That's why we use gentoo one from one of the mirrors.
> +GNASH_SITE = http://ftp.uni-erlangen.de/pub/mirrors/gentoo/distfiles/
> +GNASH_DEPENDENCIES = agg boost gst-ffmpeg firefox gconf giflib openssl
> +GNASH_AUTORECONF = YES
> +
> +GNASH_CONF_ENV = PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
> + PKG_CONFIG_DIR= \
> + PKG_CONFIG_LIBDIR="$(STAGING_DIR)/usr/lib/pkgconfig:$(STAGING_DIR)/usr/share/pkgconfig" \
> + PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" \
> + PKG_CONFIG_SYSROOT_DIR="$(STAGING_DIR)" \
All this shouldn't be necessary.
> + CPPFLAGS="`$(PKG_CONFIG_HOST_BINARY) --cflags gdk-pixbuf-2.0`" \
> + LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs gdk-pixbuf-2.0` `$(PKG_CONFIG_HOST_BINARY) --libs libva-x11`"
Better define GNASH_CPPFLAGS and GNASH_LIBS separately and use
those variables here.
> +
> +GNASH_CONF_OPT += --enable-gui=gtk --enable-media=ffmpeg --with-sysroot=$(STAGING_DIR)/usr \
> + --with-npapi-incl=$(STAGING_DIR)/usr/include/npapi \
> + --with-npapi-plugindir=$(TARGET_DIR)/usr/lib/mozilla/plugins \
> + --enable-renderer=agg,cairo --enable-doublebuf --enable-visibility --enable-offscreen --enable-ssl
Shouldn't cairo be a dependency as well?
Can ssl be made optional with
ifeq ($(BR2_PACKAGE_OPENSSL),y)
GNASH_CONF_OPT += --enable-ssl
GNASH_CONF_DEPENDENCES += openssl
else
GNASH_CONF_OPT += --disable-ssl
endif
?
> +
> +define GNASH_INSTALL_TARGET_CMDS
> + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
> + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install-plugin
I would add the install-plugin only if firefox is selected.
> +endef
> +
> +$(eval $(autotools-package))
> +
> +
> +
> +
Redundant empty lines.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply
* [Buildroot] Kernel does not boot : dts is not appended to the kernel (Karo TX53 [imx53])
From: Arnout Vandecappelle @ 2012-10-20 12:33 UTC (permalink / raw)
To: buildroot
In-Reply-To: <60668BA527D046AF87F109CE552F27AF@JohanW7>
On 20/10/12 11:25, Sagaert Johan wrote:
>
> Hi Arnout
>
> After logging the output of make i found that if you have build the kernel without the dtb appended and switch on the option
> afterwards then buildroot does not do the appending when make is run again...
> Would it need some .dtb_appended stamp in the linux.mk makefile ?
Buildroot never rebuilds things automatically when you change the
configuration. E.g. if you change the "kernel config file to use", this
will not trigger a reconfigure. Or if you change from zImage to bzImage,
it is not rebuilt. Sometimes it does rebuild, but that's more by accident
than anything else.
Automatically detecting changes in the config would be possible, but messy.
I don't think we want to add that complexity to buildroot.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply
* [Buildroot] Kernel does not boot : dts is not appended to the kernel (Karo TX53 [imx53])
From: Sagaert Johan @ 2012-10-20 9:25 UTC (permalink / raw)
To: buildroot
In-Reply-To: <5081BC26.3000103@mind.be>
Hi Arnout
After logging the output of make i found that if you have build the kernel without the dtb appended and switch on the option
afterwards then buildroot does not do the appending when make is run again...
Would it need some .dtb_appended stamp in the linux.mk makefile ?
-----Oorspronkelijk bericht-----
Van: buildroot-bounces at busybox.net [mailto:buildroot-bounces at busybox.net] Namens Arnout Vandecappelle
Verzonden: vrijdag 19 oktober 2012 22:47
Aan: Sagaert Johan
CC: buildroot at busybox.net
Onderwerp: Re: [Buildroot] Kernel does not boot : dts is not appended to the kernel (Karo TX53 [imx53])
On 19/10/12 17:02, Sagaert Johan wrote:
> #2. Concatenate the kernel with the generated DT blob:
> cat arch/arm/boot/zImage arch/arm/boot/tx53.dtb>
> arch/arm/boot/zImage_tx53
>
> When I look under output/images I see only zImage, not the kernel with the appended dts blob (zImge_tx53).
This is what buildroot does, except it goes to images/zImage.
Can you verify that buildroot builds arch/arm/boot/tx53.dtb correctly? It builds just one specific dtb, not all dtbs, so that
should be easy to verify.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F _______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply
* [Buildroot] [autobuild.buildroot.net] Build results for 2012-10-19
From: Thomas Petazzoni @ 2012-10-20 6:33 UTC (permalink / raw)
To: buildroot
Hello,
On 2012-10-19, 102 random build tests have been done and
submitted on autobuild.buildroot.net.
64 builds have been successful
38 builds have failed
Below the results of the failed builds. Successful builds are omitted.
Build 66cbb11b9804b46191bb0e51caba39b6e8c8ec17
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : powerpc
Submitted by : Peter Korsgaard (gcc14)
Submitted at : 2012-10-19 00:06:42
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=dd81b498378b60b380d75b63f58418b2465731d5
End of log : http://autobuild.buildroot.net/results/66cbb11b9804b46191bb0e51caba39b6e8c8ec17/build-end.log
Complete log : http://autobuild.buildroot.net/results/66cbb11b9804b46191bb0e51caba39b6e8c8ec17/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/66cbb11b9804b46191bb0e51caba39b6e8c8ec17/config
Defconfig : http://autobuild.buildroot.net/results/66cbb11b9804b46191bb0e51caba39b6e8c8ec17/defconfig
Build cccbf34a49c03db8e7bccac21909b868bc661873
==============================================
Status : NOK
Failure reason : libffi-3.0.11
Architecture : microblaze
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-19 00:20:31
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=dd81b498378b60b380d75b63f58418b2465731d5
End of log : http://autobuild.buildroot.net/results/cccbf34a49c03db8e7bccac21909b868bc661873/build-end.log
Complete log : http://autobuild.buildroot.net/results/cccbf34a49c03db8e7bccac21909b868bc661873/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/cccbf34a49c03db8e7bccac21909b868bc661873/config
Defconfig : http://autobuild.buildroot.net/results/cccbf34a49c03db8e7bccac21909b868bc661873/defconfig
Build 0e839e0c9b323a202a707b2bf7ff002b7624699f
==============================================
Status : NOK
Failure reason : iproute2-3.6.0
Architecture : arm
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-19 00:59:18
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=dd81b498378b60b380d75b63f58418b2465731d5
End of log : http://autobuild.buildroot.net/results/0e839e0c9b323a202a707b2bf7ff002b7624699f/build-end.log
Complete log : http://autobuild.buildroot.net/results/0e839e0c9b323a202a707b2bf7ff002b7624699f/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/0e839e0c9b323a202a707b2bf7ff002b7624699f/config
Defconfig : http://autobuild.buildroot.net/results/0e839e0c9b323a202a707b2bf7ff002b7624699f/defconfig
Build 5b93b1de2b83b0073471a007ce14a60edc893520
==============================================
Status : NOK
Failure reason : dbus-1.4.20
Architecture : microblaze
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-19 01:01:31
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=dd81b498378b60b380d75b63f58418b2465731d5
End of log : http://autobuild.buildroot.net/results/5b93b1de2b83b0073471a007ce14a60edc893520/build-end.log
Complete log : http://autobuild.buildroot.net/results/5b93b1de2b83b0073471a007ce14a60edc893520/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/5b93b1de2b83b0073471a007ce14a60edc893520/config
Defconfig : http://autobuild.buildroot.net/results/5b93b1de2b83b0073471a007ce14a60edc893520/defconfig
Build 37bf0f736eafc97112a4daed971e5468ca106fe7
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : powerpc
Submitted by : Peter Korsgaard (gcc14)
Submitted at : 2012-10-19 01:32:12
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=dd81b498378b60b380d75b63f58418b2465731d5
End of log : http://autobuild.buildroot.net/results/37bf0f736eafc97112a4daed971e5468ca106fe7/build-end.log
Complete log : http://autobuild.buildroot.net/results/37bf0f736eafc97112a4daed971e5468ca106fe7/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/37bf0f736eafc97112a4daed971e5468ca106fe7/config
Defconfig : http://autobuild.buildroot.net/results/37bf0f736eafc97112a4daed971e5468ca106fe7/defconfig
Build 74ddb360b889c1f3b5ac62588d0bc506f698f43d
==============================================
Status : NOK
Failure reason : host-microperl-5.12.4
Architecture : powerpc
Submitted by : Peter Korsgaard (gcc14)
Submitted at : 2012-10-19 01:49:40
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=dd81b498378b60b380d75b63f58418b2465731d5
End of log : http://autobuild.buildroot.net/results/74ddb360b889c1f3b5ac62588d0bc506f698f43d/build-end.log
Complete log : http://autobuild.buildroot.net/results/74ddb360b889c1f3b5ac62588d0bc506f698f43d/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/74ddb360b889c1f3b5ac62588d0bc506f698f43d/config
Defconfig : http://autobuild.buildroot.net/results/74ddb360b889c1f3b5ac62588d0bc506f698f43d/defconfig
Build af2d49c826f63cf1a2bc1e1da06f4e0b8ad7df29
==============================================
Status : NOK
Failure reason : iproute2-3.6.0
Architecture : arm
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-19 02:03:20
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=dd81b498378b60b380d75b63f58418b2465731d5
End of log : http://autobuild.buildroot.net/results/af2d49c826f63cf1a2bc1e1da06f4e0b8ad7df29/build-end.log
Complete log : http://autobuild.buildroot.net/results/af2d49c826f63cf1a2bc1e1da06f4e0b8ad7df29/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/af2d49c826f63cf1a2bc1e1da06f4e0b8ad7df29/config
Defconfig : http://autobuild.buildroot.net/results/af2d49c826f63cf1a2bc1e1da06f4e0b8ad7df29/defconfig
Build a9f3ae9fa142695d90085ef19ee15ff85649f4a3
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : powerpc
Submitted by : Peter Korsgaard (gcc14)
Submitted at : 2012-10-19 02:46:05
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=dd81b498378b60b380d75b63f58418b2465731d5
End of log : http://autobuild.buildroot.net/results/a9f3ae9fa142695d90085ef19ee15ff85649f4a3/build-end.log
Complete log : http://autobuild.buildroot.net/results/a9f3ae9fa142695d90085ef19ee15ff85649f4a3/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/a9f3ae9fa142695d90085ef19ee15ff85649f4a3/config
Defconfig : http://autobuild.buildroot.net/results/a9f3ae9fa142695d90085ef19ee15ff85649f4a3/defconfig
Build 4dd2d86d47cc92c2867757b8c63c88f1f6cc6bef
==============================================
Status : NOK
Failure reason : gnupg-1.4.12
Architecture : mips64el
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-19 03:12:33
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=dd81b498378b60b380d75b63f58418b2465731d5
End of log : http://autobuild.buildroot.net/results/4dd2d86d47cc92c2867757b8c63c88f1f6cc6bef/build-end.log
Complete log : http://autobuild.buildroot.net/results/4dd2d86d47cc92c2867757b8c63c88f1f6cc6bef/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/4dd2d86d47cc92c2867757b8c63c88f1f6cc6bef/config
Defconfig : http://autobuild.buildroot.net/results/4dd2d86d47cc92c2867757b8c63c88f1f6cc6bef/defconfig
Build 662a24c55faf1216593b8bd2fecbe618ca2686e8
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : powerpc
Submitted by : Peter Korsgaard (gcc14)
Submitted at : 2012-10-19 03:44:52
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=dd81b498378b60b380d75b63f58418b2465731d5
End of log : http://autobuild.buildroot.net/results/662a24c55faf1216593b8bd2fecbe618ca2686e8/build-end.log
Complete log : http://autobuild.buildroot.net/results/662a24c55faf1216593b8bd2fecbe618ca2686e8/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/662a24c55faf1216593b8bd2fecbe618ca2686e8/config
Defconfig : http://autobuild.buildroot.net/results/662a24c55faf1216593b8bd2fecbe618ca2686e8/defconfig
Build 7aaf44260d52604c124915930102e5858eb3e713
==============================================
Status : NOK
Failure reason : libatomic_ops-1.2
Architecture : arm
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-19 04:03:43
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=dd81b498378b60b380d75b63f58418b2465731d5
End of log : http://autobuild.buildroot.net/results/7aaf44260d52604c124915930102e5858eb3e713/build-end.log
Complete log : http://autobuild.buildroot.net/results/7aaf44260d52604c124915930102e5858eb3e713/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/7aaf44260d52604c124915930102e5858eb3e713/config
Defconfig : http://autobuild.buildroot.net/results/7aaf44260d52604c124915930102e5858eb3e713/defconfig
Build 0950ac228a3414b82386757e2fb72d1b41d24408
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : arm
Submitted by : Peter Korsgaard (gcc10)
Submitted at : 2012-10-19 05:09:07
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=dd81b498378b60b380d75b63f58418b2465731d5
End of log : http://autobuild.buildroot.net/results/0950ac228a3414b82386757e2fb72d1b41d24408/build-end.log
Complete log : http://autobuild.buildroot.net/results/0950ac228a3414b82386757e2fb72d1b41d24408/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/0950ac228a3414b82386757e2fb72d1b41d24408/config
Defconfig : http://autobuild.buildroot.net/results/0950ac228a3414b82386757e2fb72d1b41d24408/defconfig
Build 390748bcecb0b7be61573396eb84aeb4d267483d
==============================================
Status : NOK
Failure reason : opus-tools-0.1.5
Architecture : i686
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-19 05:14:56
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=dd81b498378b60b380d75b63f58418b2465731d5
End of log : http://autobuild.buildroot.net/results/390748bcecb0b7be61573396eb84aeb4d267483d/build-end.log
Complete log : http://autobuild.buildroot.net/results/390748bcecb0b7be61573396eb84aeb4d267483d/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/390748bcecb0b7be61573396eb84aeb4d267483d/config
Defconfig : http://autobuild.buildroot.net/results/390748bcecb0b7be61573396eb84aeb4d267483d/defconfig
Build c0ceb8ce89d129b95d487dbf4296211a34208160
==============================================
Status : NOK
Failure reason : libffi-3.0.11
Architecture : sh2a
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-19 05:47:09
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=dd81b498378b60b380d75b63f58418b2465731d5
End of log : http://autobuild.buildroot.net/results/c0ceb8ce89d129b95d487dbf4296211a34208160/build-end.log
Complete log : http://autobuild.buildroot.net/results/c0ceb8ce89d129b95d487dbf4296211a34208160/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/c0ceb8ce89d129b95d487dbf4296211a34208160/config
Defconfig : http://autobuild.buildroot.net/results/c0ceb8ce89d129b95d487dbf4296211a34208160/defconfig
Build dd98bcd1db3c4cbf42d07b8ccd2320f66191523c
==============================================
Status : NOK
Failure reason : webkit-1.2.7
Architecture : arm
Submitted by : Peter Korsgaard (gcc10)
Submitted at : 2012-10-19 07:11:22
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=dd81b498378b60b380d75b63f58418b2465731d5
End of log : http://autobuild.buildroot.net/results/dd98bcd1db3c4cbf42d07b8ccd2320f66191523c/build-end.log
Complete log : http://autobuild.buildroot.net/results/dd98bcd1db3c4cbf42d07b8ccd2320f66191523c/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/dd98bcd1db3c4cbf42d07b8ccd2320f66191523c/config
Defconfig : http://autobuild.buildroot.net/results/dd98bcd1db3c4cbf42d07b8ccd2320f66191523c/defconfig
Build be60240bfde7c8f927ccd7d30d738309af62f56e
==============================================
Status : NOK
Failure reason : lua-5.1.5
Architecture : x86_64
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-19 07:28:13
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=dd81b498378b60b380d75b63f58418b2465731d5
End of log : http://autobuild.buildroot.net/results/be60240bfde7c8f927ccd7d30d738309af62f56e/build-end.log
Complete log : http://autobuild.buildroot.net/results/be60240bfde7c8f927ccd7d30d738309af62f56e/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/be60240bfde7c8f927ccd7d30d738309af62f56e/config
Defconfig : http://autobuild.buildroot.net/results/be60240bfde7c8f927ccd7d30d738309af62f56e/defconfig
Build bcf98013e9536e175bf2eb1f8f8cf75cc1d04899
==============================================
Status : NOK
Failure reason : gnupg-1.4.12
Architecture : mips64el
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-19 08:15:56
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=dd81b498378b60b380d75b63f58418b2465731d5
End of log : http://autobuild.buildroot.net/results/bcf98013e9536e175bf2eb1f8f8cf75cc1d04899/build-end.log
Complete log : http://autobuild.buildroot.net/results/bcf98013e9536e175bf2eb1f8f8cf75cc1d04899/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/bcf98013e9536e175bf2eb1f8f8cf75cc1d04899/config
Defconfig : http://autobuild.buildroot.net/results/bcf98013e9536e175bf2eb1f8f8cf75cc1d04899/defconfig
Build 963a0bda1ef42e8f731737aaed98502d086029d9
==============================================
Status : NOK
Failure reason : libffi-3.0.11
Architecture : arm
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-19 08:19:40
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=dd81b498378b60b380d75b63f58418b2465731d5
End of log : http://autobuild.buildroot.net/results/963a0bda1ef42e8f731737aaed98502d086029d9/build-end.log
Complete log : http://autobuild.buildroot.net/results/963a0bda1ef42e8f731737aaed98502d086029d9/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/963a0bda1ef42e8f731737aaed98502d086029d9/config
Defconfig : http://autobuild.buildroot.net/results/963a0bda1ef42e8f731737aaed98502d086029d9/defconfig
Build b976e0408c2915fc88822e47d32d40f4fb76562f
==============================================
Status : NOK
Failure reason : libffi-3.0.11
Architecture : microblaze
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-19 09:05:36
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=dd81b498378b60b380d75b63f58418b2465731d5
End of log : http://autobuild.buildroot.net/results/b976e0408c2915fc88822e47d32d40f4fb76562f/build-end.log
Complete log : http://autobuild.buildroot.net/results/b976e0408c2915fc88822e47d32d40f4fb76562f/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/b976e0408c2915fc88822e47d32d40f4fb76562f/config
Defconfig : http://autobuild.buildroot.net/results/b976e0408c2915fc88822e47d32d40f4fb76562f/defconfig
Build de70a25d5f6df3be8900b6e4c875329914e51c47
==============================================
Status : NOK
Failure reason : lua-5.1.5
Architecture : x86_64
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-19 10:39:11
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=dd81b498378b60b380d75b63f58418b2465731d5
End of log : http://autobuild.buildroot.net/results/de70a25d5f6df3be8900b6e4c875329914e51c47/build-end.log
Complete log : http://autobuild.buildroot.net/results/de70a25d5f6df3be8900b6e4c875329914e51c47/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/de70a25d5f6df3be8900b6e4c875329914e51c47/config
Defconfig : http://autobuild.buildroot.net/results/de70a25d5f6df3be8900b6e4c875329914e51c47/defconfig
Build 62ea86c21080b374ef0e6a66ec4bd20bf3e4eb4f
==============================================
Status : NOK
Failure reason : libatomic_ops-1.2
Architecture : arm
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-19 11:25:21
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=dd81b498378b60b380d75b63f58418b2465731d5
End of log : http://autobuild.buildroot.net/results/62ea86c21080b374ef0e6a66ec4bd20bf3e4eb4f/build-end.log
Complete log : http://autobuild.buildroot.net/results/62ea86c21080b374ef0e6a66ec4bd20bf3e4eb4f/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/62ea86c21080b374ef0e6a66ec4bd20bf3e4eb4f/config
Defconfig : http://autobuild.buildroot.net/results/62ea86c21080b374ef0e6a66ec4bd20bf3e4eb4f/defconfig
Build 863af3935a217cffeb6e611dd7f4d5572d4a71ca
==============================================
Status : NOK
Failure reason : webkit-1.2.7
Architecture : arm
Submitted by : Peter Korsgaard (gcc10)
Submitted at : 2012-10-19 11:31:16
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=dd81b498378b60b380d75b63f58418b2465731d5
End of log : http://autobuild.buildroot.net/results/863af3935a217cffeb6e611dd7f4d5572d4a71ca/build-end.log
Complete log : http://autobuild.buildroot.net/results/863af3935a217cffeb6e611dd7f4d5572d4a71ca/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/863af3935a217cffeb6e611dd7f4d5572d4a71ca/config
Defconfig : http://autobuild.buildroot.net/results/863af3935a217cffeb6e611dd7f4d5572d4a71ca/defconfig
Build 1843e7e34a4018f326850e370aa08294552e83b0
==============================================
Status : NOK
Failure reason : icu-4.8.1.1
Architecture : arm
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-19 11:47:59
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=dd81b498378b60b380d75b63f58418b2465731d5
End of log : http://autobuild.buildroot.net/results/1843e7e34a4018f326850e370aa08294552e83b0/build-end.log
Complete log : http://autobuild.buildroot.net/results/1843e7e34a4018f326850e370aa08294552e83b0/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/1843e7e34a4018f326850e370aa08294552e83b0/config
Defconfig : http://autobuild.buildroot.net/results/1843e7e34a4018f326850e370aa08294552e83b0/defconfig
Build a18b25c73f2023e5be68a02371629c32351dda44
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : arm
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-19 14:04:25
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=dd81b498378b60b380d75b63f58418b2465731d5
End of log : http://autobuild.buildroot.net/results/a18b25c73f2023e5be68a02371629c32351dda44/build-end.log
Complete log : http://autobuild.buildroot.net/results/a18b25c73f2023e5be68a02371629c32351dda44/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/a18b25c73f2023e5be68a02371629c32351dda44/config
Defconfig : http://autobuild.buildroot.net/results/a18b25c73f2023e5be68a02371629c32351dda44/defconfig
Build 682353efbdfce9b109275f39c54136375145cb70
==============================================
Status : NOK
Failure reason : audiofile-0.3.4
Architecture : sh2a
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-19 14:06:19
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=dd81b498378b60b380d75b63f58418b2465731d5
End of log : http://autobuild.buildroot.net/results/682353efbdfce9b109275f39c54136375145cb70/build-end.log
Complete log : http://autobuild.buildroot.net/results/682353efbdfce9b109275f39c54136375145cb70/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/682353efbdfce9b109275f39c54136375145cb70/config
Defconfig : http://autobuild.buildroot.net/results/682353efbdfce9b109275f39c54136375145cb70/defconfig
Build 44c89d41d3ec858c17b5b997e7e3afd509a55eba
==============================================
Status : NOK
Failure reason : gdbhost-7.4.1
Architecture : arm
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-19 16:07:06
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/44c89d41d3ec858c17b5b997e7e3afd509a55eba/build-end.log
Complete log : http://autobuild.buildroot.net/results/44c89d41d3ec858c17b5b997e7e3afd509a55eba/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/44c89d41d3ec858c17b5b997e7e3afd509a55eba/config
Defconfig : http://autobuild.buildroot.net/results/44c89d41d3ec858c17b5b997e7e3afd509a55eba/defconfig
Build 0c7b9e36b278b6a35c88f12da502a0fc601915b1
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : powerpc
Submitted by : Peter Korsgaard (gcc14)
Submitted at : 2012-10-19 16:43:17
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/0c7b9e36b278b6a35c88f12da502a0fc601915b1/build-end.log
Complete log : http://autobuild.buildroot.net/results/0c7b9e36b278b6a35c88f12da502a0fc601915b1/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/0c7b9e36b278b6a35c88f12da502a0fc601915b1/config
Defconfig : http://autobuild.buildroot.net/results/0c7b9e36b278b6a35c88f12da502a0fc601915b1/defconfig
Build d0c2a558af16889ca3c72a03bee68d98289dd4e0
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : powerpc
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-19 16:48:11
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/d0c2a558af16889ca3c72a03bee68d98289dd4e0/build-end.log
Complete log : http://autobuild.buildroot.net/results/d0c2a558af16889ca3c72a03bee68d98289dd4e0/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/d0c2a558af16889ca3c72a03bee68d98289dd4e0/config
Defconfig : http://autobuild.buildroot.net/results/d0c2a558af16889ca3c72a03bee68d98289dd4e0/defconfig
Build ad9e83bf1e50bdd03d72eb7affa91cb3a917d2dd
==============================================
Status : NOK
Failure reason : kexec-2.0.3
Architecture : mips64el
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-19 18:23:29
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/ad9e83bf1e50bdd03d72eb7affa91cb3a917d2dd/build-end.log
Complete log : http://autobuild.buildroot.net/results/ad9e83bf1e50bdd03d72eb7affa91cb3a917d2dd/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/ad9e83bf1e50bdd03d72eb7affa91cb3a917d2dd/config
Defconfig : http://autobuild.buildroot.net/results/ad9e83bf1e50bdd03d72eb7affa91cb3a917d2dd/defconfig
Build 04d02e9dbaec9f417d5a9307776d67fdae35bbf1
==============================================
Status : NOK
Failure reason : berkeleydb-5.3.21
Architecture : sh2a
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-19 18:44:50
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/04d02e9dbaec9f417d5a9307776d67fdae35bbf1/build-end.log
Complete log : http://autobuild.buildroot.net/results/04d02e9dbaec9f417d5a9307776d67fdae35bbf1/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/04d02e9dbaec9f417d5a9307776d67fdae35bbf1/config
Defconfig : http://autobuild.buildroot.net/results/04d02e9dbaec9f417d5a9307776d67fdae35bbf1/defconfig
Build 6adfccca4bb3187476743ed9143dfe346220bc84
==============================================
Status : NOK
Failure reason : xapp_editres-1.0.2
Architecture : x86_64
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-19 19:21:45
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/6adfccca4bb3187476743ed9143dfe346220bc84/build-end.log
Complete log : http://autobuild.buildroot.net/results/6adfccca4bb3187476743ed9143dfe346220bc84/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/6adfccca4bb3187476743ed9143dfe346220bc84/config
Defconfig : http://autobuild.buildroot.net/results/6adfccca4bb3187476743ed9143dfe346220bc84/defconfig
Build 9f2f3c6edd3d30a1299a53d6e0b578b8eb581eb3
==============================================
Status : NOK
Failure reason : sconeserver-178
Architecture : arm
Submitted by : Peter Korsgaard (gcc10)
Submitted at : 2012-10-19 19:24:20
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/9f2f3c6edd3d30a1299a53d6e0b578b8eb581eb3/build-end.log
Complete log : http://autobuild.buildroot.net/results/9f2f3c6edd3d30a1299a53d6e0b578b8eb581eb3/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/9f2f3c6edd3d30a1299a53d6e0b578b8eb581eb3/config
Defconfig : http://autobuild.buildroot.net/results/9f2f3c6edd3d30a1299a53d6e0b578b8eb581eb3/defconfig
Build 1154013a492664aa883eb3b60cc70bbf43010d79
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : arm
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-19 20:13:56
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/1154013a492664aa883eb3b60cc70bbf43010d79/build-end.log
Complete log : http://autobuild.buildroot.net/results/1154013a492664aa883eb3b60cc70bbf43010d79/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/1154013a492664aa883eb3b60cc70bbf43010d79/config
Defconfig : http://autobuild.buildroot.net/results/1154013a492664aa883eb3b60cc70bbf43010d79/defconfig
Build 349dd9380d1493986fa93540067ac4187a5184d8
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : sh4
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-19 21:10:21
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/349dd9380d1493986fa93540067ac4187a5184d8/build-end.log
Complete log : http://autobuild.buildroot.net/results/349dd9380d1493986fa93540067ac4187a5184d8/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/349dd9380d1493986fa93540067ac4187a5184d8/config
Defconfig : http://autobuild.buildroot.net/results/349dd9380d1493986fa93540067ac4187a5184d8/defconfig
Build 78db86af1fcfc9cfe343b7891bf39699768162e9
==============================================
Status : NOK
Failure reason : make: *** [/home/test/dl/gdb-.tar.bz2] Error 1
Architecture : mipsel
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-19 21:11:31
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/78db86af1fcfc9cfe343b7891bf39699768162e9/build-end.log
Complete log : http://autobuild.buildroot.net/results/78db86af1fcfc9cfe343b7891bf39699768162e9/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/78db86af1fcfc9cfe343b7891bf39699768162e9/config
Defconfig : http://autobuild.buildroot.net/results/78db86af1fcfc9cfe343b7891bf39699768162e9/defconfig
Build 94d5b55fac8c9b462a80c0e737a604104b00780c
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : powerpc
Submitted by : Peter Korsgaard (gcc14)
Submitted at : 2012-10-19 21:25:36
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/94d5b55fac8c9b462a80c0e737a604104b00780c/build-end.log
Complete log : http://autobuild.buildroot.net/results/94d5b55fac8c9b462a80c0e737a604104b00780c/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/94d5b55fac8c9b462a80c0e737a604104b00780c/config
Defconfig : http://autobuild.buildroot.net/results/94d5b55fac8c9b462a80c0e737a604104b00780c/defconfig
Build f5a1af592c6d0c3fff1ebfa54e4dfef8abf2aebe
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : arm
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-19 21:58:13
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/f5a1af592c6d0c3fff1ebfa54e4dfef8abf2aebe/build-end.log
Complete log : http://autobuild.buildroot.net/results/f5a1af592c6d0c3fff1ebfa54e4dfef8abf2aebe/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/f5a1af592c6d0c3fff1ebfa54e4dfef8abf2aebe/config
Defconfig : http://autobuild.buildroot.net/results/f5a1af592c6d0c3fff1ebfa54e4dfef8abf2aebe/defconfig
Build c0ea587e81f9dbd0600e6f4d0bcc46669c0786c9
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : powerpc
Submitted by : Peter Korsgaard (gcc14)
Submitted at : 2012-10-19 23:52:49
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/c0ea587e81f9dbd0600e6f4d0bcc46669c0786c9/build-end.log
Complete log : http://autobuild.buildroot.net/results/c0ea587e81f9dbd0600e6f4d0bcc46669c0786c9/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/c0ea587e81f9dbd0600e6f4d0bcc46669c0786c9/config
Defconfig : http://autobuild.buildroot.net/results/c0ea587e81f9dbd0600e6f4d0bcc46669c0786c9/defconfig
--
http://autobuild.buildroot.net
^ permalink raw reply
* [Buildroot] [PATCH] netsnmp: bump to version 5.7.2
From: Gustavo Zacarias @ 2012-10-19 23:12 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/netsnmp/netsnmp-CVE-2012-2141.patch | 36 ---------------------------
package/netsnmp/netsnmp-swinst-crash.patch | 17 ------------
package/netsnmp/netsnmp.mk | 2 +-
3 files changed, 1 insertions(+), 54 deletions(-)
delete mode 100644 package/netsnmp/netsnmp-CVE-2012-2141.patch
delete mode 100644 package/netsnmp/netsnmp-swinst-crash.patch
diff --git a/package/netsnmp/netsnmp-CVE-2012-2141.patch b/package/netsnmp/netsnmp-CVE-2012-2141.patch
deleted file mode 100644
index 1b34b9c..0000000
--- a/package/netsnmp/netsnmp-CVE-2012-2141.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 4c5633f1603e4bd03ed05c37d782ec8911759c47 Mon Sep 17 00:00:00 2001
-From: Robert Story <rstory@freesnmp.com>
-Date: Mon, 14 May 2012 11:40:06 -0400
-Subject: [PATCH] NEWS: snmp: BUG: 3526549: CVE-2012-2141 Array index error leading to crash
-
----
- agent/mibgroup/agent/extend.c | 6 +++++-
- 1 files changed, 5 insertions(+), 1 deletions(-)
-
-diff --git a/agent/mibgroup/agent/extend.c b/agent/mibgroup/agent/extend.c
-index d00475f..1f8586a 100644
---- a/agent/mibgroup/agent/extend.c
-+++ b/agent/mibgroup/agent/extend.c
-@@ -1126,7 +1126,7 @@ _extend_find_entry( netsnmp_request_info *request,
- * ...and check the line requested is valid
- */
- line_idx = *table_info->indexes->next_variable->val.integer;
-- if (eptr->numlines < line_idx)
-+ if (line_idx < 1 || line_idx > eptr->numlines)
- return NULL;
- }
- return eptr;
-@@ -1299,6 +1299,10 @@ handle_nsExtendOutput2Table(netsnmp_mib_handler *handler,
- * Determine which line we've been asked for....
- */
- line_idx = *table_info->indexes->next_variable->val.integer;
-+ if (line_idx < 1 || line_idx > extension->numlines) {
-+ netsnmp_set_request_error(reqinfo, request, SNMP_NOSUCHINSTANCE);
-+ continue;
-+ }
- cp = extension->lines[line_idx-1];
-
- /*
---
-1.7.4.1
-
diff --git a/package/netsnmp/netsnmp-swinst-crash.patch b/package/netsnmp/netsnmp-swinst-crash.patch
deleted file mode 100644
index f7298a6..0000000
--- a/package/netsnmp/netsnmp-swinst-crash.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Fixes runtime error with uClibc (and possibly others).
-
-Original patch and bug description:
-http://sourceforge.net/tracker/?func=detail&aid=3436528&group_id=12694&atid=312694
-
---- net-snmp-5.7.1/agent/mibgroup/host/data_access/swinst_pkginfo.c
-+++ /home/fabled//net-snmp-5.7.1.patched/agent/mibgroup/host/data_access/swinst_pkginfo.c
-@@ -140,7 +140,8 @@
- memcpy( entry->swDate, cp, date_len );
- entry->swDate_len = date_len;
- }
-- closedir( d );
-+ if (d != NULL)
-+ closedir( d );
-
- DEBUGMSGTL(("swinst:load:arch"," loaded %d entries\n",
- (int)CONTAINER_SIZE(container)));
diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk
index bbe0dbb..2670cf3 100644
--- a/package/netsnmp/netsnmp.mk
+++ b/package/netsnmp/netsnmp.mk
@@ -4,7 +4,7 @@
#
#############################################################
-NETSNMP_VERSION = 5.7.1
+NETSNMP_VERSION = 5.7.2
NETSNMP_SITE = http://downloads.sourceforge.net/project/net-snmp/net-snmp/$(NETSNMP_VERSION)
NETSNMP_SOURCE = net-snmp-$(NETSNMP_VERSION).tar.gz
NETSNMP_LICENSE = Various BSD-like
--
1.7.8.6
^ permalink raw reply related
* [Buildroot] Kernel does not boot : dts is not appended to the kernel (Karo TX53 [imx53])
From: Arnout Vandecappelle @ 2012-10-19 20:46 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1E9ED8BFF49147018F72AEB3007FC941@JohanW7>
On 19/10/12 17:02, Sagaert Johan wrote:
> #2. Concatenate the kernel with the generated DT blob:
> cat arch/arm/boot/zImage arch/arm/boot/tx53.dtb> arch/arm/boot/zImage_tx53
>
> When I look under output/images I see only zImage, not the kernel with the appended dts blob (zImge_tx53).
This is what buildroot does, except it goes to images/zImage.
Can you verify that buildroot builds arch/arm/boot/tx53.dtb correctly? It builds
just one specific dtb, not all dtbs, so that should be easy to verify.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply
* [Buildroot] [PATCH] package/time: New package for GNU time.
From: Arnout Vandecappelle @ 2012-10-19 20:39 UTC (permalink / raw)
To: buildroot
In-Reply-To: <CAFbHwiRDGH0W+eRMGGui4gA+_iRhSYtHc2dhHwPDYf9uvqF5-w@mail.gmail.com>
On 19/10/12 15:05, Will Newton wrote:
> Signed-off-by: Will Newton<will.newton@imgtec.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
(build-test with a WCHAR-only internal powerpc toolchain)
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply
* [Buildroot] [PATCH] lcdapi: new package
From: Arnout Vandecappelle @ 2012-10-19 20:04 UTC (permalink / raw)
To: buildroot
In-Reply-To: <CAHt8ZCN5eJbN0e+H1jaDa_nUsSa3WtJPhnaMtjzEsuo-1rPJ_g@mail.gmail.com>
On 18/10/12 11:39, Simon Dawson wrote:
> Hi Arnout. Thanks for taking the time to review this.
>
> On 17 October 2012 21:12, Arnout Vandecappelle<arnout@mind.be> wrote:
>> Making it inline sounds more appropriate.
>
> Okay; will do so.
>
>> BTW, did you upstream the patches?
>
> Unfortunately, the upstream project is no longer being actively
> maintained; I have attempted to contact the author, but have had no
> response.
>
> I have actually started work on a fork of the project at
> https://github.com/spdawson/lcdapi; but I thought it best to use the
> original source for the Buildroot package, at least in the first
> instance.
I don't think that's necessary. It's better if we don't have to
carry patches in buildroot!
[snip]
>>> +LCDAPI_MAKE_OPT = \
>>> + $(TARGET_CONFIGURE_OPTS) \
>>> + LD="$(TARGET_CXX)" \
>>> + LDFLAGS="$(TARGET_LDFLAGS) -shared"
>>
>>
>> It would make sense to also add CC="$(TARGET_CXX)" (although not strictly
>> necessary, because gcc recognizes the .cpp extension).
>
> Okay; will do.
If you're anyway taking over upstream, you could really fix the Makefiles
and use CXX instead of CC!
>> More importantly, the CFLAGS overrides the CFLAGS of lcdapi's
>> Makefile, and that contains the all-important -fPIC. I wonder
>> how you got it built without that... So either:
>>
>> - Set CFLAGS to "$(TARGET_CFLAGS) -fPIC"
>> - Patch the Makefile to append to CFLAGS
>> - Set CC to "$(TARGET_CXX) $(TARGET_CFLAGS)" and leave CFLAGS alone
>
> Okay, will do.
Again, best to patch the Makefile since you can.
>> Finally, it would make sense to call it LCDAPI_MAKE_OPTS,
>> similar to TARGET_CONFIGURE_OPTS.
>
> Okay, will do.
>
>> We would typically use
>> $(INSTALL) -m 0755 -D $(@D)/lib/liblcdapi.so $(1)/usr/lib
>> (which does the mkdir and the install in one shot).
>
> Okay, will do.
>
>> But wouldn't it be cleaner to add (and upstream) an 'install' target
>> to the Makefile?
>
> Yes, okay.
Sorry that I'm giving you more work :-)
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply
* [Buildroot] Local SVN respository
From: Arnout Vandecappelle @ 2012-10-19 19:58 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1350664899.14081.7.camel@john-ubu>
On 19/10/12 18:41, john wrote:
> Thank you for your help, in answer to your questions,
> The package is already in buildroot, at the moment I have the same
> version number and I have created it under the same name. It is selected
> in the config and when I do make with debug (-p) on I get:
>
> svn: Syntax error in revision argument '1.0.1'
>
> my svn command is
> MYPACKAGE_SITE=svn://myserver/mydir/trunk/mysoftware-1.0.1/
Ah, of course, I forgot that subversion doesn't have tags... You
should change MYPACKAGE_VERSION to the svn revision number you need,
or HEAD.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply
* [Buildroot] Local SVN respository
From: john @ 2012-10-19 16:41 UTC (permalink / raw)
To: buildroot
In-Reply-To: <5080617F.9000008@mind.be>
Hi Arnout,
Thank you for your help, in answer to your questions,
The package is already in buildroot, at the moment I have the same
version number and I have created it under the same name. It is selected
in the config and when I do make with debug (-p) on I get:
svn: Syntax error in revision argument '1.0.1'
my svn command is
MYPACKAGE_SITE=svn://myserver/mydir/trunk/mysoftware-1.0.1/
but based on the error message it looks like the svn checkout is failing
because the version number is being based a revision (I'm guessing). Is
there some way of to suppress that action.
regards
On Thu, 2012-10-18 at 22:07 +0200, Arnout Vandecappelle wrote:
> On 18/10/12 10:05, john wrote:
> > I am trying to build a local package from a local svn repository. The
> > software I am building is a heavily hacked version of some open source
> > package. I am trying to retrieve the software from a local svn
> > repository (svn:// and not http) but buildroot keeps fetching the
> > official version of the software rather than my local copy. I have tried
> > various options like _OVERRIDE_SRCDIR but cannot change this behaviour,
> > any suggestions?
>
> Is it a package that is already in buildroot or a new one? If it is
> already in buildroot, do you create MYPACKAGE under the same name or a
> different name? Did you change the version number from what is in buildroot?
> Is you .mk file even included by buildroot? Is MYPACKAGE selected in the
> .config?
>
> If you want to debug what is happening, use
>
> make -p mypackage 2&>1 | less
>
> That gives you a dump of all the variables and rules defined by the
> Makefiles. You should see a lot of variables MYPACKAGE_... =
> (if that is not the case, you're missing $(eval $(generic-package))).
> You should see MYPACKAGE_SITE = ... as you defined it.
> You should see mypackage in TARGETS (if not, it's not selected in
> .config). You should also see rules like:
>
> mypackage-build: mypackage-configure .../mypackage-1.0.1/.stamp_built
>
> .../mypackage-1.0.1/.stamp_built:
> # PKG = MYPACKAGE
> # commands to execute (from `package/pkg-generic.mk', line 107):
> @$(call MESSAGE,"Building")
> $($(PKG)_BUILD_CMDS)
> $(foreach hook,$($(PKG)_POST_BUILD_HOOKS),$(call $(hook))$(sep))
> $(Q)touch $@
>
>
>
> Regards,
> Arnout
>
^ permalink raw reply
* [Buildroot] [PATCH 3/3] package/lttng-babeltrace: Bump version to 1.0.0-rc6.
From: Will Newton @ 2012-10-19 16:27 UTC (permalink / raw)
To: buildroot
Signed-off-by: Will Newton <will.newton@imgtec.com>
---
...beltrace-0.8-no-posix-fallocate-in-uclibc.patch | 37 --------------------
...g-babeltrace-no-posix-fallocate-in-uclibc.patch | 37 ++++++++++++++++++++
package/lttng-babeltrace/lttng-babeltrace.mk | 11 +-----
3 files changed, 39 insertions(+), 46 deletions(-)
delete mode 100644
package/lttng-babeltrace/lttng-babeltrace-0.8-no-posix-fallocate-in-uclibc.patch
create mode 100644
package/lttng-babeltrace/lttng-babeltrace-no-posix-fallocate-in-uclibc.patch
diff --git a/package/lttng-babeltrace/lttng-babeltrace-0.8-no-posix-fallocate-in-uclibc.patch
b/package/lttng-babeltrace/lttng-babeltrace-0.8-no-posix-fallocate-in-uclibc.patch
deleted file mode 100644
index d77825f..0000000
--- a/package/lttng-babeltrace/lttng-babeltrace-0.8-no-posix-fallocate-in-uclibc.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-Do not call posix_fallocate() on uClibc
-
-uClibc does not implement posix_fallocate(), and posix_fallocate() is
-mostly only an hint to the kernel that we will need such or such
-amount of space inside a file. So we just don't call posix_fallocate()
-when building against uClibc.
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-[Peter: add #include <features.h>
----
- formats/ctf/ctf.c | 3 +++
- 1 file changed, 3 insertions(+)
-
-Index: lttng-babeltrace-0.8/formats/ctf/ctf.c
-===================================================================
---- lttng-babeltrace-0.8.orig/formats/ctf/ctf.c
-+++ lttng-babeltrace-0.8/formats/ctf/ctf.c
-@@ -32,6 +32,7 @@
- #include <sys/stat.h>
- #include <fcntl.h>
- #include <dirent.h>
-+#include <features.h>
- #include <glib.h>
- #include <unistd.h>
- #include <stdlib.h>
-@@ -384,9 +385,11 @@
- }
- pos->content_size = -1U; /* Unknown at this point */
- pos->packet_size = WRITE_PACKET_LEN;
-+#ifndef __UCLIBC__
- off = posix_fallocate(pos->fd, pos->mmap_offset,
- pos->packet_size / CHAR_BIT);
- assert(off >= 0);
-+#endif
- pos->offset = 0;
- } else {
- read_next_packet:
diff --git a/package/lttng-babeltrace/lttng-babeltrace-no-posix-fallocate-in-uclibc.patch
b/package/lttng-babeltrace/lttng-babeltrace-no-posix-fallocate-in-uclibc.patch
new file mode 100644
index 0000000..d77825f
--- /dev/null
+++ b/package/lttng-babeltrace/lttng-babeltrace-no-posix-fallocate-in-uclibc.patch
@@ -0,0 +1,37 @@
+Do not call posix_fallocate() on uClibc
+
+uClibc does not implement posix_fallocate(), and posix_fallocate() is
+mostly only an hint to the kernel that we will need such or such
+amount of space inside a file. So we just don't call posix_fallocate()
+when building against uClibc.
+
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+[Peter: add #include <features.h>
+---
+ formats/ctf/ctf.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+Index: lttng-babeltrace-0.8/formats/ctf/ctf.c
+===================================================================
+--- lttng-babeltrace-0.8.orig/formats/ctf/ctf.c
++++ lttng-babeltrace-0.8/formats/ctf/ctf.c
+@@ -32,6 +32,7 @@
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ #include <dirent.h>
++#include <features.h>
+ #include <glib.h>
+ #include <unistd.h>
+ #include <stdlib.h>
+@@ -384,9 +385,11 @@
+ }
+ pos->content_size = -1U; /* Unknown at this point */
+ pos->packet_size = WRITE_PACKET_LEN;
++#ifndef __UCLIBC__
+ off = posix_fallocate(pos->fd, pos->mmap_offset,
+ pos->packet_size / CHAR_BIT);
+ assert(off >= 0);
++#endif
+ pos->offset = 0;
+ } else {
+ read_next_packet:
diff --git a/package/lttng-babeltrace/lttng-babeltrace.mk
b/package/lttng-babeltrace/lttng-babeltrace.mk
index 0f3200f..dd701df 100644
--- a/package/lttng-babeltrace/lttng-babeltrace.mk
+++ b/package/lttng-babeltrace/lttng-babeltrace.mk
@@ -1,14 +1,7 @@
-LTTNG_BABELTRACE_SITE = http://lttng.org/files/bundles/20111214/
-LTTNG_BABELTRACE_VERSION = 0.8
+LTTNG_BABELTRACE_SITE = http://lttng.org/files/babeltrace/
+LTTNG_BABELTRACE_VERSION = 1.0.0-rc6
LTTNG_BABELTRACE_SOURCE = babeltrace-$(LTTNG_BABELTRACE_VERSION).tar.bz2
-# Needed to fix libtool handling, otherwise the build fails when
-# building the ctf-parser-test program, which depends on libctf-ast.so
-# which itself depends on libbabeltrace_types.so.0 (and libtool gets
-# lost in the middle of this).
-LTTNG_BABELTRACE_AUTORECONF = YES
-HOST_LTTNG_BABELTRACE_AUTORECONF = YES
-
LTTNG_BABELTRACE_DEPENDENCIES = popt util-linux libglib2
$(eval $(autotools-package))
--
1.7.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-package-lttng-babeltrace-Bump-version-to-1.0.0-rc6.patch
Type: application/octet-stream
Size: 4733 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121019/02f129bc/attachment.obj>
^ permalink raw reply related
* [Buildroot] [PATCH 2/3] package/lttng-tools: Bump to version 2.0.4.
From: Will Newton @ 2012-10-19 16:27 UTC (permalink / raw)
To: buildroot
Signed-off-by: Will Newton <will.newton@imgtec.com>
---
package/lttng-tools/lttng-tools.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/lttng-tools/lttng-tools.mk
b/package/lttng-tools/lttng-tools.mk
index 7a0a7b4..fe48ac6 100644
--- a/package/lttng-tools/lttng-tools.mk
+++ b/package/lttng-tools/lttng-tools.mk
@@ -3,7 +3,7 @@
# LTTng-Tools: the trace control client
#
#############################################################
-LTTNG_TOOLS_VERSION = 2.0.1
+LTTNG_TOOLS_VERSION = 2.0.4
LTTNG_TOOLS_SITE = http://lttng.org/files/lttng-tools/
LTTNG_TOOLS_SOURCE = lttng-tools-$(LTTNG_TOOLS_VERSION).tar.bz2
--
1.7.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-package-lttng-tools-Bump-to-version-2.0.4.patch
Type: application/octet-stream
Size: 888 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121019/00d28431/attachment.obj>
^ permalink raw reply related
* [Buildroot] [PATCH 1/3] package/liburcu: Bump version to 0.7.5.
From: Will Newton @ 2012-10-19 16:27 UTC (permalink / raw)
To: buildroot
Signed-off-by: Will Newton <will.newton@imgtec.com>
---
package/liburcu/liburcu.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/liburcu/liburcu.mk b/package/liburcu/liburcu.mk
index bd69137..0bfba37 100644
--- a/package/liburcu/liburcu.mk
+++ b/package/liburcu/liburcu.mk
@@ -3,7 +3,7 @@
# liburc: userspace RCU (read-copy-update) library
#
#############################################################
-LIBURCU_VERSION = 0.7.3
+LIBURCU_VERSION = 0.7.5
LIBURCU_SITE = http://lttng.org/files/urcu/
LIBURCU_SOURCE = userspace-rcu-$(LIBURCU_VERSION).tar.bz2
--
1.7.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-package-liburcu-Bump-version-to-0.7.5.patch
Type: application/octet-stream
Size: 830 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121019/7ce25e77/attachment.obj>
^ permalink raw reply related
* [Buildroot] Kernel does not boot : dts is not appended to the kernel (Karo TX53 [imx53])
From: Sagaert Johan @ 2012-10-19 15:02 UTC (permalink / raw)
To: buildroot
Hi all
I am trying to build the Kernel from within buildroot but fails starting.
When I build the kernel from the commandline en append the dts file then it works :
This is giving me a working kernel:
#The DT configuration data needs to be converted to a binary blob and
#appended to the kernel zImage:
#1. Compile the kernel (including modules and DT data):
make ARCH=arm CROSS_COMPILE=arm-linux- zImage dtbs modules
#2. Concatenate the kernel with the generated DT blob:
cat arch/arm/boot/zImage arch/arm/boot/tx53.dtb > arch/arm/boot/zImage_tx53
When I look under output/images I see only zImage, not the kernel with the appended dts blob (zImge_tx53).
So is there something I am overlooking ?
Regards
Sagaert Johan
^ permalink raw reply
* [Buildroot] [PATCH v11 9/9] microperl: remove it
From: Francois Perrad @ 2012-10-19 13:13 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1350652434-32020-1-git-send-email-francois.perrad@gadz.org>
replaced by perl
use BR2_PACKAGE_PERL_CUSTOM_INSTALL if you want a small footprint
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
package/Config.in | 1 -
package/libxml-parser-perl/libxml-parser-perl.mk | 6 -
package/microperl/Config.in | 30 ----
.../microperl/microperl-no-signal-handlers.patch | 22 ---
package/microperl/microperl-uudmap.patch | 47 ------
package/microperl/microperl.mk | 156 --------------------
6 files changed, 262 deletions(-)
delete mode 100644 package/microperl/Config.in
delete mode 100644 package/microperl/microperl-no-signal-handlers.patch
delete mode 100644 package/microperl/microperl-uudmap.patch
delete mode 100644 package/microperl/microperl.mk
diff --git a/package/Config.in b/package/Config.in
index 06050f2..987d1d1 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -268,7 +268,6 @@ menu "Perl libraries/modules"
source "package/cpanminus/Config.in"
endmenu
endif
-source "package/microperl/Config.in"
source "package/php/Config.in"
source "package/python/Config.in"
if BR2_PACKAGE_PYTHON
diff --git a/package/libxml-parser-perl/libxml-parser-perl.mk b/package/libxml-parser-perl/libxml-parser-perl.mk
index a6f8ae9..8e2f899 100644
--- a/package/libxml-parser-perl/libxml-parser-perl.mk
+++ b/package/libxml-parser-perl/libxml-parser-perl.mk
@@ -9,12 +9,6 @@ LIBXML_PARSER_PERL_SITE:=http://www.cpan.org/modules/by-module/XML/
LIBXML_PARSER_PERL_DEPENDENCIES = expat
-ifeq ($(BR2_PACKAGE_MICROPERL),y)
-# microperl builds host-microperl, so ensure we build after that to build
-# against host-microperl instead of the system perl
-LIBXML_PARSER_PERL_DEPENDENCIES += microperl
-endif
-
define HOST_LIBXML_PARSER_PERL_CONFIGURE_CMDS
(cd $(@D) ; \
$(HOST_CONFIGURE_OPTS) perl Makefile.PL \
diff --git a/package/microperl/Config.in b/package/microperl/Config.in
deleted file mode 100644
index 19d104a..0000000
--- a/package/microperl/Config.in
+++ /dev/null
@@ -1,30 +0,0 @@
-config BR2_PACKAGE_MICROPERL
- bool "microperl"
- # needs fork()
- depends on BR2_USE_MMU
- depends on BR2_DEPRECATED
- help
- Perl without operating-specific functions such as readdir.
-
-if BR2_PACKAGE_MICROPERL
-
-config BR2_PACKAGE_MICROPERL_MODULES
- string "additional modules"
- help
- List of space-separated microperl modules to copy to the rootfs.
-
- Examples: warnings.pm Getopt/Std.pm Time::Local
-
- Module dependencies are not automatic so check your needs.
- You can't use XS modules like IO.
-
-menu "module bundles"
-
-config BR2_PACKAGE_MICROPERL_BUNDLE_CGI
- bool "CGI"
- help
- Copy required modules to do CGI scripting.
-
-endmenu
-
-endif
diff --git a/package/microperl/microperl-no-signal-handlers.patch b/package/microperl/microperl-no-signal-handlers.patch
deleted file mode 100644
index 3c9aa41..0000000
--- a/package/microperl/microperl-no-signal-handlers.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Backport of http://perl5.git.perl.org/perl.git/commitdiff/01d65469392dfc0a?hp=a82b5f080d91ffe184d8ac4795ac71e72e612c2f
-
-Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
-
-diff -Nura perl-5.12.3/miniperlmain.c perl-5.12.3-nosig/miniperlmain.c
---- perl-5.12.3/miniperlmain.c 2011-01-09 17:20:57.000000000 -0300
-+++ perl-5.12.3-nosig/miniperlmain.c 2011-04-14 10:16:53.564639438 -0300
-@@ -116,12 +116,14 @@
- if (!exitstatus)
- perl_run(my_perl);
-
-+#ifndef PERL_MICRO
- /* Unregister our signal handler before destroying my_perl */
- for (i = 0; PL_sig_name[i]; i++) {
- if (rsignal_state(PL_sig_num[i]) == (Sighandler_t) PL_csighandlerp) {
- rsignal(PL_sig_num[i], (Sighandler_t) SIG_DFL);
- }
- }
-+#endif
-
- exitstatus = perl_destruct(my_perl);
-
diff --git a/package/microperl/microperl-uudmap.patch b/package/microperl/microperl-uudmap.patch
deleted file mode 100644
index c72f9c9..0000000
--- a/package/microperl/microperl-uudmap.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From a82b5f080d91ffe184d8ac4795ac71e72e612c2f Mon Sep 17 00:00:00 2001
-From: David Leadbeater <dgl@dgl.cx>
-Date: Mon, 7 Mar 2011 18:40:55 +0000
-Subject: [PATCH] microperl: Update generate_uudmap in Makefile.micro
-
-Makefile.micro hadn't kept up with the changes for generate_uudmap,
-make it match the real Makefile.
----
- Makefile.micro | 8 ++++----
- 1 files changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/Makefile.micro b/Makefile.micro
-index 4b738f5..567d98a 100644
---- a/Makefile.micro
-+++ b/Makefile.micro
-@@ -35,7 +35,7 @@ H = av.h uconfig.h cop.h cv.h embed.h embedvar.h form.h gv.h handy.h \
- HE = $(H) EXTERN.h
-
- clean:
-- -rm -f $(O) microperl generate_uudmap$(_X) uudmap.h
-+ -rm -f $(O) microperl generate_uudmap$(_X) uudmap.h bitcount.h
-
- distclean: clean
-
-@@ -74,7 +74,7 @@ udoop$(_O): $(HE) doop.c
- udump$(_O): $(HE) dump.c regcomp.h regnodes.h
- $(CC) $(CCFLAGS) -o $@ $(CFLAGS) dump.c
-
--uglobals$(_O): $(H) globals.c INTERN.h perlapi.h
-+uglobals$(_O): $(H) globals.c INTERN.h perlapi.h uudmap.h bitcount.h
- $(CC) $(CCFLAGS) -o $@ $(CFLAGS) globals.c
-
- ugv$(_O): $(HE) gv.c
-@@ -173,8 +173,8 @@ uutil$(_O): $(HE) util.c
- uperlapi$(_O): $(HE) perlapi.c perlapi.h
- $(CC) $(CCFLAGS) -o $@ $(CFLAGS) perlapi.c
-
--uudmap.h: generate_uudmap$(_X)
-- $(RUN) ./generate_uudmap$(_X) >uudmap.h
-+uudmap.h bitcount.h: generate_uudmap$(_X)
-+ $(RUN) ./generate_uudmap$(_X) uudmap.h bitcount.h
-
- generate_uudmap$(_O): generate_uudmap.c
- $(CC) $(CCFLAGS) -o $@ $(CFLAGS) generate_uudmap.c
---
-1.6.5.2.74.g610f9.dirty
-
diff --git a/package/microperl/microperl.mk b/package/microperl/microperl.mk
deleted file mode 100644
index b2a912a..0000000
--- a/package/microperl/microperl.mk
+++ /dev/null
@@ -1,156 +0,0 @@
-#############################################################
-#
-# microperl
-#
-#############################################################
-
-MICROPERL_VERSION = 5.12.4
-MICROPERL_SITE = http://www.cpan.org/src/5.0
-MICROPERL_SOURCE = perl-$(MICROPERL_VERSION).tar.bz2
-MICROPERL_LICENSE = Artistic
-MICROPERL_LICENSE_FILES = Artistic
-MICROPERL_DEPENDENCIES = host-microperl
-MICROPERL_MODS_DIR = /usr/lib/perl5/$(MICROPERL_VERSION)
-MICROPERL_ARCH_DIR = $(MICROPERL_MODS_DIR)/$(GNU_TARGET_NAME)
-MICROPERL_MODS = $(call qstrip,$(BR2_PACKAGE_MICROPERL_MODULES))
-
-# Minimal set of modules required for 'perl -V' to work
-MICROPERL_ARCH_MODS = Config.pm Config_git.pl Config_heavy.pl
-MICROPERL_BASE_MODS = strict.pm
-
-# CGI bundle
-ifeq ($(BR2_PACKAGE_MICROPERL_BUNDLE_CGI),y)
-MICROPERL_MODS += constant.pm CGI CGI.pm Carp.pm Exporter.pm overload.pm \
- vars.pm warnings.pm warnings/register.pm
-endif
-
-# Host microperl is actually full-blown perl
-define HOST_MICROPERL_CONFIGURE_CMDS
- cd $(@D) ; \
- ./Configure -Dcc="$(HOSTCC)" -Dprefix="$(HOST_DIR)/usr" \
- -Dloclibpth='/lib /lib64 /usr/lib /usr/lib64' -des
-endef
-
-define HOST_MICROPERL_BUILD_CMDS
- $(MAKE) -C $(@D)
-endef
-
-define HOST_MICROPERL_INSTALL_CMDS
- $(MAKE) -C $(@D) install
-endef
-
-ifeq ($(BR2_ENDIAN),"BIG")
-define MICROPERL_BIGENDIAN
- $(SED) '/^byteorder=/d' $(@D)/uconfig.sh
- echo "byteorder='4321'" >>$(@D)/uconfig.sh
-endef
-endif
-
-ifeq ($(BR2_LARGEFILE),y)
-define MICROPERL_LARGEFILE
- $(SED) '/^uselargefiles=/d' $(@D)/uconfig.sh
- echo "uselargefiles='define'" >>$(@D)/uconfig.sh
-endef
-endif
-
-ifeq ($(BR2_USE_WCHAR),y)
-define MICROPERL_WCHAR
- $(SED) '/^d_mbstowcs=/d' -e '/^d_mbtowc=/d' -e '/^d_wcstombs=/d' \
- -e '/^d_wctomb=/d' $(@D)/uconfig.sh
- echo "d_mbstowcs='define'" >>$(@D)/uconfig.sh
- echo "d_mbtowc='define'" >>$(@D)/uconfig.sh
- echo "d_wcstombs='define'" >>$(@D)/uconfig.sh
- echo "d_wctomb='define'" >>$(@D)/uconfig.sh
-endef
-endif
-
-define MICROPERL_CONFIGURE_CMDS
- $(SED) '/^archlib=/d' -e '/^archlibexp=/d' -e '/^optimize=/d' \
- -e '/^archname=/d' -e '/^d_poll=/d' -e '/^i_poll=/d' \
- -e '/^osname=/d' -e '/^u32type=/d' -e '/^d_archlib=/d' \
- -e '/^d_memset=/d' -e '/^i_fcntl=/d' -e '/^useperlio=/d' \
- -e '/^need_va_copy=/d' $(@D)/uconfig.sh
- $(SED) 's/5.12/$(MICROPERL_VERSION)/' $(@D)/uconfig.sh
- echo "archlib='$(MICROPERL_ARCH_DIR)'" >>$(@D)/uconfig.sh
- echo "archlibexp='$(MICROPERL_ARCH_DIR)'" >>$(@D)/uconfig.sh
- echo "d_archlib='define'" >>$(@D)/uconfig.sh
- echo "archname='$(GNU_TARGET_NAME)'" >>$(@D)/uconfig.sh
- echo "osname='linux'" >>$(@D)/uconfig.sh
- echo "cc='$(TARGET_CC)'" >>$(@D)/uconfig.sh
- echo "ccflags='$(TARGET_CFLAGS)'" >>$(@D)/uconfig.sh
- echo "optimize='$(TARGET_CFLAGS)'" >>$(@D)/uconfig.sh
- echo "usecrosscompile='define'" >>$(@D)/uconfig.sh
- echo "d_memset='define'" >>$(@D)/uconfig.sh
- echo "i_fcntl='define'" >>$(@D)/uconfig.sh
- echo "useperlio='define'" >>$(@D)/uconfig.sh
- echo "u32type='unsigned int'" >>$(@D)/uconfig.sh
- echo "need_va_copy='define'" >>$(@D)/uconfig.sh
- echo "d_poll='define'" >>$(@D)/uconfig.sh
- echo "i_poll='define'" >>$(@D)/uconfig.sh
- $(SED) 's/UNKNOWN-/Buildroot $(BR2_VERSION_FULL) /' $(@D)/patchlevel.h
- $(SED) 's/local\///' $(@D)/uconfig.sh
- $(MICROPERL_BIGENDIAN)
- $(MICROPERL_LARGEFILE)
- $(MICROPERL_WCHAR)
- $(MAKE) -C $(@D) -f Makefile.micro regen_uconfig
- cp -f $(@D)/uconfig.h $(@D)/config.h
- cp -f $(@D)/uconfig.sh $(@D)/config.sh
- echo "ccname='$(TARGET_CC)'" >>$(@D)/config.sh
- echo "PERL_CONFIG_SH=true" >>$(@D)/config.sh
- cd $(@D) ; $(HOST_DIR)/usr/bin/perl make_patchnum.pl ; \
- $(HOST_DIR)/usr/bin/perl configpm
-endef
-
-define MICROPERL_BUILD_CMDS
- $(MAKE) -f Makefile.micro -C $(@D) \
- CC="$(HOSTCC)" bitcount.h
- $(MAKE) -f Makefile.micro -C $(@D) \
- CC="$(TARGET_CC)" OPTIMIZE="$(TARGET_CFLAGS)"
-endef
-
-# Some extensions don't need a build run
-# We try to build anyway to avoid a huge black list
-# Just ignore make_ext.pl warning/errors
-define MICROPERL_BUILD_EXTENSIONS
- for i in $(MICROPERL_MODS); do \
- cd $(@D); ln -sf $(HOST_DIR)/usr/bin/perl miniperl; \
- PERL5LIB=$(TARGET_DIR)/$(MICROPERL_ARCH_DIR) \
- $(HOST_DIR)/usr/bin/perl make_ext.pl MAKE="$(MAKE)" --nonxs \
- `echo $$i|sed -e 's/.pm//'`; \
- done
-endef
-
-define MICROPERL_INSTALL_TARGET_CMDS
- $(INSTALL) -m 0755 -D $(@D)/microperl $(TARGET_DIR)/usr/bin/microperl
- ln -sf microperl $(TARGET_DIR)/usr/bin/perl
- for i in $(MICROPERL_ARCH_MODS); do \
- $(INSTALL) -m 0644 -D $(@D)/lib/$$i \
- $(TARGET_DIR)/$(MICROPERL_ARCH_DIR)/$$i; \
- done
- for i in $(MICROPERL_BASE_MODS); do \
- $(INSTALL) -m 0644 -D $(@D)/lib/$$i \
- $(TARGET_DIR)/$(MICROPERL_MODS_DIR)/$$i; \
- done
- $(MICROPERL_BUILD_EXTENSIONS)
- for i in $(MICROPERL_MODS); do \
- j=`echo $$i|cut -d : -f 1` ; \
- if [ -d $(@D)/lib/$$j ] ; then \
- cp -af $(@D)/lib/$$j $(TARGET_DIR)/$(MICROPERL_MODS_DIR) ; \
- fi ; \
- if [ -f $(@D)/lib/$$i ] ; then \
- $(INSTALL) -m 0644 -D $(@D)/lib/$$i $(TARGET_DIR)/$(MICROPERL_MODS_DIR)/$$i; \
- fi ; \
- done
- # Remove test files
- find $(TARGET_DIR)/$(MICROPERL_MODS_DIR) -type f -name *.t \
- -exec rm -f {} \;
-endef
-
-define MICROPERL_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/bin/perl
- rm -f $(TARGET_DIR)/usr/bin/microperl
- rm -rf $(TARGET_DIR)/usr/lib/perl5
-endef
-
-$(eval $(generic-package))
-$(eval $(host-generic-package))
--
1.7.9.5
^ permalink raw reply related
* [Buildroot] [PATCH v11 8/9] cpanminus: new package
From: Francois Perrad @ 2012-10-19 13:13 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1350652434-32020-1-git-send-email-francois.perrad@gadz.org>
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
package/Config.in | 5 ++++
package/cpanminus/Config.in | 36 +++++++++++++++++++++++
package/cpanminus/cpanminus.mk | 47 ++++++++++++++++++++++++++++++
package/perl/perl-fix-Module-Build.patch | 16 ++++++++++
4 files changed, 104 insertions(+)
create mode 100644 package/cpanminus/Config.in
create mode 100644 package/cpanminus/cpanminus.mk
create mode 100644 package/perl/perl-fix-Module-Build.patch
diff --git a/package/Config.in b/package/Config.in
index d9cadf9..06050f2 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -263,6 +263,11 @@ source "package/xavante/Config.in"
endmenu
endif
source "package/perl/Config.in"
+if BR2_PACKAGE_PERL
+menu "Perl libraries/modules"
+source "package/cpanminus/Config.in"
+endmenu
+endif
source "package/microperl/Config.in"
source "package/php/Config.in"
source "package/python/Config.in"
diff --git a/package/cpanminus/Config.in b/package/cpanminus/Config.in
new file mode 100644
index 0000000..b8b39dc
--- /dev/null
+++ b/package/cpanminus/Config.in
@@ -0,0 +1,36 @@
+config BR2_PACKAGE_CPANMINUS
+ bool "cpanminus"
+ help
+ cpanminus is a script to get, unpack, build and install Perl modules
+ from CPAN.
+
+ Why? It's dependency free, requires zero configuration, and stands
+ alone. When running, it requires only 10MB of RAM.
+
+ http://github.com/miyagawa/cpanminus
+
+if BR2_PACKAGE_CPANMINUS
+
+config BR2_PACKAGE_CPANMINUS_MIRROR
+ string "mirror"
+ help
+ Specifies the base URL for the CPAN mirror to use,
+ such as http://cpan.cpantesters.org/.
+
+config BR2_PACKAGE_CPANMINUS_MODULES
+ string "Perl modules from CPAN"
+ default "Curses::UI"
+ help
+ List of space-separated Perl modules to install from CPAN.
+
+ Examples: Try::Tiny Dancer YAML Moo
+
+ Install the listed modules and their dependencies.
+
+config BR2_PACKAGE_CPANMINUS_NATIVE_DEPENDENCIES
+ string "native dependencies"
+ default "ncurses"
+ help
+ Some XS modules require native libraries.
+
+endif
diff --git a/package/cpanminus/cpanminus.mk b/package/cpanminus/cpanminus.mk
new file mode 100644
index 0000000..d3a338b
--- /dev/null
+++ b/package/cpanminus/cpanminus.mk
@@ -0,0 +1,47 @@
+#############################################################
+#
+# cpanminus
+#
+#############################################################
+
+CPANMINUS_VERSION = 1.5018
+CPANMINUS_SOURCE = miyagawa-cpanminus-$(CPANMINUS_VERSION)-0-gee6cd30.tar.gz
+CPANMINUS_SITE = https://github.com/miyagawa/cpanminus/tarball/$(CPANMINUS_VERSION)
+CPANMINUS_DEPENDENCIES = perl $(call qstrip,$(BR2_PACKAGE_CPANMINUS_NATIVE_DEPENDENCIES))
+
+CPANMINUS_RUN_PERL = $(QEMU_USER) $(STAGING_DIR)/usr/bin/perl
+CPANMINUS_ARCHNAME = $(shell $(CPANMINUS_RUN_PERL) -MConfig -e "print Config->{archname}")
+CPANMINUS_PERL_LIB = $(STAGING_DIR)/usr/lib/perl5/$(PERL_VERSION)
+CPANMINUS_PERL_SITELIB = $(TARGET_DIR)/usr/lib/perl5/site_perl/$(PERL_VERSION)
+CPANMINUS_PERL_ARCHLIB = $(CPANMINUS_PERL_LIB)/$(CPANMINUS_ARCHNAME)
+CPANMINUS_PERL_SITEARCH = $(CPANMINUS_PERL_SITELIB)/$(CPANMINUS_ARCHNAME)
+CPANMINUS_PERL5LIB = $(CPANMINUS_PERL_SITEARCH):$(CPANMINUS_PERL_SITELIB):$(CPANMINUS_PERL_ARCHLIB):$(CPANMINUS_PERL_LIB)
+ifneq ($(BR2_PACKAGE_CPANMINUS_MIRROR),"")
+ CPANMINUS_MIRROR = --mirror $(call qstrip,$(BR2_PACKAGE_CPANMINUS_MIRROR)) --mirror-only
+endif
+CPANMINUS_MODULES = $(call qstrip,$(BR2_PACKAGE_CPANMINUS_MODULES))
+
+ifneq ($(CPANMINUS_MODULES),)
+define CPANMINUS_INSTALL_TARGET_CMDS
+ echo "#!/bin/sh" > $(@D)/run_perl
+ echo "PERL5LIB=$(CPANMINUS_PERL5LIB) $(CPANMINUS_RUN_PERL) \"\$$@\"" >>$(@D)/run_perl
+ chmod +x $(@D)/run_perl
+ PERL5LIB=$(CPANMINUS_PERL5LIB) \
+ PERL_MM_OPT="DESTDIR=$(TARGET_DIR) PERL=$(@D)/run_perl PERL_LIB=$(CPANMINUS_PERL_LIB) PERL_ARCHLIB=$(CPANMINUS_PERL_ARCHLIB)" \
+ PERL_MB_OPT="--destdir $(TARGET_DIR)" \
+ RUN_PERL="$(@D)/run_perl" \
+ $(CPANMINUS_RUN_PERL) $(@D)/cpanm \
+ --perl=$(@D)/run_perl \
+ --notest \
+ --no-man-pages \
+ $(CPANMINUS_MIRROR) \
+ $(call qstrip,$(BR2_PACKAGE_CPANMINUS_MODULES))
+ find $(CPANMINUS_PERL_SITEARCH) -type f -name *.bs -exec rm -f {} \;
+endef
+else
+define CPANMINUS_INSTALL_TARGET_CMDS
+ @echo "No modules to install"
+endef
+endif
+
+$(eval $(generic-package))
diff --git a/package/perl/perl-fix-Module-Build.patch b/package/perl/perl-fix-Module-Build.patch
new file mode 100644
index 0000000..26b15e4
--- /dev/null
+++ b/package/perl/perl-fix-Module-Build.patch
@@ -0,0 +1,16 @@
+
+Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
+
+Index: b/cpan/Module-Build/lib/Module/Build/Base.pm
+===================================================================
+--- a/cpan/Module-Build/lib/Module/Build/Base.pm
++++ b/cpan/Module-Build/lib/Module/Build/Base.pm
+@@ -456,7 +456,7 @@
+ my $proto = shift;
+ my $c = ref($proto) ? $proto->{config} : 'Module::Build::Config';
+
+- my $perl = $^X;
++ my $perl = $ENV{RUN_PERL} || $^X;
+ my $perl_basename = File::Basename::basename($perl);
+
+ my @potential_perls;
--
1.7.9.5
^ permalink raw reply related
* [Buildroot] [PATCH v11 7/9] perl: prepare the removal of microperl
From: Francois Perrad @ 2012-10-19 13:13 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1350652434-32020-1-git-send-email-francois.perrad@gadz.org>
---
package/autoconf/Config.in | 2 +-
package/autoconf/autoconf.mk | 2 +-
package/automake/Config.in | 2 +-
package/automake/automake.mk | 2 +-
package/microperl/Config.in | 1 +
package/ntp/Config.in | 4 ++--
package/samba/Config.in | 4 ++--
7 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/package/autoconf/Config.in b/package/autoconf/Config.in
index 00b3e2c..5f2f148 100644
--- a/package/autoconf/Config.in
+++ b/package/autoconf/Config.in
@@ -1,6 +1,6 @@
config BR2_PACKAGE_AUTOCONF
bool "autoconf"
- select BR2_PACKAGE_MICROPERL
+ select BR2_PACKAGE_PERL
help
Extensible program for developing configure scripts. These
scripts handle all the mundane system/feature detection.
diff --git a/package/autoconf/autoconf.mk b/package/autoconf/autoconf.mk
index 3f84e3e..0cb50db 100644
--- a/package/autoconf/autoconf.mk
+++ b/package/autoconf/autoconf.mk
@@ -10,7 +10,7 @@ AUTOCONF_SITE = $(BR2_GNU_MIRROR)/autoconf
AUTOCONF_CONF_ENV = EMACS="no" ac_cv_path_M4=$(HOST_DIR)/usr/bin/m4 \
ac_cv_prog_gnu_m4_gnu=no
-AUTOCONF_DEPENDENCIES = microperl host-m4
+AUTOCONF_DEPENDENCIES = host-m4 perl
HOST_AUTOCONF_CONF_ENV = ac_cv_path_M4=$(HOST_DIR)/usr/bin/m4 \
ac_cv_prog_gnu_m4_gnu=no
diff --git a/package/automake/Config.in b/package/automake/Config.in
index 935f1f1..9a9673a 100644
--- a/package/automake/Config.in
+++ b/package/automake/Config.in
@@ -1,7 +1,7 @@
config BR2_PACKAGE_AUTOMAKE
bool "automake"
select BR2_PACKAGE_AUTOCONF
- select BR2_PACKAGE_MICROPERL
+ select BR2_PACKAGE_PERL
help
Tool for automatically generating Makefile's for input to
configure scripts (made by autoconf).
diff --git a/package/automake/automake.mk b/package/automake/automake.mk
index 3c19085..8be56c3 100644
--- a/package/automake/automake.mk
+++ b/package/automake/automake.mk
@@ -7,7 +7,7 @@
AUTOMAKE_VERSION = 1.11.5
AUTOMAKE_SITE = $(BR2_GNU_MIRROR)/automake
-AUTOMAKE_DEPENDENCIES = host-autoconf autoconf microperl
+AUTOMAKE_DEPENDENCIES = host-autoconf autoconf perl
HOST_AUTOMAKE_DEPENDENCIES = host-autoconf
diff --git a/package/microperl/Config.in b/package/microperl/Config.in
index 66bbedd..19d104a 100644
--- a/package/microperl/Config.in
+++ b/package/microperl/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_MICROPERL
bool "microperl"
# needs fork()
depends on BR2_USE_MMU
+ depends on BR2_DEPRECATED
help
Perl without operating-specific functions such as readdir.
diff --git a/package/ntp/Config.in b/package/ntp/Config.in
index 5996596..ec5dbbb 100644
--- a/package/ntp/Config.in
+++ b/package/ntp/Config.in
@@ -20,7 +20,7 @@ config BR2_PACKAGE_NTP_NTP_KEYGEN
config BR2_PACKAGE_NTP_NTP_WAIT
bool "ntp-wait"
- depends on BR2_PACKAGE_MICROPERL
+ depends on BR2_PACKAGE_PERL
help
ntp-wait waits until the locally running ntpd is in state 4
(synchronized). This could be useful at boot time, to delay the
@@ -59,7 +59,7 @@ config BR2_PACKAGE_NTP_NTPSNMPD
config BR2_PACKAGE_NTP_NTPTRACE
bool "ntptrace"
- depends on BR2_PACKAGE_MICROPERL
+ depends on BR2_PACKAGE_PERL
help
ntptrace is a perl script that uses the ntpq utility program to
follow the chain of NTP servers from a given host back to the
diff --git a/package/samba/Config.in b/package/samba/Config.in
index e88b360..92714d7 100644
--- a/package/samba/Config.in
+++ b/package/samba/Config.in
@@ -36,12 +36,12 @@ config BR2_PACKAGE_SAMBA_FINDSMB
default y
depends on BR2_PACKAGE_SAMBA_SMBCLIENT
depends on BR2_PACKAGE_SAMBA_NMBLOOKUP
- depends on BR2_PACKAGE_MICROPERL
+ depends on BR2_PACKAGE_PERL
help
Script to browse network
comment "findsmb - disabled (requires nmblookup, smbclient and perl)"
- depends on !BR2_PACKAGE_SAMBA_SMBCLIENT || !BR2_PACKAGE_SAMBA_NMBLOOKUP || !BR2_PACKAGE_MICROPERL
+ depends on !BR2_PACKAGE_SAMBA_SMBCLIENT || !BR2_PACKAGE_SAMBA_NMBLOOKUP || !BR2_PACKAGE_PERL
config BR2_PACKAGE_SAMBA_NET
bool "net"
--
1.7.9.5
^ permalink raw reply related
* [Buildroot] [PATCH v11 6/9] perl: add option "custom install"
From: Francois Perrad @ 2012-10-19 13:13 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1350652434-32020-1-git-send-email-francois.perrad@gadz.org>
allows same behaviour (and footprint) as microperl
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
package/perl/Config.in | 16 ++++++++++++++++
package/perl/perl.mk | 32 ++++++++++++++++++++++++++++++++
2 files changed, 48 insertions(+)
diff --git a/package/perl/Config.in b/package/perl/Config.in
index 98b41da..0642deb 100644
--- a/package/perl/Config.in
+++ b/package/perl/Config.in
@@ -16,6 +16,22 @@ config BR2_PACKAGE_PERL
if BR2_PACKAGE_PERL
+config BR2_PACKAGE_PERL_CUSTOM_INSTALL
+ bool "custom install"
+ help
+ Don't use the full install target
+ Install only a selection of modules (like microperl).
+
+config BR2_PACKAGE_PERL_MODULES
+ string "additional modules"
+ depends on BR2_PACKAGE_PERL_CUSTOM_INSTALL
+ help
+ List of space-separated perl modules to copy to the rootfs.
+
+ Examples: constant.pm Getopt/Std.pm Time/Local.pm
+
+ Module dependencies are not automatic so check your needs.
+
config BR2_PACKAGE_PERL_DB_FILE
bool "DB_File"
select BR2_PACKAGE_BERKELEYDB
diff --git a/package/perl/perl.mk b/package/perl/perl.mk
index 56abbc1..81dff04 100644
--- a/package/perl/perl.mk
+++ b/package/perl/perl.mk
@@ -89,7 +89,38 @@ PERL_RUN_PERL = $(QEMU_USER) $(@D)/perl -Ilib
PERL_ARCHNAME = $(shell $(PERL_RUN_PERL) -MConfig -e "print Config->{archname}")
PERL_LIB = $(TARGET_DIR)/usr/lib/perl5/$(PERL_VERSION)
PERL_ARCHLIB = $(PERL_LIB)/$(PERL_ARCHNAME)
+PERL_MODS = $(call qstrip,$(BR2_PACKAGE_PERL_MODULES))
+# Minimal set of modules required for 'perl -V' to work
+PERL_ARCH_MODS = Config.pm Config_git.pl Config_heavy.pl
+PERL_BASE_MODS = strict.pm vars.pm warnings.pm warnings/register.pm
+define PERL_INSTALL_MODULES
+ for i in $(PERL_ARCH_MODS); do \
+ $(INSTALL) -m 0644 -D $(@D)/lib/$$i $(PERL_ARCHLIB)/$$i; \
+ done
+ for i in $(PERL_BASE_MODS); do \
+ $(INSTALL) -m 0644 -D $(@D)/lib/$$i $(PERL_LIB)/$$i; \
+ done
+ for i in $(PERL_MODS); do \
+ j=`echo $$i|cut -d : -f 1` ; \
+ if [ -d $(@D)/lib/$$j ] ; then \
+ cp -af $(@D)/lib/$$j $(PERL_LIB) ; \
+ fi ; \
+ if [ -f $(@D)/lib/$$i ] ; then \
+ $(INSTALL) -m 0644 -D $(@D)/lib/$$i $(PERL_LIB)/$$i; \
+ fi ; \
+ done
+ # Remove test files
+ find $(PERL_LIB) -type f -name *.t -exec rm -f {} \;
+endef
+
+ifeq ($(BR2_PACKAGE_PERL_CUSTOM_INSTALL),y)
+define PERL_INSTALL_TARGET_CMDS
+ $(INSTALL) -m 0755 -D $(@D)/perl $(TARGET_DIR)/usr/bin/perl
+ $(INSTALL) -m 0755 -D $(@D)/libperl.so $(PERL_ARCHLIB)/CORE/libperl.so
+ $(PERL_INSTALL_MODULES)
+endef
+else
define PERL_INSTALL_TARGET_CMDS
$(MAKE) INSTALL_DEPENDENCE= \
INSTALLFLAGS=-p \
@@ -98,6 +129,7 @@ define PERL_INSTALL_TARGET_CMDS
rm -f $(PERL_ARCHLIB)/CORE/*.h
find $(PERL_ARCHLIB) -type f -name *.bs -exec rm -f {} \;
endef
+endif
define PERL_CLEAN_CMDS
-$(MAKE) -C $(@D) clean
--
1.7.9.5
^ permalink raw reply related
* [Buildroot] [PATCH v11 5/9] perl: add GDBM_File
From: Francois Perrad @ 2012-10-19 13:13 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1350652434-32020-1-git-send-email-francois.perrad@gadz.org>
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
package/perl/Config.in | 6 ++++++
package/perl/perl.mk | 3 +++
2 files changed, 9 insertions(+)
diff --git a/package/perl/Config.in b/package/perl/Config.in
index 6cb89f0..98b41da 100644
--- a/package/perl/Config.in
+++ b/package/perl/Config.in
@@ -22,6 +22,12 @@ config BR2_PACKAGE_PERL_DB_FILE
help
Build the DB_File module.
+config BR2_PACKAGE_PERL_GDBM_FILE
+ bool "GDBM_File"
+ select BR2_PACKAGE_GDBM
+ help
+ Build the GDBM_File module.
+
endif
comment "perl requires an architecture supported by qemu"
diff --git a/package/perl/perl.mk b/package/perl/perl.mk
index 186158b..56abbc1 100644
--- a/package/perl/perl.mk
+++ b/package/perl/perl.mk
@@ -16,6 +16,9 @@ PERL_DEPENDENCIES = host-qemu
ifeq ($(BR2_PACKAGE_BERKELEYDB),y)
PERL_DEPENDENCIES += berkeleydb
endif
+ifeq ($(BR2_PACKAGE_GDBM),y)
+ PERL_DEPENDENCIES += gdbm
+endif
PERL_CONF_OPT = -des \
-Dusecrosscompile \
--
1.7.9.5
^ permalink raw reply related
* [Buildroot] [PATCH v11 4/9] gdbm: new package
From: Francois Perrad @ 2012-10-19 13:13 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1350652434-32020-1-git-send-email-francois.perrad@gadz.org>
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
package/Config.in | 1 +
package/gdbm/Config.in | 8 ++++++++
package/gdbm/gdbm.mk | 12 ++++++++++++
3 files changed, 21 insertions(+)
create mode 100644 package/gdbm/Config.in
create mode 100644 package/gdbm/gdbm.mk
diff --git a/package/Config.in b/package/Config.in
index 00a79ab..d9cadf9 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -324,6 +324,7 @@ endmenu
menu "Database"
source "package/berkeleydb/Config.in"
+source "package/gdbm/Config.in"
source "package/mysql_client/Config.in"
source "package/sqlcipher/Config.in"
source "package/sqlite/Config.in"
diff --git a/package/gdbm/Config.in b/package/gdbm/Config.in
new file mode 100644
index 0000000..d5aae83
--- /dev/null
+++ b/package/gdbm/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_GDBM
+ bool "gdbm"
+ help
+ GNU dbm is a set of database routines that use extensible hashing.
+ It works similar to the standard UNIX dbm routines.
+
+ http://www.gnu.org/software/gdbm/gdbm.html
+
diff --git a/package/gdbm/gdbm.mk b/package/gdbm/gdbm.mk
new file mode 100644
index 0000000..4971b12
--- /dev/null
+++ b/package/gdbm/gdbm.mk
@@ -0,0 +1,12 @@
+#############################################################
+#
+# gdbm
+#
+#############################################################
+GDBM_VERSION = 1.10
+GDBM_SITE = $(BR2_GNU_MIRROR)/gdbm
+GDBM_LICENSE = GPLv3
+GDBM_LICENSE_FILES = COPYING
+GDBM_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))
--
1.7.9.5
^ permalink raw reply related
* [Buildroot] [PATCH v11 3/9] perl: add DB_File
From: Francois Perrad @ 2012-10-19 13:13 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1350652434-32020-1-git-send-email-francois.perrad@gadz.org>
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
package/perl/Config.in | 10 ++++++++++
package/perl/perl.mk | 4 ++++
2 files changed, 14 insertions(+)
diff --git a/package/perl/Config.in b/package/perl/Config.in
index 0a41a97..6cb89f0 100644
--- a/package/perl/Config.in
+++ b/package/perl/Config.in
@@ -14,5 +14,15 @@ config BR2_PACKAGE_PERL
http://www.perl.org/
+if BR2_PACKAGE_PERL
+
+config BR2_PACKAGE_PERL_DB_FILE
+ bool "DB_File"
+ select BR2_PACKAGE_BERKELEYDB
+ help
+ Build the DB_File module.
+
+endif
+
comment "perl requires an architecture supported by qemu"
depends on BR2_avr32 || BR2_bfin || BR2_sh2 || BR2_sh2a || BR2_sh3 || BR2_sh3eb || BR2_sh64
diff --git a/package/perl/perl.mk b/package/perl/perl.mk
index 7ac1aed..186158b 100644
--- a/package/perl/perl.mk
+++ b/package/perl/perl.mk
@@ -11,7 +11,11 @@ PERL_SOURCE = perl-$(PERL_VERSION).tar.bz2
PERL_LICENSE = Artistic
PERL_LICENSE_FILES = Artistic
PERL_INSTALL_STAGING = YES
+
PERL_DEPENDENCIES = host-qemu
+ifeq ($(BR2_PACKAGE_BERKELEYDB),y)
+ PERL_DEPENDENCIES += berkeleydb
+endif
PERL_CONF_OPT = -des \
-Dusecrosscompile \
--
1.7.9.5
^ permalink raw reply related
* [Buildroot] [PATCH v11 2/9] perl: new package
From: Francois Perrad @ 2012-10-19 13:13 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1350652434-32020-1-git-send-email-francois.perrad@gadz.org>
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
package/Config.in | 1 +
package/perl/Config.in | 18 ++++++
package/perl/perl-configure-qemu.patch | 53 +++++++++++++++++
package/perl/perl-make-ext.patch | 24 ++++++++
package/perl/perl-mkppport.patch | 37 ++++++++++++
package/perl/perl.mk | 99 ++++++++++++++++++++++++++++++++
6 files changed, 232 insertions(+)
create mode 100644 package/perl/Config.in
create mode 100644 package/perl/perl-configure-qemu.patch
create mode 100644 package/perl/perl-make-ext.patch
create mode 100644 package/perl/perl-mkppport.patch
create mode 100644 package/perl/perl.mk
diff --git a/package/Config.in b/package/Config.in
index f308de7..00a79ab 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -262,6 +262,7 @@ source "package/wsapi/Config.in"
source "package/xavante/Config.in"
endmenu
endif
+source "package/perl/Config.in"
source "package/microperl/Config.in"
source "package/php/Config.in"
source "package/python/Config.in"
diff --git a/package/perl/Config.in b/package/perl/Config.in
new file mode 100644
index 0000000..0a41a97
--- /dev/null
+++ b/package/perl/Config.in
@@ -0,0 +1,18 @@
+config BR2_PACKAGE_PERL
+ bool "perl"
+ depends on !BR2_avr32
+ depends on !BR2_bfin
+ depends on !BR2_sh2
+ depends on !BR2_sh2a
+ depends on !BR2_sh3
+ depends on !BR2_sh3eb
+ depends on !BR2_sh64
+ help
+ Larry Wall's Practical Extraction and Report Language
+ An interpreted scripting language, known among some as "Unix's Swiss
+ Army Chainsaw".
+
+ http://www.perl.org/
+
+comment "perl requires an architecture supported by qemu"
+ depends on BR2_avr32 || BR2_bfin || BR2_sh2 || BR2_sh2a || BR2_sh3 || BR2_sh3eb || BR2_sh64
diff --git a/package/perl/perl-configure-qemu.patch b/package/perl/perl-configure-qemu.patch
new file mode 100644
index 0000000..c2d6b92
--- /dev/null
+++ b/package/perl/perl-configure-qemu.patch
@@ -0,0 +1,53 @@
+Add qemu support
+
+see https://rt.perl.org/rt3//Public/Bug/Display.html?id=114798
+
+Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
+
+Index: b/Configure
+===================================================================
+--- a/Configure
++++ b/Configure
+@@ -2837,6 +2837,9 @@
+ ;;
+ *) echo "Using usrinc $usrinc." >&4 ;;
+ esac
++ case "$targetrun" in
++ *qemu*) targethost=dummy ;;
++ esac
+ case "$targethost" in
+ '') echo "Targethost not defined." >&4; croak=y ;;
+ *) echo "Using targethost $targethost." >&4
+@@ -2868,7 +2871,7 @@
+ case "$targetfrom" in
+ '') targetfrom=scp ;;
+ esac
+- run=$run-$targetrun
++ run=$run-`basename $targetrun`
+ to=$to-$targetto
+ from=$from-$targetfrom
+ case "$targetdir" in
+@@ -2908,6 +2911,14 @@
+ $targetrun -l $targetuser $targethost "cd \$cwd && ./\$exe \$@"
+ EOF
+ ;;
++ *qemu*)
++ to=:
++ from=:
++ cat >$run <<EOF
++#!/bin/sh
++$targetrun -L $qemulib "\$@"
++EOF
++ ;;
+ *) echo "Unknown targetrun '$targetrun'" >&4
+ exit 1
+ ;;
+@@ -5048,7 +5059,7 @@
+ echo " ";
+ echo "Checking if your compiler accepts $flag" 2>&1;
+ echo "int main(void) { return 0; }" > gcctest.c;
+-if $cc -O2 $flag -o gcctest gcctest.c 2>gcctest.out && ./gcctest; then
++if $cc -O2 $flag -o gcctest gcctest.c 2>gcctest.out && $run ./gcctest; then
+ echo "Yes, it does." 2>&1;
+ if $test -s gcctest.out ; then
+ echo "But your platform does not like it:";
diff --git a/package/perl/perl-make-ext.patch b/package/perl/perl-make-ext.patch
new file mode 100644
index 0000000..e0195e7
--- /dev/null
+++ b/package/perl/perl-make-ext.patch
@@ -0,0 +1,24 @@
+Don't use RUN with make (only for perl)
+
+Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
+
+Index: b/make_ext.pl
+===================================================================
+--- a/make_ext.pl
++++ b/make_ext.pl
+@@ -458,11 +458,13 @@
+ # Give makefile an opportunity to rewrite itself.
+ # reassure users that life goes on...
+ my @args = ('config', @$pass_through);
+- system(@run, @make, @args) and print "@run @make @args failed, continuing anyway...\n";
++# system(@run, @make, @args) and print "@run @make @args failed, continuing anyway...\n";
++ system(@make, @args) and print "@make @args failed, continuing anyway...\n";
+ }
+ my @targ = ($target, @$pass_through);
+ print "Making $target in $ext_dir\n at run @make @targ\n";
+- my $code = system(@run, @make, @targ);
++# my $code = system(@run, @make, @targ);
++ my $code = system(@make, @targ);
+ die "Unsuccessful make($ext_dir): code=$code" if $code != 0;
+
+ chdir $return_dir || die "Cannot cd to $return_dir: $!";
diff --git a/package/perl/perl-mkppport.patch b/package/perl/perl-mkppport.patch
new file mode 100644
index 0000000..97f27a2
--- /dev/null
+++ b/package/perl/perl-mkppport.patch
@@ -0,0 +1,37 @@
+Add RUN
+
+Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
+
+Index: b/mkppport
+===================================================================
+--- a/mkppport
++++ b/mkppport
+@@ -1,6 +1,7 @@
+ use strict;
+ use warnings;
+
++use Config;
+ use Getopt::Long;
+ use File::Spec;
+ use File::Compare qw( compare );
+@@ -136,14 +137,18 @@
+ #----------------------------------------------
+ sub run
+ {
++ my @run = $Config{run};
++ @run = () if not defined $run[0] or $run[0] eq '';
+ my @args = ("-I" . File::Spec->catdir((File::Spec->updir) x 2, 'lib'), @_);
+ my $run = $perl =~ m/\s/ ? qq("$perl") : $perl;
+ for (@args) {
+ $_ = qq("$_") if $^O eq 'VMS' && /^[^"]/;
+ $run .= " $_";
+ }
+- print "running $run\n";
+- system $run and die "$run failed: $?\n";
++# print "running $run\n";
++# system $run and die "$run failed: $?\n";
++ print "running ", join(' ', @run, $run), "\n";
++ system join(' ', @run, $run) and die "@run $run failed: $?\n";
+ }
+
+ __END__
diff --git a/package/perl/perl.mk b/package/perl/perl.mk
new file mode 100644
index 0000000..7ac1aed
--- /dev/null
+++ b/package/perl/perl.mk
@@ -0,0 +1,99 @@
+#############################################################
+#
+# perl
+#
+#############################################################
+
+PERL_VERSION_MAJOR = 16
+PERL_VERSION = 5.$(PERL_VERSION_MAJOR).1
+PERL_SITE = http://www.cpan.org/src/5.0
+PERL_SOURCE = perl-$(PERL_VERSION).tar.bz2
+PERL_LICENSE = Artistic
+PERL_LICENSE_FILES = Artistic
+PERL_INSTALL_STAGING = YES
+PERL_DEPENDENCIES = host-qemu
+
+PERL_CONF_OPT = -des \
+ -Dusecrosscompile \
+ -Dtargetrun=$(QEMU_USER) \
+ -Dqemulib=$(STAGING_DIR) \
+ -Dar="$(TARGET_AR)" \
+ -Dcc="$(TARGET_CC)" \
+ -Dcpp="$(TARGET_CC)" \
+ -Dld="$(TARGET_LD)" \
+ -Dnm="$(TARGET_NM)" \
+ -Dranlib="$(TARGET_RANLIB)" \
+ -Dccflags="$(TARGET_CFLAGS)" \
+ -Dldflags="$(TARGET_LDFLAGS) -lgcc_s -lm" \
+ -Dlddlflags="-shared" \
+ -Dlibc=$(STAGING_DIR)/lib/libc.so \
+ -Duseshrplib \
+ -Dprefix=/usr \
+ -Uoptimize
+
+ifeq ($(shell expr $(PERL_VERSION_MAJOR) % 2), 1)
+ PERL_CONF_OPT += -Dusedevel
+endif
+
+ifneq ($(BR2_LARGEFILE),y)
+ PERL_CONF_OPT += -Uuselargefiles
+endif
+
+define PERL_CONFIGURE_CMDS
+ rm -f $(@D)/config.sh
+ (cd $(@D); ./Configure $(PERL_CONF_OPT))
+ echo "# patched values" >>$(@D)/config.sh
+ $(SED) '/^myarchname=/d' \
+ -e '/^mydomain=/d' \
+ -e '/^myhostname=/d' \
+ -e '/^myuname=/d' \
+ -e '/^osname=/d' \
+ -e '/^osvers=/d' \
+ -e '/^perladmin=/d' \
+ $(@D)/config.sh
+ echo "myarchname='$(GNU_TARGET_NAME)'" >>$(@D)/config.sh
+ echo "mydomain=''" >>$(@D)/config.sh
+ echo "myhostname='$(BR2_TARGET_GENERIC_HOSTNAME)'" >>$(@D)/config.sh
+ echo "myuname='Buildroot $(BR2_VERSION_FULL)'" >>$(@D)/config.sh
+ echo "osname='linux'" >>$(@D)/config.sh
+ echo "osvers='$(BR2_LINUX_KERNEL_VERSION)'" >>$(@D)/config.sh
+ echo "perladmin='root'" >>$(@D)/config.sh
+ (cd $(@D); ./Configure -S)
+ cp $(@D)/config.h $(@D)/xconfig.h
+ $(SED) 's/UNKNOWN-/Buildroot $(BR2_VERSION_FULL) /' $(@D)/patchlevel.h
+endef
+
+define PERL_BUILD_CMDS
+ echo "#!/bin/sh" > $(@D)/Cross/miniperl
+ echo "$(QEMU_USER) $(@D)/miniperl \"\$$@\"" >>$(@D)/Cross/miniperl
+ chmod +x $(@D)/Cross/miniperl
+ PERL_MM_OPT="PERL=$(@D)/Cross/miniperl" \
+ $(MAKE) -C $(@D) all
+endef
+
+define PERL_INSTALL_STAGING_CMDS
+ $(MAKE) INSTALL_DEPENDENCE= \
+ INSTALLFLAGS= \
+ DESTDIR="$(STAGING_DIR)" \
+ -C $(@D) install.perl
+endef
+
+PERL_RUN_PERL = $(QEMU_USER) $(@D)/perl -Ilib
+PERL_ARCHNAME = $(shell $(PERL_RUN_PERL) -MConfig -e "print Config->{archname}")
+PERL_LIB = $(TARGET_DIR)/usr/lib/perl5/$(PERL_VERSION)
+PERL_ARCHLIB = $(PERL_LIB)/$(PERL_ARCHNAME)
+
+define PERL_INSTALL_TARGET_CMDS
+ $(MAKE) INSTALL_DEPENDENCE= \
+ INSTALLFLAGS=-p \
+ DESTDIR="$(TARGET_DIR)" \
+ -C $(@D) install.perl
+ rm -f $(PERL_ARCHLIB)/CORE/*.h
+ find $(PERL_ARCHLIB) -type f -name *.bs -exec rm -f {} \;
+endef
+
+define PERL_CLEAN_CMDS
+ -$(MAKE) -C $(@D) clean
+endef
+
+$(eval $(generic-package))
--
1.7.9.5
^ permalink raw reply related
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