* [Buildroot] [PATCH 1/2] hiawatha: needs mmu
From: Peter Korsgaard @ 2012-11-28 18:39 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354109043-12022-1-git-send-email-gustavo@zacarias.com.ar>
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Committed both, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] libdaemon: needs mmu
From: Peter Korsgaard @ 2012-11-28 18:39 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=9e12a985a118c3157d74857e395c4af5b153db84
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/avahi/Config.in | 2 ++
package/ifplugd/Config.in | 2 ++
package/libdaemon/Config.in | 2 ++
package/nss-mdns/Config.in | 2 ++
package/radvd/Config.in | 2 ++
5 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/package/avahi/Config.in b/package/avahi/Config.in
index 8ba33d5..e2f8c53 100644
--- a/package/avahi/Config.in
+++ b/package/avahi/Config.in
@@ -1,5 +1,7 @@
config BR2_PACKAGE_AVAHI
bool "avahi"
+ # libdaemon uses fork()
+ depends on BR2_USE_MMU
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
help
Avahi is a system which facilitates service
diff --git a/package/ifplugd/Config.in b/package/ifplugd/Config.in
index 0311ad7..cbb5128 100644
--- a/package/ifplugd/Config.in
+++ b/package/ifplugd/Config.in
@@ -1,5 +1,7 @@
config BR2_PACKAGE_IFPLUGD
bool "ifplugd"
+ # libdaemon uses fork()
+ depends on BR2_USE_MMU
select BR2_PACKAGE_LIBDAEMON
help
Ifplugd is a daemon which will automatically configure your
diff --git a/package/libdaemon/Config.in b/package/libdaemon/Config.in
index 6943263..bfcedc1 100644
--- a/package/libdaemon/Config.in
+++ b/package/libdaemon/Config.in
@@ -1,5 +1,7 @@
config BR2_PACKAGE_LIBDAEMON
bool "libdaemon"
+ # needs fork()
+ depends on BR2_USE_MMU
help
libdaemon is a lightweight C library that eases the
writing of UNIX daemons.
diff --git a/package/nss-mdns/Config.in b/package/nss-mdns/Config.in
index 485cfcd..1df0ce4 100644
--- a/package/nss-mdns/Config.in
+++ b/package/nss-mdns/Config.in
@@ -1,5 +1,7 @@
config BR2_PACKAGE_NSS_MDNS
bool "nss-mdns"
+ # libdaemon->avahi uses fork()
+ depends on BR2_USE_MMU
depends on BR2_TOOLCHAIN_EXTERNAL_GLIBC || BR2_TOOLCHAIN_CTNG_eglibc || BR2_TOOLCHAIN_CTNG_glibc
depends on BR2_PACKAGE_AVAHI_DAEMON
help
diff --git a/package/radvd/Config.in b/package/radvd/Config.in
index 90c1fd4..d0d9d70 100644
--- a/package/radvd/Config.in
+++ b/package/radvd/Config.in
@@ -1,5 +1,7 @@
config BR2_PACKAGE_RADVD
bool "radvd"
+ # libdaemon uses fork()
+ depends on BR2_USE_MMU
select BR2_PACKAGE_FLEX
select BR2_PACKAGE_FLEX_LIBFL
select BR2_PACKAGE_LIBDAEMON
^ permalink raw reply related
* [Buildroot] [git commit] hiawatha: needs mmu
From: Peter Korsgaard @ 2012-11-28 18:39 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=737d92d9c271093e76a47d1e7c90b3c1e315f16a
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/hiawatha/Config.in | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/package/hiawatha/Config.in b/package/hiawatha/Config.in
index 431a9fa..ac0aa10 100644
--- a/package/hiawatha/Config.in
+++ b/package/hiawatha/Config.in
@@ -1,5 +1,7 @@
config BR2_PACKAGE_HIAWATHA
bool "hiawatha"
+ # needs fork()
+ depends on BR2_USE_MMU
help
Hiawatha is a webserver for Unix and has been built with
security in mind. This resulted in a highly secure
^ permalink raw reply related
* [Buildroot] [PATCH] ccache: Bump version
From: Benoît Thébaudeau @ 2012-11-28 18:35 UTC (permalink / raw)
To: buildroot
Signed-off-by: Beno?t Th?baudeau <benoit.thebaudeau@advansee.com>
---
.../package/ccache/ccache.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git buildroot-722b82f.orig/package/ccache/ccache.mk buildroot-722b82f/package/ccache/ccache.mk
index b9c2039..1cbad6e 100644
--- buildroot-722b82f.orig/package/ccache/ccache.mk
+++ buildroot-722b82f/package/ccache/ccache.mk
@@ -4,7 +4,7 @@
#
#############################################################
-CCACHE_VERSION = 3.1.7
+CCACHE_VERSION = 3.1.8
CCACHE_SITE = http://samba.org/ftp/ccache
CCACHE_SOURCE = ccache-$(CCACHE_VERSION).tar.bz2
^ permalink raw reply related
* [Buildroot] [PATCH] ccache: Fix URL
From: Benoît Thébaudeau @ 2012-11-28 18:35 UTC (permalink / raw)
To: buildroot
Signed-off-by: Beno?t Th?baudeau <benoit.thebaudeau@advansee.com>
---
.../package/ccache/Config.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git buildroot-722b82f.orig/package/ccache/Config.in buildroot-722b82f/package/ccache/Config.in
index f4f7f8f..4a37973 100644
--- buildroot-722b82f.orig/package/ccache/Config.in
+++ buildroot-722b82f/package/ccache/Config.in
@@ -5,5 +5,5 @@ config BR2_PACKAGE_CCACHE
caching previous compilations and detecting when the same
compilation is being done again
- http://samba.ccache.org
+ http://ccache.samba.org
^ permalink raw reply related
* [Buildroot] Problem building libglib2
From: Charles Manning @ 2012-11-28 18:09 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20121128143100.152d26d6@skate>
On Thu, Nov 29, 2012 at 2:31 AM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Dear Charles Manning,
>
> On Wed, 28 Nov 2012 14:37:46 +1300, Charles Manning wrote:
>
>> I'm a buildroot newbie and am trying to figure out what went wrong
>> here.
>
> This looks odd. Could you give us your Buildroot .config and tell us
> the Buildroot version you're using?
Hello Thomas
I have been working up from beaglebone defconfig towards a rootfs that
I want for a project.
The confg-201211281330 worked fine. I then added the bluez package and
things fell over.
I am using HEAD as of some time yesterday: commit
3bdbe9abb90de0262832d5d545f239fa41fb0e91
btw: Thank you very much for all you do for the community.
Regards
Charles
-------------- next part --------------
A non-text attachment was scrubbed...
Name: failing-config
Type: application/octet-stream
Size: 25149 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121129/37202728/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config-201211281330
Type: application/octet-stream
Size: 25038 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121129/37202728/attachment-0003.obj>
^ permalink raw reply
* [Buildroot] Qt mouse, keyboard, touchscreen
From: Zoran Djordjevic @ 2012-11-28 17:11 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20121128140030.42c255c9@skate>
Probably, because of?being unfamiliar?with svn, I made
some mistake. I directly changed the source code, according
to patch file, you submitted (it is easy to understand the procedure)
, and then do qt-reconfigure.
Also, the only one file qkbdlinuxinput_qws.cpp, after building
root file system is at .../output/build... directory, so what file
should I change ?
If I made a mistake with such procedure, can you tell me
what is regular procedure ?
?
Regards
________________________________
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: Zoran Djordjevic <djdjdjole@yahoo.com>
Cc: "buildroot at busybox.net" <buildroot@busybox.net>
Sent: Wednesday, November 28, 2012 2:00 PM
Subject: Re: [Buildroot] Qt mouse, keyboard, touchscreen
Dear Zoran Djordjevic,
On Wed, 28 Nov 2012 03:36:44 -0800 (PST), Zoran Djordjevic wrote:
> I've tried patch, you submitted, and then make qt-reconfigure and
qt-reconfigure will not re-extract the source code and apply the
patches, so it is not appropriate. If you want to rebuild a package
from scratch, including extracting the package and applying the
patches, do:
??? make qt-dirclean
> receive strange error about include folders. Same error I had
> earlier when trying with deleting stamp files (when added some
> options regarding Qt in Buildroot's menuconfig), and in that case
> I had to do make clean all. But if I do so, now, I think I will loose my
> patched files (am I right ?)
If you made changes to output/build/<something>/, yes, you will loose
your changes. But you shouldn't be making any change in
output/build/<something>/
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121128/b8a1b017/attachment.html>
^ permalink raw reply
* [Buildroot] [PATCH] matchbox-lib: Append -lX11 to the linker
From: Thomas Petazzoni @ 2012-11-28 16:42 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1351596554-27077-1-git-send-email-markos.chandras@gmail.com>
Peter,
Could you apply this one to 2012.11 ? Thanks!
On Tue, 30 Oct 2012 11:29:14 +0000, Markos Chandras wrote:
> From: Markos Chandras <markos.chandras@imgtec.com>
>
> Fixes building with binutils-2.22
> http://autobuild.buildroot.net/results/b4b26dd9c7d7bebe45638ba125fb49a5f5d0cc14/build-end.log
>
> Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [PATCH] gdb: properly pass the PATH when building gdb for the host
From: Thomas Petazzoni @ 2012-11-28 16:34 UTC (permalink / raw)
To: buildroot
When building gdb for the host, we properly pass the PATH (through
HOST_CONFIGURE_OPTS) during the configure step, but we forget to do so
for the compilation step.
The result of this is that when the Crosstool-NG backend is used, gawk
is built and installed in $(HOST_DIR), as a dependency of the
crosstool-ng package.
Then, the host gdb configure script detects this gawk binary
($(HOST_DIR) is in the PATH), and assumes gawk is
available. Unfortunately, during the compilation step, it fails to
find the expected gawk binary, because $(HOST_DIR) is no longer in the
PATH. This causes the following build failure:
http://autobuild.buildroot.org/results/067d0c2ea01673ba98ec11de2426f1ab92dac800/build-end.log
In order to fix this, we simply call the compilation step of gdb for
the host with $(HOST_MAKE_ENV), as it should have been done from the
beginning.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
toolchain/gdb/gdb.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/toolchain/gdb/gdb.mk b/toolchain/gdb/gdb.mk
index c42c755..4b8fe3a 100644
--- a/toolchain/gdb/gdb.mk
+++ b/toolchain/gdb/gdb.mk
@@ -196,6 +196,7 @@ $(GDB_HOST_DIR)/.configured: $(GDB_DIR)/.unpacked
$(GDB_HOST_DIR)/gdb/gdb: $(GDB_HOST_DIR)/.configured
# force ELF support since it fails due to BFD linking problems
+ $(HOST_MAKE_ENV) \
gdb_cv_var_elf=yes \
$(MAKE) -C $(GDB_HOST_DIR)
strip $(GDB_HOST_DIR)/gdb/gdb
--
1.7.9.5
^ permalink raw reply related
* [Buildroot] [PATCHv3 for-next 6/6] cpanminus: fix installation paths
From: Arnout Vandecappelle @ 2012-11-28 16:09 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354118962-18601-1-git-send-email-arnout@mind.be>
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
perlcross seems to set the installation paths differently than perl's
Configure, so adapt the reference to these paths in cpanminus.
[Francois: install into /usr/lib/perl]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
v2: integrated Francois' patch, merged with this one
---
package/cpanminus/cpanminus.mk | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/package/cpanminus/cpanminus.mk b/package/cpanminus/cpanminus.mk
index af35e93..e7e3f29 100644
--- a/package/cpanminus/cpanminus.mk
+++ b/package/cpanminus/cpanminus.mk
@@ -11,8 +11,8 @@ CPANMINUS_DEPENDENCIES = host-qemu perl $(call qstrip,$(BR2_PACKAGE_CPANMINUS_NA
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_LIB = $(STAGING_DIR)/usr/lib/perl
+CPANMINUS_PERL_SITELIB = $(TARGET_DIR)/usr/lib/perl
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)
@@ -27,8 +27,8 @@ define CPANMINUS_INSTALL_TARGET_CMDS
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)" \
+ PERL_MM_OPT="DESTDIR=$(CPANMINUS_PERL_SITELIB) PERL=$(@D)/run_perl PERL_LIB=$(CPANMINUS_PERL_LIB) PERL_ARCHLIB=$(CPANMINUS_PERL_ARCHLIB)" \
+ PERL_MB_OPT="--destdir $(CPANMINUS_PERL_SITELIB)" \
RUN_PERL="$(@D)/run_perl" \
$(CPANMINUS_RUN_PERL) $(@D)/cpanm \
--perl=$(@D)/run_perl \
@@ -36,7 +36,7 @@ define CPANMINUS_INSTALL_TARGET_CMDS
--no-man-pages \
$(CPANMINUS_MIRROR) \
$(call qstrip,$(BR2_PACKAGE_CPANMINUS_MODULES))
- find $(CPANMINUS_PERL_SITEARCH) -type f -name *.bs -exec rm -f {} \;
+ -find $(CPANMINUS_PERL_SITEARCH) -type f -name *.bs -exec rm -f {} \;
endef
else
define CPANMINUS_INSTALL_TARGET_CMDS
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCHv3 for-next 5/6] cpanminus: requires host-qemu
From: Arnout Vandecappelle @ 2012-11-28 16:09 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354118962-18601-1-git-send-email-arnout@mind.be>
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
It's still broken, but is someone wants to try it out then at least
the dependency is there.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
v3: Don't bother adding dependencies to Config.in
---
package/cpanminus/cpanminus.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/cpanminus/cpanminus.mk b/package/cpanminus/cpanminus.mk
index d3a338b..af35e93 100644
--- a/package/cpanminus/cpanminus.mk
+++ b/package/cpanminus/cpanminus.mk
@@ -7,7 +7,7 @@
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_DEPENDENCIES = host-qemu 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}")
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCHv3 for-next 4/6] perl: fix configure step
From: Arnout Vandecappelle @ 2012-11-28 16:09 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354118962-18601-1-git-send-email-arnout@mind.be>
From: Francois Perrad <fperrad@gmail.com>
Configure -A symbol=val generates a extra space in config.sh,
which causes failure like this :
Building Module-Runtime-0.013
Unknown OS type ' linux' - using default settings
[Arnout: use -A define:foo instead of patching config.sh]
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
package/perl/perl.mk | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/package/perl/perl.mk b/package/perl/perl.mk
index 0893eb5..391047d 100644
--- a/package/perl/perl.mk
+++ b/package/perl/perl.mk
@@ -55,14 +55,14 @@ PERL_CONF_OPT = \
--target-tools-prefix=$(TARGET_CROSS) \
--prefix=/usr \
-Dld="$(TARGET_CC_NOCCACHE)" \
- -A ccflags="$(TARGET_CFLAGS)" \
- -A ldflags="$(TARGET_LDFLAGS) -lm" \
- -A mydomain="" \
- -A myhostname="$(BR2_TARGET_GENERIC_HOSTNAME)" \
- -A myuname="Buildroot $(BR2_VERSION_FULL)" \
- -A osname=linux \
- -A osvers=$(LINUX_VERSION) \
- -A perladmin=root
+ -Dccflags="$(TARGET_CFLAGS)" \
+ -Dldflags="$(TARGET_LDFLAGS) -lm" \
+ -A define:mydomain="" \
+ -A define:myhostname="$(BR2_TARGET_GENERIC_HOSTNAME)" \
+ -A define:myuname="Buildroot $(BR2_VERSION_FULL)" \
+ -A define:osname=linux \
+ -A define:osvers=$(LINUX_VERSION) \
+ -A define:perladmin=root
ifeq ($(shell expr $(PERL_VERSION_MAJOR) % 2), 1)
PERL_CONF_OPT += -Dusedevel
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCHv3 for-next 3/6] perl: remove the double configure hack
From: Arnout Vandecappelle @ 2012-11-28 16:09 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354118962-18601-1-git-send-email-arnout@mind.be>
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
configure had to be called twice because with --mode=cross the
miniperl-step failed. However, just leaving out the --mode parameter
is sufficient to make it work. Since GNU_TARGET_NAME is always
different from the host's tuple (it has -buildroot- in it), we can
safely assume that the configure script will automatically enter
cross mode.
Also fix a type in perladmin definition.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
package/perl/perl.mk | 14 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git a/package/perl/perl.mk b/package/perl/perl.mk
index b84917b..0893eb5 100644
--- a/package/perl/perl.mk
+++ b/package/perl/perl.mk
@@ -47,19 +47,10 @@ ifeq ($(BR2_PACKAGE_GDBM),y)
PERL_DEPENDENCIES += gdbm
endif
-# Normally, --mode=cross should automatically do the two steps
-# below, but it doesn't work for some reason.
-PERL_HOST_CONF_OPT = \
- --mode=buildmini \
- --target=$(GNU_TARGET_NAME) \
- --target-arch=$(GNU_TARGET_NAME) \
- --set-target-name=$(GNU_TARGET_NAME)
-
# We have to override LD, because an external multilib toolchain ld is not
# wrapped to provide the required sysroot options. We also can't use ccache
# because the configure script doesn't support it.
PERL_CONF_OPT = \
- --mode=target \
--target=$(GNU_TARGET_NAME) \
--target-tools-prefix=$(TARGET_CROSS) \
--prefix=/usr \
@@ -71,7 +62,7 @@ PERL_CONF_OPT = \
-A myuname="Buildroot $(BR2_VERSION_FULL)" \
-A osname=linux \
-A osvers=$(LINUX_VERSION) \
- -A perlamdin=root
+ -A perladmin=root
ifeq ($(shell expr $(PERL_VERSION_MAJOR) % 2), 1)
PERL_CONF_OPT += -Dusedevel
@@ -87,8 +78,7 @@ PERL_CONF_OPT += --only-mod=$(subst $(space),$(comma),$(PERL_MODULES))
endif
define PERL_CONFIGURE_CMDS
- (cd $(@D); HOSTCC='$(HOSTCC_NOCACHE)' ./configure $(PERL_HOST_CONF_OPT))
- (cd $(@D); ./configure $(PERL_CONF_OPT))
+ (cd $(@D); HOSTCC='$(HOSTCC_NOCACHE)' ./configure $(PERL_CONF_OPT))
$(SED) 's/UNKNOWN-/Buildroot $(BR2_VERSION_FULL) /' $(@D)/patchlevel.h
endef
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCHv3 for-next 2/6] perl: substitute perlcross pod with perl-version-specific pod
From: Arnout Vandecappelle @ 2012-11-28 16:09 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354118962-18601-1-git-send-email-arnout@mind.be>
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
As suggested by Dan Pattison at ethertek ca.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
package/perl/perl.mk | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/package/perl/perl.mk b/package/perl/perl.mk
index f3c73dd..b84917b 100644
--- a/package/perl/perl.mk
+++ b/package/perl/perl.mk
@@ -13,8 +13,11 @@ PERL_LICENSE_FILES = Artistic
PERL_INSTALL_STAGING = YES
PERL_CROSS_VERSION = 0.7
+PERL_CROSS_BASE_VERSION = 5.$(PERL_VERSION_MAJOR).0
PERL_CROSS_SITE = http://download.berlios.de/perlcross
-PERL_CROSS_SOURCE = perl-5.$(PERL_VERSION_MAJOR).0-cross-$(PERL_CROSS_VERSION).tar.gz
+PERL_CROSS_SOURCE = perl-$(PERL_CROSS_BASE_VERSION)-cross-$(PERL_CROSS_VERSION).tar.gz
+PERL_CROSS_OLD_POD = perl$(subst .,,$(PERL_CROSS_BASE_VERSION))delta.pod
+PERL_CROSS_NEW_POD = perl$(subst .,,$(PERL_VERSION))delta.pod
# We use the perlcross hack to cross-compile perl. It should
# be extracted over the perl sources, so we don't define that
@@ -32,6 +35,11 @@ define PERL_CROSS_EXTRACT
endef
PERL_POST_EXTRACT_HOOKS += PERL_CROSS_EXTRACT
+define PERL_CROSS_SET_POD
+ $(SED) s/$(PERL_CROSS_OLD_POD)/$(PERL_CROSS_NEW_POD)/g $(@D)/Makefile
+endef
+PERL_POST_PATCH_HOOKS += PERL_CROSS_SET_POD
+
ifeq ($(BR2_PACKAGE_BERKELEYDB),y)
PERL_DEPENDENCIES += berkeleydb
endif
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCHv3 for-next 1/6] perl: remove redundant patches
From: Arnout Vandecappelle @ 2012-11-28 16:09 UTC (permalink / raw)
To: buildroot
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
Now we are using perlcross, the patches to make perl work with qemu are
redundant, so remove them.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
v2: don't remove perl-fix-Module-Build.patch [Francois Perrad]
---
package/perl/perl-configure-qemu.patch | 53 --------------------------------
package/perl/perl-make-ext.patch | 24 ---------------
package/perl/perl-mkppport.patch | 37 ----------------------
3 files changed, 114 deletions(-)
delete mode 100644 package/perl/perl-configure-qemu.patch
delete mode 100644 package/perl/perl-make-ext.patch
delete mode 100644 package/perl/perl-mkppport.patch
diff --git a/package/perl/perl-configure-qemu.patch b/package/perl/perl-configure-qemu.patch
deleted file mode 100644
index c2d6b92..0000000
--- a/package/perl/perl-configure-qemu.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-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
deleted file mode 100644
index e0195e7..0000000
--- a/package/perl/perl-make-ext.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-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
deleted file mode 100644
index 97f27a2..0000000
--- a/package/perl/perl-mkppport.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-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__
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH v2] libpcap: fix static build
From: Thomas Petazzoni @ 2012-11-28 14:42 UTC (permalink / raw)
To: buildroot
The libpcap package contained some interesting attempts to support a
static-only build, but it was not working:
http://autobuild.buildroot.org/results/01038d3b970092d894d2bae80679247e65722785/build-end.log
In fact the configure.in of libpcap has provision to support
--enable-shared/--disable-shared, but the generated configure script
in the libpcap package has not been regenerated with the configure.in
changes.
So basically, enabling LIBPCAP_AUTORECONF=YES ensures that the
configure script gets generated, which brings us a working
--enable-shared / --disable-shared.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
v2: Add comment above the AUTORECONF=YES line that explains why it is
needed.
---
package/libpcap/libpcap.mk | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/package/libpcap/libpcap.mk b/package/libpcap/libpcap.mk
index 7a1d32f..d35c228 100644
--- a/package/libpcap/libpcap.mk
+++ b/package/libpcap/libpcap.mk
@@ -10,11 +10,16 @@ LIBPCAP_LICENSE = BSD-3c
LIBPCAP_LICENSE_FILES = LICENSE
LIBPCAP_INSTALL_STAGING = YES
-# doesn't have an install-strip
-LIBPCAP_INSTALL_TARGET_OPT= DESTDIR="$(TARGET_DIR)" \
- $(if $(BR2_PREFER_STATIC_LIB),install,install-shared)
-LIBPCAP_INSTALL_STAGING_OPT= DESTDIR="$(STAGING_DIR)" install \
- $(if $(BR2_PREFER_STATIC_LIB),,install-shared)
+# The configure.in file contains the necessary code to handle
+# --enable-shared/--disable-shared properly, but the configure script
+# bundled with the libpcap tarball is not up-to-date with the
+# configure.in file. In order to get proper handling of
+# --enable-shared/--disable-shared, which is needed when doing a
+# static library build, we autoreconfigure this package. This can be
+# removed when bumping libpcap, after checking that the bundled
+# configure script correctly handles --enable-shared/--disable-shared.
+LIBPCAP_AUTORECONF = YES
+
LIBPCAP_DEPENDENCIES = zlib \
$(if $(BR2_PACKAGE_LIBUSB),libusb)
LIBPCAP_CONF_ENV = ac_cv_linux_vers=2 \
--
1.7.9.5
^ permalink raw reply related
* [Buildroot] [PATCH] binutils: not available for the target on AArch64
From: Thomas Petazzoni @ 2012-11-28 14:36 UTC (permalink / raw)
To: buildroot
Fixes:
http://autobuild.buildroot.org/results/74082860f607cbd857654e9504f5f7e7ae47c0ac/build-end.log
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/binutils/Config.in | 1 +
package/oprofile/Config.in | 1 +
2 files changed, 2 insertions(+)
diff --git a/package/binutils/Config.in b/package/binutils/Config.in
index 6480370..38d519a 100644
--- a/package/binutils/Config.in
+++ b/package/binutils/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_BINUTILS
bool "binutils"
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
+ depends on !BR2_aarch64
help
Install binutils on the target
diff --git a/package/oprofile/Config.in b/package/oprofile/Config.in
index 562c910..8c881d1 100644
--- a/package/oprofile/Config.in
+++ b/package/oprofile/Config.in
@@ -3,6 +3,7 @@ config BR2_PACKAGE_OPROFILE
select BR2_PACKAGE_POPT
select BR2_PACKAGE_BINUTILS
depends on BR2_INSTALL_LIBSTDCPP
+ depends on !BR2_aarch64 # binutils
help
OProfile is a system-wide profiler for Linux systems,
capable of profiling all running code at low overhead.
--
1.7.9.5
^ permalink raw reply related
* [Buildroot] [PATCH] flex: fix build for nommu systems
From: Gustavo Zacarias @ 2012-11-28 14:35 UTC (permalink / raw)
To: buildroot
The flex binary uses fork() so it breaks on !MMU builds.
Since we usually don't require flex in the target and the common
scenario is that we just want libfl in staging reverse the options so
that BR2_PACKAGE_FLEX just builds and install libfl.a and change the
LIBFL option to BR2_PACKAGE_FLEX_BINARY to install the binary in the
target.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/flex/Config.in | 10 +++++-----
package/flex/flex.mk | 26 +++++++++-----------------
package/gob2/Config.in | 1 -
package/ipsec-tools/Config.in | 1 -
package/libcue/Config.in | 1 -
package/linux-pam/Config.in | 1 -
package/radvd/Config.in | 1 -
7 files changed, 14 insertions(+), 27 deletions(-)
diff --git a/package/flex/Config.in b/package/flex/Config.in
index b10eb00..adef468 100644
--- a/package/flex/Config.in
+++ b/package/flex/Config.in
@@ -6,10 +6,10 @@ config BR2_PACKAGE_FLEX
http://www.gnu.org/software/flex/
-config BR2_PACKAGE_FLEX_LIBFL
- bool "Install libfl.a under staging_dir/usr/lib"
- default y
+config BR2_PACKAGE_FLEX_BINARY
+ bool "Install tool in the target"
+ # needs fork()
+ depends on BR2_USE_MMU
depends on BR2_PACKAGE_FLEX
help
- Install libfl.a under staging_dir/usr/lib for further development
- on a host machine.
+ Install the flex binary tool in the target filesystem.
diff --git a/package/flex/flex.mk b/package/flex/flex.mk
index 2599cdc..19b6ef2 100644
--- a/package/flex/flex.mk
+++ b/package/flex/flex.mk
@@ -16,30 +16,22 @@ FLEX_DEPENDENCIES = \
# we don't have a host-gettext/libintl
HOST_FLEX_DEPENDENCIES =
-# lex -> flex
-define FLEX_INSTALL_LEX
- cd $(TARGET_DIR)/usr/bin && ln -snf flex lex
+ifeq ($(BR2_PACKAGE_FLEX_BINARY),)
+define FLEX_DISABLE_PROGRAM
+ $(SED) 's/^bin_PROGRAMS.*//' $(@D)/Makefile.in
endef
-define FLEX_UNINSTALL_LEX
- -rm $(TARGET_DIR)/usr/bin/lex
-endef
+FLEX_POST_EXTRACT_HOOKS += FLEX_DISABLE_PROGRAM
-FLEX_POST_INSTALL_HOOKS += FLEX_INSTALL_LEX
-FLEX_POST_CLEAN_HOOKS += FLEX_UNINSTALL_LEX
+else
-# libfl installation
-ifeq ($(BR2_PACKAGE_FLEX_LIBFL),y)
-define FLEX_INSTALL_LIBFL
- install -D $(FLEX_DIR)/libfl.a $(STAGING_DIR)/usr/lib/libfl.a
+# lex -> flex
+define FLEX_INSTALL_LEX
+ cd $(TARGET_DIR)/usr/bin && ln -snf flex lex
endef
-define FLEX_UNINSTALL_LIBFL
- -rm $(STAGING_DIR)/lib/libfl.a
-endef
+FLEX_POST_INSTALL_HOOKS += FLEX_INSTALL_LEX
-FLEX_POST_INSTALL_HOOKS += FLEX_INSTALL_LIBFL
-FLEX_POST_CLEAN_HOOKS += FLEX_UNINSTALL_LIBFL
endif
$(eval $(autotools-package))
diff --git a/package/gob2/Config.in b/package/gob2/Config.in
index cbe30d6..4a09c41 100644
--- a/package/gob2/Config.in
+++ b/package/gob2/Config.in
@@ -5,7 +5,6 @@ config BR2_PACKAGE_GOB2
depends on BR2_USE_MMU
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_FLEX
- select BR2_PACKAGE_FLEX_LIBFL
select BR2_PACKAGE_BISON
help
GOB (GTK+ Object Builder) is a preprocessor which simplifies
diff --git a/package/ipsec-tools/Config.in b/package/ipsec-tools/Config.in
index 6f6dc37..06a5a56 100644
--- a/package/ipsec-tools/Config.in
+++ b/package/ipsec-tools/Config.in
@@ -2,7 +2,6 @@ config BR2_PACKAGE_IPSEC_TOOLS
bool "ipsec-tools"
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_FLEX
- select BR2_PACKAGE_FLEX_LIBFL
help
This package is required to support IPSec for Linux 2.6+
diff --git a/package/libcue/Config.in b/package/libcue/Config.in
index e5e2e16..6121746 100644
--- a/package/libcue/Config.in
+++ b/package/libcue/Config.in
@@ -1,7 +1,6 @@
config BR2_PACKAGE_LIBCUE
bool "libcue"
select BR2_PACKAGE_FLEX
- select BR2_PACKAGE_FLEX_LIBFL
help
CUE Sheet Parser Library
diff --git a/package/linux-pam/Config.in b/package/linux-pam/Config.in
index 7cfd814..7a4ae94 100644
--- a/package/linux-pam/Config.in
+++ b/package/linux-pam/Config.in
@@ -2,7 +2,6 @@ config BR2_PACKAGE_LINUX_PAM
bool "linux-pam"
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
select BR2_PACKAGE_FLEX
- select BR2_PACKAGE_FLEX_LIBFL
depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR)
help
A Security Framework that Provides Authentication for Applications
diff --git a/package/radvd/Config.in b/package/radvd/Config.in
index d0d9d70..98dbae2 100644
--- a/package/radvd/Config.in
+++ b/package/radvd/Config.in
@@ -3,7 +3,6 @@ config BR2_PACKAGE_RADVD
# libdaemon uses fork()
depends on BR2_USE_MMU
select BR2_PACKAGE_FLEX
- select BR2_PACKAGE_FLEX_LIBFL
select BR2_PACKAGE_LIBDAEMON
depends on BR2_INET_IPV6
help
--
1.7.8.6
^ permalink raw reply related
* [Buildroot] [git commit branch/next] package: add gd package
From: Baruch Siach @ 2012-11-28 14:12 UTC (permalink / raw)
To: buildroot
In-Reply-To: <87lidlzunw.fsf@dell.be.48ers.dk>
Hi Peter,
On Wed, Nov 28, 2012 at 06:09:07AM -0800, Peter Korsgaard wrote:
> >>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:
>
> Hi,
>
> >> +GD_TOOLS_ += gdlib-config
>
> Baruch> Shouldn't this be 'GD_TOOLS_y'?
>
> >> +GD_TOOLS_$(BR2_PACKAGE_GD_ANNOTATE) += annotate
> >> +GD_TOOLS_$(BR2_PACKAGE_GD_BDFTOGD) += bdftogd
> >> +GD_TOOLS_$(BR2_PACKAGE_GD_GD2COPYPAL) += gd2copypal
> >> +GD_TOOLS_$(BR2_PACKAGE_GD_GD2TOGIF) += gd2togif
> >> +GD_TOOLS_$(BR2_PACKAGE_GD_GD2TOPNG) += gd2topng
> >> +GD_TOOLS_$(BR2_PACKAGE_GD_GDCMPGIF) += gdcmpgif
> >> +GD_TOOLS_$(BR2_PACKAGE_GD_GDPARTTOPNG) += gdparttopng
> >> +GD_TOOLS_$(BR2_PACKAGE_GD_GDTOPNG) += gdtopng
> >> +GD_TOOLS_$(BR2_PACKAGE_GD_GIFTOGD2) += giftogd2
> >> +GD_TOOLS_$(BR2_PACKAGE_GD_PNGTOGD) += pngtogd
> >> +GD_TOOLS_$(BR2_PACKAGE_GD_PNGTOGD2) += pngtogd2
> >> +GD_TOOLS_$(BR2_PACKAGE_GD_WEBPNG) += webpng
> >> +
> >> +define GD_REMOVE_TOOLS
> >> + rm -f $(addprefix $(TARGET_DIR)/usr/bin/,$(GD_TOOLS_))
>
> Baruch> And here.
>
> No - The makefile installs everything, so I need to remove all programs
> NOT enabled (and gdlib-config is never needed).
I see. I got confused by the inverted logic. Thanks for the explanation.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
^ permalink raw reply
* [Buildroot] [git commit branch/next] package: add gd package
From: Peter Korsgaard @ 2012-11-28 14:09 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20121128052616.GA29377@sapphire.tkos.co.il>
>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:
Hi,
>> +GD_TOOLS_ += gdlib-config
Baruch> Shouldn't this be 'GD_TOOLS_y'?
>> +GD_TOOLS_$(BR2_PACKAGE_GD_ANNOTATE) += annotate
>> +GD_TOOLS_$(BR2_PACKAGE_GD_BDFTOGD) += bdftogd
>> +GD_TOOLS_$(BR2_PACKAGE_GD_GD2COPYPAL) += gd2copypal
>> +GD_TOOLS_$(BR2_PACKAGE_GD_GD2TOGIF) += gd2togif
>> +GD_TOOLS_$(BR2_PACKAGE_GD_GD2TOPNG) += gd2topng
>> +GD_TOOLS_$(BR2_PACKAGE_GD_GDCMPGIF) += gdcmpgif
>> +GD_TOOLS_$(BR2_PACKAGE_GD_GDPARTTOPNG) += gdparttopng
>> +GD_TOOLS_$(BR2_PACKAGE_GD_GDTOPNG) += gdtopng
>> +GD_TOOLS_$(BR2_PACKAGE_GD_GIFTOGD2) += giftogd2
>> +GD_TOOLS_$(BR2_PACKAGE_GD_PNGTOGD) += pngtogd
>> +GD_TOOLS_$(BR2_PACKAGE_GD_PNGTOGD2) += pngtogd2
>> +GD_TOOLS_$(BR2_PACKAGE_GD_WEBPNG) += webpng
>> +
>> +define GD_REMOVE_TOOLS
>> + rm -f $(addprefix $(TARGET_DIR)/usr/bin/,$(GD_TOOLS_))
Baruch> And here.
No - The makefile installs everything, so I need to remove all programs
NOT enabled (and gdlib-config is never needed).
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] Problem building libglib2
From: Thomas Petazzoni @ 2012-11-28 13:31 UTC (permalink / raw)
To: buildroot
In-Reply-To: <CAE21AQquyvDfegH5f8FebeE8LFTnOY3r75Yuy6ZpWs72uD80MQ@mail.gmail.com>
Dear Charles Manning,
On Wed, 28 Nov 2012 14:37:46 +1300, Charles Manning wrote:
> I'm a buildroot newbie and am trying to figure out what went wrong
> here.
This looks odd. Could you give us your Buildroot .config and tell us
the Buildroot version you're using?
Thanks,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [PATCH 2/2] libdaemon: needs mmu
From: Gustavo Zacarias @ 2012-11-28 13:24 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354109043-12022-1-git-send-email-gustavo@zacarias.com.ar>
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/avahi/Config.in | 2 ++
package/ifplugd/Config.in | 2 ++
package/libdaemon/Config.in | 2 ++
package/nss-mdns/Config.in | 2 ++
package/radvd/Config.in | 2 ++
5 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/package/avahi/Config.in b/package/avahi/Config.in
index 8ba33d5..e2f8c53 100644
--- a/package/avahi/Config.in
+++ b/package/avahi/Config.in
@@ -1,5 +1,7 @@
config BR2_PACKAGE_AVAHI
bool "avahi"
+ # libdaemon uses fork()
+ depends on BR2_USE_MMU
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
help
Avahi is a system which facilitates service
diff --git a/package/ifplugd/Config.in b/package/ifplugd/Config.in
index 0311ad7..cbb5128 100644
--- a/package/ifplugd/Config.in
+++ b/package/ifplugd/Config.in
@@ -1,5 +1,7 @@
config BR2_PACKAGE_IFPLUGD
bool "ifplugd"
+ # libdaemon uses fork()
+ depends on BR2_USE_MMU
select BR2_PACKAGE_LIBDAEMON
help
Ifplugd is a daemon which will automatically configure your
diff --git a/package/libdaemon/Config.in b/package/libdaemon/Config.in
index 6943263..bfcedc1 100644
--- a/package/libdaemon/Config.in
+++ b/package/libdaemon/Config.in
@@ -1,5 +1,7 @@
config BR2_PACKAGE_LIBDAEMON
bool "libdaemon"
+ # needs fork()
+ depends on BR2_USE_MMU
help
libdaemon is a lightweight C library that eases the
writing of UNIX daemons.
diff --git a/package/nss-mdns/Config.in b/package/nss-mdns/Config.in
index 485cfcd..1df0ce4 100644
--- a/package/nss-mdns/Config.in
+++ b/package/nss-mdns/Config.in
@@ -1,5 +1,7 @@
config BR2_PACKAGE_NSS_MDNS
bool "nss-mdns"
+ # libdaemon->avahi uses fork()
+ depends on BR2_USE_MMU
depends on BR2_TOOLCHAIN_EXTERNAL_GLIBC || BR2_TOOLCHAIN_CTNG_eglibc || BR2_TOOLCHAIN_CTNG_glibc
depends on BR2_PACKAGE_AVAHI_DAEMON
help
diff --git a/package/radvd/Config.in b/package/radvd/Config.in
index 90c1fd4..d0d9d70 100644
--- a/package/radvd/Config.in
+++ b/package/radvd/Config.in
@@ -1,5 +1,7 @@
config BR2_PACKAGE_RADVD
bool "radvd"
+ # libdaemon uses fork()
+ depends on BR2_USE_MMU
select BR2_PACKAGE_FLEX
select BR2_PACKAGE_FLEX_LIBFL
select BR2_PACKAGE_LIBDAEMON
--
1.7.8.6
^ permalink raw reply related
* [Buildroot] [PATCH 1/2] hiawatha: needs mmu
From: Gustavo Zacarias @ 2012-11-28 13:24 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/hiawatha/Config.in | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/package/hiawatha/Config.in b/package/hiawatha/Config.in
index 431a9fa..ac0aa10 100644
--- a/package/hiawatha/Config.in
+++ b/package/hiawatha/Config.in
@@ -1,5 +1,7 @@
config BR2_PACKAGE_HIAWATHA
bool "hiawatha"
+ # needs fork()
+ depends on BR2_USE_MMU
help
Hiawatha is a webserver for Unix and has been built with
security in mind. This resulted in a highly secure
--
1.7.8.6
^ permalink raw reply related
* [Buildroot] [git commit branch/next] package: add gd package
From: Thomas Petazzoni @ 2012-11-28 13:06 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20121128052616.GA29377@sapphire.tkos.co.il>
Dear Baruch Siach,
On Wed, 28 Nov 2012 07:26:17 +0200, Baruch Siach wrote:
> On Tue, Nov 27, 2012 at 11:21:06AM -0800, Peter Korsgaard wrote:
>
> [...]
>
> > +GD_TOOLS_ += gdlib-config
>
> Shouldn't this be 'GD_TOOLS_y'?
No, the idea is to have all tools to be kept in GD_TOOLS_y and all
tools to be removed in GD_TOOLS_. Since we always want to remove
gdlib-config from the target, we unconditionally add it to GD_TOOLS_.
> > +define GD_REMOVE_TOOLS
> > + rm -f $(addprefix $(TARGET_DIR)/usr/bin/,$(GD_TOOLS_))
>
> And here.
No, that's correct. GD_TOOLS_ is the list of things to be removed.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply
* [Buildroot] PATCH > To integrate pycrypto into Buildroot
From: Thomas Petazzoni @ 2012-11-28 13:02 UTC (permalink / raw)
To: buildroot
In-Reply-To: <07407110F438184D9D87521726FF42D41F64FE15@M357PRD1.ad.bcc.qld.gov.au>
Dear Noel Roberts,
On Wed, 28 Nov 2012 05:05:29 +0000, Noel Roberts wrote:
> This patch allows Buildroot to cross compile the crypto libraries
> needed for python integration, enabling good cryptographic support
> within Python.
Good. The part adding the package in package/Config.in is missing.
> This is my first patch submission - please advise me, if I need to
> rework anything.
Could you use git send-email to send your patch?
Thanks!
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox