* [Buildroot] [PATCH] package/crosstool-ng: bumpimg default GCC version to 4.6.3
From: Carsten Schoenert @ 2012-12-05 19:41 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354736519-18173-1-git-send-email-c.schoenert@t-online.de>
From: Carsten Schoenert <c.schoenert@t-online.de>
This bumps the GCC version from 4.4.6 to 4.6.3 to for
*.config-eglibc
*.config-glibc
*.config-uClibc
be equal to the default GCC setting in buildroot as well in addition to
commit b855154ee8683e87afa08c6cc50b716d22879922.
Signed-off-by: Carsten Schoenert <c.schoenert@t-online.de>
---
toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc | 2 +-
toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc | 2 +-
toolchain/toolchain-crosstool-ng/crosstool-ng.config-uClibc | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc b/toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc
index 1b523ec..9ad1c5b 100644
--- a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc
+++ b/toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc
@@ -265,7 +265,7 @@ CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
# C compiler
#
CT_CC="gcc"
-CT_CC_VERSION="4.4.6"
+CT_CC_VERSION="4.6.3"
CT_CC_gcc=y
# CT_CC_V_4_7_2 is not set
# CT_CC_V_4_6_3 is not set
diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc b/toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc
index 026c7fd..f220287 100644
--- a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc
+++ b/toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc
@@ -265,7 +265,7 @@ CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
# C compiler
#
CT_CC="gcc"
-CT_CC_VERSION="4.4.6"
+CT_CC_VERSION="4.6.3"
CT_CC_gcc=y
# CT_CC_V_4_7_2 is not set
# CT_CC_V_4_6_3 is not set
diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-uClibc b/toolchain/toolchain-crosstool-ng/crosstool-ng.config-uClibc
index 8ad481f..cede4ad 100644
--- a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-uClibc
+++ b/toolchain/toolchain-crosstool-ng/crosstool-ng.config-uClibc
@@ -264,7 +264,7 @@ CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
# C compiler
#
CT_CC="gcc"
-CT_CC_VERSION="4.4.6"
+CT_CC_VERSION="4.6.3"
CT_CC_gcc=y
# CT_CC_V_4_7_2 is not set
# CT_CC_V_4_6_3 is not set
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH 0/1] default GCC version in crosstool-ng.config-[eg, g.uC]libc
From: Carsten Schoenert @ 2012-12-05 19:41 UTC (permalink / raw)
To: buildroot
Hello,
after commiting previuos patch (b855154ee8683e87afa08c6cc50b716d22879922)
with the update for crosstool-ng to 1.17.0 Peter says there should be the
GCC version in compliance with the default GCC by buildroot. This should
be done with the folowing patch.
Note!
I have not tested this changes because I don't use any the ths configs.
So if someone can test this configs ...
Regards
Carsten
^ permalink raw reply
* [Buildroot] [PATCH] make legal-info: fails with OVERRIDE_SRCDIR
From: Peter Korsgaard @ 2012-12-05 19:30 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354529151-17426-1-git-send-email-sho@relinux.de>
>>>>> "Stephan" == Stephan Hoffmann <sho@relinux.de> writes:
Stephan> There is a check for OVERRIDE_SRCDIR in pkg-generic.mk that is
Stephan> supposed to produce a warning when OVERRIDE_SRCDIR is active.
Stephan> This does not work and instead the whole make terminates with
Stephan> an error message.
Stephan> This patch changes the check for active OVERRIDE_SRCDIR so that
Stephan> it works as expected.
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] make legal-info: fails with OVERRIDE_SRCDIR
From: Peter Korsgaard @ 2012-12-05 19:29 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=7f77121fdde5a0c16d9b6968c71e982d3e953d25
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
There is a check for OVERRIDE_SRCDIR in pkg-generic.mk that is
supposed to produce a warning when OVERRIDE_SRCDIR is active.
This does not work and instead the whole make terminates with
an error message.
This patch changes the check for active OVERRIDE_SRCDIR so that
it works as expected.
Signed-off-by: Stephan Hoffmann <sho@relinux.de>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/pkg-generic.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
index 6fcd359..fc05dc6 100644
--- a/package/pkg-generic.mk
+++ b/package/pkg-generic.mk
@@ -477,7 +477,7 @@ ifneq ($(call qstrip,$$($(2)_SOURCE)),)
ifeq ($$($(2)_SITE_METHOD),local)
# Packages without a tarball: don't save and warn
@$(call legal-warning-pkg-savednothing,$$($(2)_RAWNAME),local)
-else ifeq ($$($(2)_SITE_METHOD),override)
+else ifneq ($$($(2)_OVERRIDE_SRCDIR),)
@$(call legal-warning-pkg-savednothing,$$($(2)_RAWNAME),override)
else
# Other packages
^ permalink raw reply related
* [Buildroot] [PATCH v5] neardal: new package
From: Peter Korsgaard @ 2012-12-05 19:24 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354732823-5974-1-git-send-email-spdawson@gmail.com>
>>>>> "spdawson" == spdawson <spdawson@gmail.com> writes:
spdawson> From: Simon Dawson <spdawson@gmail.com>
spdawson> Signed-off-by: Simon Dawson <spdawson@gmail.com>
spdawson> ---
spdawson> v5: Resend
spdawson> v4: Incorporate Arnout Vandecappelle's suggested improvements
spdawson> v3: Remove spurious dependency on neard, add Arnout Vandecappelle's acks
You didn't actually add Arnouts ack, so I added that myself.
spdawson> +config BR2_PACKAGE_NEARDAL
spdawson> + bool "neardal"
spdawson> + depends on BR2_USE_WCHAR # glib2
spdawson> + select BR2_PACKAGE_DBUS
spdawson> + select BR2_PACKAGE_DBUS_GLIB
dbus needs threads and mmu as well.
spdawson> + help
spdawson> + Provides a simple C API to exchange data with the neard NFC manager daemon.
Please wrap help text to fit within the ~70-col menuconfig window.
spdawson> +
spdawson> + https://github.com/connectivity/neardal
spdawson> +
spdawson> +comment "neardal requires a toolchain with WCHAR support"
spdawson> + depends on !BR2_USE_WCHAR
spdawson> diff --git a/package/neardal/neardal.mk b/package/neardal/neardal.mk
spdawson> new file mode 100644
spdawson> index 0000000..f898df5
spdawson> --- /dev/null
spdawson> +++ b/package/neardal/neardal.mk
spdawson> @@ -0,0 +1,16 @@
spdawson> +#############################################################
spdawson> +#
spdawson> +# neardal
spdawson> +#
spdawson> +#############################################################
spdawson> +NEARDAL_VERSION = 0.7
spdawson> +NEARDAL_SITE = http://github.com/connectivity/neardal/tarball/$(NEARDAL_VERSION)
spdawson> +NEARDAL_SOURCE = connectivity-neardal-$(NEARDAL_VERSION).tar.gz
spdawson> +NEARDAL_INSTALL_STAGING = YES
spdawson> +NEARDAL_LICENSE = GPLv2
spdawson> +NEARDAL_LICENSE_FILES = COPYING
spdawson> +
spdawson> +NEARDAL_DEPENDENCIES = dbus-glib
Same comments as for neard. I've added dbus and host-pkgconf.
Committed with those changes, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] neardal: new package
From: Peter Korsgaard @ 2012-12-05 19:22 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=907ff8983e51046cd9fddd884440e83545a38088
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
[Peter: add toolchain deps for dbus. add dbus/host-pkgconf, wrap help text]
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
(built-test on a minimal powerpc config)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/Config.in | 1 +
package/neardal/Config.in | 15 +++++++++++++++
package/neardal/neardal.mk | 16 ++++++++++++++++
3 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/package/Config.in b/package/Config.in
index 40ca8e6..74e439e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -424,6 +424,7 @@ source "package/libusb/Config.in"
source "package/libusb-compat/Config.in"
source "package/libv4l/Config.in"
source "package/mtdev/Config.in"
+source "package/neardal/Config.in"
source "package/pcsc-lite/Config.in"
endmenu
diff --git a/package/neardal/Config.in b/package/neardal/Config.in
new file mode 100644
index 0000000..045ccee
--- /dev/null
+++ b/package/neardal/Config.in
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_NEARDAL
+ bool "neardal"
+ depends on BR2_USE_WCHAR # glib2
+ depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
+ depends on BR2_USE_MMU # dbus
+ select BR2_PACKAGE_DBUS
+ select BR2_PACKAGE_DBUS_GLIB
+ help
+ Provides a simple C API to exchange data with the neard NFC
+ manager daemon.
+
+ https://github.com/connectivity/neardal
+
+comment "neardal requires a toolchain with WCHAR and threads support"
+ depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/neardal/neardal.mk b/package/neardal/neardal.mk
new file mode 100644
index 0000000..66b729d
--- /dev/null
+++ b/package/neardal/neardal.mk
@@ -0,0 +1,16 @@
+#############################################################
+#
+# neardal
+#
+#############################################################
+NEARDAL_VERSION = 0.7
+NEARDAL_SITE = http://github.com/connectivity/neardal/tarball/$(NEARDAL_VERSION)
+NEARDAL_SOURCE = connectivity-neardal-$(NEARDAL_VERSION).tar.gz
+NEARDAL_INSTALL_STAGING = YES
+NEARDAL_LICENSE = GPLv2
+NEARDAL_LICENSE_FILES = COPYING
+
+NEARDAL_DEPENDENCIES = host-pkgconf dbus dbus-glib
+NEARDAL_AUTORECONF = YES
+
+$(eval $(autotools-package))
^ permalink raw reply related
* [Buildroot] [git commit] neard: new package
From: Peter Korsgaard @ 2012-12-05 19:14 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=34ae9eb63db4ff48da4ed45b9b48997e7c6cd590
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
[Peter: add toolchain dependencies for libglib2/libnl/dbus + host-pkgconf]
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/Config.in | 1 +
package/neard/Config.in | 18 ++++++++++++++++++
package/neard/neard.mk | 14 ++++++++++++++
3 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/package/Config.in b/package/Config.in
index ae94705..40ca8e6 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -237,6 +237,7 @@ source "package/mdadm/Config.in"
source "package/memtester/Config.in"
source "package/minicom/Config.in"
source "package/nanocom/Config.in"
+source "package/neard/Config.in"
source "package/ofono/Config.in"
source "package/open2300/Config.in"
source "package/openocd/Config.in"
diff --git a/package/neard/Config.in b/package/neard/Config.in
new file mode 100644
index 0000000..bcf6171
--- /dev/null
+++ b/package/neard/Config.in
@@ -0,0 +1,18 @@
+config BR2_PACKAGE_NEARD
+ bool "neard"
+ depends on BR2_USE_WCHAR # libglib2
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libnl / dbus
+ depends on BR2_USE_MMU # dbus
+ select BR2_PACKAGE_DBUS
+ select BR2_PACKAGE_LIBGLIB2
+ select BR2_PACKAGE_LIBNL
+ help
+ Near Field Communication (NFC) manager. This userspace daemon is
+ a part of the NFC stack provided by the Linux NFC project.
+
+ http://git.kernel.org/?p=network/nfc/neard.git;a=summary
+
+ https://01.org/linux-nfc/documentation/how-start-linux-nfc-code...
+
+comment "neard requires a toolchain with WCHAR and threads support"
+ depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/neard/neard.mk b/package/neard/neard.mk
new file mode 100644
index 0000000..2d3e30e
--- /dev/null
+++ b/package/neard/neard.mk
@@ -0,0 +1,14 @@
+#############################################################
+#
+# neard
+#
+#############################################################
+NEARD_VERSION = 0.8
+NEARD_SITE = $(BR2_KERNEL_MIRROR)/linux/network/nfc
+NEARD_LICENSE = GPLv2
+NEARD_LICENSE_FILES = COPYING
+
+NEARD_DEPENDENCIES = host-pkgconf dbus libglib2 libnl
+NEARD_CONF_OPT = --disable-traces
+
+$(eval $(autotools-package))
^ permalink raw reply related
* [Buildroot] [PATCH v5] neard: new package
From: Peter Korsgaard @ 2012-12-05 19:14 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354732747-5843-1-git-send-email-spdawson@gmail.com>
>>>>> "spdawson" == spdawson <spdawson@gmail.com> writes:
spdawson> From: Simon Dawson <spdawson@gmail.com>
spdawson> Signed-off-by: Simon Dawson <spdawson@gmail.com>
spdawson> ---
spdawson> v5: Resend
spdawson> v4: No changes; patch series version bumped
spdawson> v3: Incorporated improvements suggested by Baruch Siach,
spdawson> add Arnout Vandecappelle's acks
spdawson> v2: Incorporated improvements suggested by Thomas Petazzoni
spdawson> +config BR2_PACKAGE_NEARD
spdawson> + bool "neard"
spdawson> + select BR2_PACKAGE_DBUS
spdawson> + select BR2_PACKAGE_LIBGLIB2
spdawson> + select BR2_PACKAGE_LIBNL
You forgot to add the dependencies for the toolchain options needed by
dbus/libglib2/libnl.
Committed with that fixed, thanks.
spdawson> +++ b/package/neard/neard.mk
spdawson> @@ -0,0 +1,14 @@
spdawson> +#############################################################
spdawson> +#
spdawson> +# neard
spdawson> +#
spdawson> +#############################################################
spdawson> +NEARD_VERSION = 0.8
spdawson> +NEARD_SITE = $(BR2_KERNEL_MIRROR)/linux/network/nfc
spdawson> +NEARD_LICENSE = GPLv2
spdawson> +NEARD_LICENSE_FILES = COPYING
spdawson> +
spdawson> +NEARD_DEPENDENCIES = dbus libglib2 libnl
I know these will indirectly pull in host-pkgconf, but I think it makes
sense to add it here as well as configure.ac explicitly checks for it.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [PATCH] add support for Freescale .sb format to uboot
From: Thomas Petazzoni @ 2012-12-05 19:13 UTC (permalink / raw)
To: buildroot
In-Reply-To: <87k3sw9yt1.fsf@dell.be.48ers.dk>
Dear Peter Korsgaard,
On Wed, 05 Dec 2012 09:46:50 -0800, Peter Korsgaard wrote:
> >>>>> "Attila" == Attila Kinali <attila@kinali.ch> writes:
>
> >> [Buildroot] [PATCH 2/2] u-boot: add support for u-boot.sb file
> >> format
> >>
> >> It was more complete than this one, because it included the
> >> dependency on host-elftosb, which is needed to bring the elftosb
> >> tool built by Buildroot before U-Boot uses it to generate the .sb
> >> image.
>
> Attila> Any reason why it has not gotten into the git repo?
>
> Not really. I don't have any imx hw here. Are you able to test it?
It was submitted in March by a guy from Armadeus, and they do use i.MX
hardware a lot, so I guess that it works.
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 4/4] lua: support linenoise
From: Peter Korsgaard @ 2012-12-05 19:00 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354551135-30056-4-git-send-email-francois.perrad@gadz.org>
>>>>> "Francois" == Francois Perrad <fperrad@gmail.com> writes:
Francois> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Committed, thanks (but see below).
Francois> @@ -16,10 +16,16 @@ LUA_MYLIBS += -ldl
Francois> ifeq ($(BR2_PACKAGE_LUA_INTERPRETER_READLINE),y)
Francois> LUA_DEPENDENCIES = readline ncurses
Francois> LUA_MYLIBS += -lreadline -lhistory -lncurses
Francois> - LUA_CFLAGS += -DLUA_USE_LINUX
Francois> + LUA_CFLAGS += -DLUA_USE_POSIX -DLUA_USE_DLOPEN -DLUA_USE_READLINE
Why did you change LUA_USE_LINUX to LUA_USE_POSIX?
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] lua: support linenoise
From: Peter Korsgaard @ 2012-12-05 18:58 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=635bebf559f4f76bc4fa49c3ccb468476a654151
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/lua/Config.in | 17 +++++++++++++++++
package/lua/lua-11-linenoise.patch | 24 ++++++++++++++++++++++++
package/lua/lua.mk | 8 +++++++-
3 files changed, 48 insertions(+), 1 deletions(-)
diff --git a/package/lua/Config.in b/package/lua/Config.in
index 8233e2a..4166730 100644
--- a/package/lua/Config.in
+++ b/package/lua/Config.in
@@ -7,6 +7,15 @@ config BR2_PACKAGE_LUA
if BR2_PACKAGE_LUA
+choice
+ prompt "Lua Interpreter command-line editing"
+ default BR2_PACKAGE_LUA_INTERPRETER_EDITING_NONE
+
+config BR2_PACKAGE_LUA_INTERPRETER_EDITING_NONE
+ bool "none"
+ help
+ None.
+
config BR2_PACKAGE_LUA_INTERPRETER_READLINE
bool "readline support"
select BR2_PACKAGE_READLINE
@@ -14,4 +23,12 @@ config BR2_PACKAGE_LUA_INTERPRETER_READLINE
help
Enables command-line editing in the lua interpreter.
+config BR2_PACKAGE_LUA_INTERPRETER_LINENOISE
+ bool "linenoise support"
+ select BR2_PACKAGE_LINENOISE
+ help
+ Enables command-line editing in the lua interpreter.
+
+endchoice
+
endif
diff --git a/package/lua/lua-11-linenoise.patch b/package/lua/lua-11-linenoise.patch
new file mode 100644
index 0000000..488c080
--- /dev/null
+++ b/package/lua/lua-11-linenoise.patch
@@ -0,0 +1,24 @@
+Add support of linenoise (replace readline)
+
+see discussion, http://lua-users.org/lists/lua-l/2010-03/msg00879.html
+
+Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
+
+Index: b/src/luaconf.h
+===================================================================
+--- a/src/luaconf.h
++++ b/src/luaconf.h
+@@ -279,6 +279,13 @@
+ if (lua_strlen(L,idx) > 0) /* non-empty line? */ \
+ add_history(lua_tostring(L, idx)); /* add it to history */
+ #define lua_freeline(L,b) ((void)L, free(b))
++#elif defined(LUA_USE_LINENOISE)
++#include <linenoise.h>
++#define lua_readline(L,b,p) ((void)L, ((b)=linenoise(p)) != NULL)
++#define lua_saveline(L,idx) \
++ if (lua_strlen(L,idx) > 0) /* non-empty line? */ \
++ linenoiseHistoryAdd(lua_tostring(L, idx)); /* add it to history */
++#define lua_freeline(L,b) ((void)L, free(b))
+ #else
+ #define lua_readline(L,b,p) \
+ ((void)L, fputs(p, stdout), fflush(stdout), /* show prompt */ \
diff --git a/package/lua/lua.mk b/package/lua/lua.mk
index 9e0d387..32acc99 100644
--- a/package/lua/lua.mk
+++ b/package/lua/lua.mk
@@ -16,10 +16,16 @@ LUA_MYLIBS += -ldl
ifeq ($(BR2_PACKAGE_LUA_INTERPRETER_READLINE),y)
LUA_DEPENDENCIES = readline ncurses
LUA_MYLIBS += -lreadline -lhistory -lncurses
- LUA_CFLAGS += -DLUA_USE_LINUX
+ LUA_CFLAGS += -DLUA_USE_POSIX -DLUA_USE_DLOPEN -DLUA_USE_READLINE
+else
+ifeq ($(BR2_PACKAGE_LUA_INTERPRETER_LINENOISE),y)
+ LUA_DEPENDENCIES = linenoise
+ LUA_MYLIBS += -llinenoise
+ LUA_CFLAGS += -DLUA_USE_POSIX -DLUA_USE_DLOPEN -DLUA_USE_LINENOISE
else
LUA_CFLAGS += -DLUA_USE_POSIX -DLUA_USE_DLOPEN
endif
+endif
# We never want to have host-readline and host-ncurses as dependencies
# of host-lua.
^ permalink raw reply related
* [Buildroot] [PATCH v2] linenoise: new package
From: Peter Korsgaard @ 2012-12-05 18:57 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354730811-14060-1-git-send-email-francois.perrad@gadz.org>
>>>>> "Francois" == Francois Perrad <fperrad@gmail.com> writes:
Francois> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] linenoise: new package
From: Peter Korsgaard @ 2012-12-05 18:56 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=d87847203f3b1b6af51515978563f0dee737b6fd
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/Config.in | 1 +
package/linenoise/Config.in | 6 +++
package/linenoise/linenoise-get-columns.patch | 20 +++++++++++
package/linenoise/linenoise.mk | 45 +++++++++++++++++++++++++
4 files changed, 72 insertions(+), 0 deletions(-)
diff --git a/package/Config.in b/package/Config.in
index f95e29d..ae94705 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -525,6 +525,7 @@ menu "Text and terminal handling"
source "package/enchant/Config.in"
source "package/icu/Config.in"
source "package/libiconv/Config.in"
+source "package/linenoise/Config.in"
source "package/ncurses/Config.in"
source "package/newt/Config.in"
source "package/pcre/Config.in"
diff --git a/package/linenoise/Config.in b/package/linenoise/Config.in
new file mode 100644
index 0000000..8e4ab91
--- /dev/null
+++ b/package/linenoise/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LINENOISE
+ bool "linenoise"
+ help
+ A small self-contained alternative to readline and libedit
+
+ https://github.com/antirez/linenoise
diff --git a/package/linenoise/linenoise-get-columns.patch b/package/linenoise/linenoise-get-columns.patch
new file mode 100644
index 0000000..4fb9e40
--- /dev/null
+++ b/package/linenoise/linenoise-get-columns.patch
@@ -0,0 +1,20 @@
+returns the default value (80) when a real value is not available
+(0 is not an acceptable value for COLUMNS, the width of the screen).
+
+see pull request on upstream : http://github.com/antirez/linenoise/pull/31
+
+Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
+
+Index: b/linenoise.c
+===================================================================
+--- a/linenoise.c
++++ b/linenoise.c
+@@ -182,7 +182,7 @@
+ static int getColumns(void) {
+ struct winsize ws;
+
+- if (ioctl(1, TIOCGWINSZ, &ws) == -1) return 80;
++ if (ioctl(1, TIOCGWINSZ, &ws) == -1 || ws.ws_col == 0) return 80;
+ return ws.ws_col;
+ }
+
diff --git a/package/linenoise/linenoise.mk b/package/linenoise/linenoise.mk
new file mode 100644
index 0000000..343a107
--- /dev/null
+++ b/package/linenoise/linenoise.mk
@@ -0,0 +1,45 @@
+#############################################################
+#
+# linenoise
+#
+#############################################################
+LINENOISE_VERSION = g8c9b481
+LINENOISE_SITE = http://github.com/antirez/linenoise/tarball/master
+LINENOISE_LICENSE = BSD-2c
+LINENOISE_INSTALL_STAGING = YES
+
+define LINENOISE_BUILD_CMDS
+ cd $(@D); $(TARGET_CC) $(TARGET_CFLAGS) -c linenoise.c
+ cd $(@D); $(TARGET_AR) rcu liblinenoise.a linenoise.o
+ cd $(@D); $(TARGET_CC) $(TARGET_LDFLAGS) -o linenoise_example example.c -L. -llinenoise
+endef
+
+define LINENOISE_INSTALL_STAGING_CMDS
+ $(INSTALL) -m 644 -D $(@D)/linenoise.h $(STAGING_DIR)/usr/include/linenoise.h
+ $(INSTALL) -m 644 -D $(@D)/liblinenoise.a $(STAGING_DIR)/usr/lib/liblinenoise.a
+ $(INSTALL) -m 755 -D $(@D)/linenoise_example $(STAGING_DIR)/usr/bin/linenoise_example
+endef
+
+define LINENOISE_UNINSTALL_STAGING_CMDS
+ rm -f $(STAGING_DIR)/usr/include/linenoise.h
+ rm -f $(STAGING_DIR)/usr/lib/liblinenoise.a
+ rm -f $(STAGING_DIR)/usr/bin/linenoise_example
+endef
+
+define LINENOISE_INSTALL_TARGET_CMDS
+ $(INSTALL) -m 644 -D $(@D)/linenoise.h $(TARGET_DIR)/usr/include/linenoise.h
+ $(INSTALL) -m 644 -D $(@D)/liblinenoise.a $(TARGET_DIR)/usr/lib/liblinenoise.a
+ $(INSTALL) -m 755 -D $(@D)/linenoise_example $(TARGET_DIR)/usr/bin/linenoise_example
+endef
+
+define LINENOISE_UNINSTALL_TARGET_CMDS
+ rm -f $(TARGET_DIR)/usr/include/linenoise.h
+ rm -f $(TARGET_DIR)/usr/lib/liblinenoise.a
+ rm -f $(TARGET_DIR)/usr/bin/linenoise_example
+endef
+
+define LINENOISE_CLEAN_CMDS
+ rm -f $(@D)/*.o $(@D)/*.a $(@D)/linenoise_example
+endef
+
+$(eval $(generic-package))
^ permalink raw reply related
* [Buildroot] Qt library difference between E.so and just .so
From: Santhosh Ramani @ 2012-12-05 18:46 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20121204181948.60bfbd4e@eb-e6520>
Hello Everyone,
Thank you so much for all your replies, I tried the solution you guys
mentioned and yes it works fine. I now point to the libraries created by
buildroot and also had to point to qmake from buildroot and can run the
applications fine on my board.
How do I get touchscreen to work, the applications load fine, but there is
no touch response. I performed ts_calibrate and it works fine...so I'm
guessing there is again something to do with pointing to the correct tslib??
Thank you again for all your answers and patience :)
Regards
Santhosh
--
Greater the Difficulty....Sweeter is the Victory
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121205/f59f8804/attachment.html>
^ permalink raw reply
* [Buildroot] [PATCH v5] neardal: new package
From: spdawson at gmail.com @ 2012-12-05 18:40 UTC (permalink / raw)
To: buildroot
From: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
v5: Resend
v4: Incorporate Arnout Vandecappelle's suggested improvements
v3: Remove spurious dependency on neard, add Arnout Vandecappelle's acks
v2: (No v2, bumped entire patch series to v3)
package/Config.in | 1 +
package/neardal/Config.in | 12 ++++++++++++
package/neardal/neardal.mk | 16 ++++++++++++++++
3 files changed, 29 insertions(+)
create mode 100644 package/neardal/Config.in
create mode 100644 package/neardal/neardal.mk
diff --git a/package/Config.in b/package/Config.in
index 4bc5cf3..2cb9b8e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -424,6 +424,7 @@ source "package/libusb/Config.in"
source "package/libusb-compat/Config.in"
source "package/libv4l/Config.in"
source "package/mtdev/Config.in"
+source "package/neardal/Config.in"
source "package/pcsc-lite/Config.in"
endmenu
diff --git a/package/neardal/Config.in b/package/neardal/Config.in
new file mode 100644
index 0000000..990b302
--- /dev/null
+++ b/package/neardal/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_NEARDAL
+ bool "neardal"
+ depends on BR2_USE_WCHAR # glib2
+ select BR2_PACKAGE_DBUS
+ select BR2_PACKAGE_DBUS_GLIB
+ help
+ Provides a simple C API to exchange data with the neard NFC manager daemon.
+
+ https://github.com/connectivity/neardal
+
+comment "neardal requires a toolchain with WCHAR support"
+ depends on !BR2_USE_WCHAR
diff --git a/package/neardal/neardal.mk b/package/neardal/neardal.mk
new file mode 100644
index 0000000..f898df5
--- /dev/null
+++ b/package/neardal/neardal.mk
@@ -0,0 +1,16 @@
+#############################################################
+#
+# neardal
+#
+#############################################################
+NEARDAL_VERSION = 0.7
+NEARDAL_SITE = http://github.com/connectivity/neardal/tarball/$(NEARDAL_VERSION)
+NEARDAL_SOURCE = connectivity-neardal-$(NEARDAL_VERSION).tar.gz
+NEARDAL_INSTALL_STAGING = YES
+NEARDAL_LICENSE = GPLv2
+NEARDAL_LICENSE_FILES = COPYING
+
+NEARDAL_DEPENDENCIES = dbus-glib
+NEARDAL_AUTORECONF = YES
+
+$(eval $(autotools-package))
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH v5] neard: new package
From: spdawson at gmail.com @ 2012-12-05 18:39 UTC (permalink / raw)
To: buildroot
From: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
v5: Resend
v4: No changes; patch series version bumped
v3: Incorporated improvements suggested by Baruch Siach,
add Arnout Vandecappelle's acks
v2: Incorporated improvements suggested by Thomas Petazzoni
package/Config.in | 1 +
package/neard/Config.in | 12 ++++++++++++
package/neard/neard.mk | 14 ++++++++++++++
3 files changed, 27 insertions(+)
create mode 100644 package/neard/Config.in
create mode 100644 package/neard/neard.mk
diff --git a/package/Config.in b/package/Config.in
index f95e29d..4bc5cf3 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -237,6 +237,7 @@ source "package/mdadm/Config.in"
source "package/memtester/Config.in"
source "package/minicom/Config.in"
source "package/nanocom/Config.in"
+source "package/neard/Config.in"
source "package/ofono/Config.in"
source "package/open2300/Config.in"
source "package/openocd/Config.in"
diff --git a/package/neard/Config.in b/package/neard/Config.in
new file mode 100644
index 0000000..a50dbeb
--- /dev/null
+++ b/package/neard/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_NEARD
+ bool "neard"
+ select BR2_PACKAGE_DBUS
+ select BR2_PACKAGE_LIBGLIB2
+ select BR2_PACKAGE_LIBNL
+ help
+ Near Field Communication (NFC) manager. This userspace daemon is a part
+ of the NFC stack provided by the Linux NFC project.
+
+ http://git.kernel.org/?p=network/nfc/neard.git;a=summary
+
+ https://01.org/linux-nfc/documentation/how-start-linux-nfc-code...
diff --git a/package/neard/neard.mk b/package/neard/neard.mk
new file mode 100644
index 0000000..28bde71
--- /dev/null
+++ b/package/neard/neard.mk
@@ -0,0 +1,14 @@
+#############################################################
+#
+# neard
+#
+#############################################################
+NEARD_VERSION = 0.8
+NEARD_SITE = $(BR2_KERNEL_MIRROR)/linux/network/nfc
+NEARD_LICENSE = GPLv2
+NEARD_LICENSE_FILES = COPYING
+
+NEARD_DEPENDENCIES = dbus libglib2 libnl
+NEARD_CONF_OPT = --disable-traces
+
+$(eval $(autotools-package))
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [git commit] jamvm: force ARM mode when building to avoid thumb2 build problems
From: Peter Korsgaard @ 2012-12-05 18:17 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=ac3ee237d96731b869eeca435e1b8351aacd245b
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/jamvm/jamvm.mk | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/package/jamvm/jamvm.mk b/package/jamvm/jamvm.mk
index f0765d7..3f05361 100644
--- a/package/jamvm/jamvm.mk
+++ b/package/jamvm/jamvm.mk
@@ -8,4 +8,10 @@ JAMVM_CONF_OPT = \
--disable-shared \
--without-pic
+# jamvm has ARM assembly code that cannot be compiled in Thumb2 mode,
+# so we must force traditional ARM mode.
+ifeq ($(BR2_arm),y)
+JAMVM_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -marm"
+endif
+
$(eval $(autotools-package))
^ permalink raw reply related
* [Buildroot] [PATCH v2] linenoise: new package
From: Francois Perrad @ 2012-12-05 18:06 UTC (permalink / raw)
To: buildroot
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
package/Config.in | 1 +
package/linenoise/Config.in | 6 ++++
package/linenoise/linenoise-get-columns.patch | 20 +++++++++++
package/linenoise/linenoise.mk | 45 +++++++++++++++++++++++++
4 files changed, 72 insertions(+)
create mode 100644 package/linenoise/Config.in
create mode 100644 package/linenoise/linenoise-get-columns.patch
create mode 100644 package/linenoise/linenoise.mk
diff --git a/package/Config.in b/package/Config.in
index e8b8cd7..2c1fba4 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -517,6 +517,7 @@ menu "Text and terminal handling"
source "package/enchant/Config.in"
source "package/icu/Config.in"
source "package/libiconv/Config.in"
+source "package/linenoise/Config.in"
source "package/ncurses/Config.in"
source "package/newt/Config.in"
source "package/pcre/Config.in"
diff --git a/package/linenoise/Config.in b/package/linenoise/Config.in
new file mode 100644
index 0000000..8e4ab91
--- /dev/null
+++ b/package/linenoise/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LINENOISE
+ bool "linenoise"
+ help
+ A small self-contained alternative to readline and libedit
+
+ https://github.com/antirez/linenoise
diff --git a/package/linenoise/linenoise-get-columns.patch b/package/linenoise/linenoise-get-columns.patch
new file mode 100644
index 0000000..4fb9e40
--- /dev/null
+++ b/package/linenoise/linenoise-get-columns.patch
@@ -0,0 +1,20 @@
+returns the default value (80) when a real value is not available
+(0 is not an acceptable value for COLUMNS, the width of the screen).
+
+see pull request on upstream : http://github.com/antirez/linenoise/pull/31
+
+Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
+
+Index: b/linenoise.c
+===================================================================
+--- a/linenoise.c
++++ b/linenoise.c
+@@ -182,7 +182,7 @@
+ static int getColumns(void) {
+ struct winsize ws;
+
+- if (ioctl(1, TIOCGWINSZ, &ws) == -1) return 80;
++ if (ioctl(1, TIOCGWINSZ, &ws) == -1 || ws.ws_col == 0) return 80;
+ return ws.ws_col;
+ }
+
diff --git a/package/linenoise/linenoise.mk b/package/linenoise/linenoise.mk
new file mode 100644
index 0000000..343a107
--- /dev/null
+++ b/package/linenoise/linenoise.mk
@@ -0,0 +1,45 @@
+#############################################################
+#
+# linenoise
+#
+#############################################################
+LINENOISE_VERSION = g8c9b481
+LINENOISE_SITE = http://github.com/antirez/linenoise/tarball/master
+LINENOISE_LICENSE = BSD-2c
+LINENOISE_INSTALL_STAGING = YES
+
+define LINENOISE_BUILD_CMDS
+ cd $(@D); $(TARGET_CC) $(TARGET_CFLAGS) -c linenoise.c
+ cd $(@D); $(TARGET_AR) rcu liblinenoise.a linenoise.o
+ cd $(@D); $(TARGET_CC) $(TARGET_LDFLAGS) -o linenoise_example example.c -L. -llinenoise
+endef
+
+define LINENOISE_INSTALL_STAGING_CMDS
+ $(INSTALL) -m 644 -D $(@D)/linenoise.h $(STAGING_DIR)/usr/include/linenoise.h
+ $(INSTALL) -m 644 -D $(@D)/liblinenoise.a $(STAGING_DIR)/usr/lib/liblinenoise.a
+ $(INSTALL) -m 755 -D $(@D)/linenoise_example $(STAGING_DIR)/usr/bin/linenoise_example
+endef
+
+define LINENOISE_UNINSTALL_STAGING_CMDS
+ rm -f $(STAGING_DIR)/usr/include/linenoise.h
+ rm -f $(STAGING_DIR)/usr/lib/liblinenoise.a
+ rm -f $(STAGING_DIR)/usr/bin/linenoise_example
+endef
+
+define LINENOISE_INSTALL_TARGET_CMDS
+ $(INSTALL) -m 644 -D $(@D)/linenoise.h $(TARGET_DIR)/usr/include/linenoise.h
+ $(INSTALL) -m 644 -D $(@D)/liblinenoise.a $(TARGET_DIR)/usr/lib/liblinenoise.a
+ $(INSTALL) -m 755 -D $(@D)/linenoise_example $(TARGET_DIR)/usr/bin/linenoise_example
+endef
+
+define LINENOISE_UNINSTALL_TARGET_CMDS
+ rm -f $(TARGET_DIR)/usr/include/linenoise.h
+ rm -f $(TARGET_DIR)/usr/lib/liblinenoise.a
+ rm -f $(TARGET_DIR)/usr/bin/linenoise_example
+endef
+
+define LINENOISE_CLEAN_CMDS
+ rm -f $(@D)/*.o $(@D)/*.a $(@D)/linenoise_example
+endef
+
+$(eval $(generic-package))
--
1.7.9.5
^ permalink raw reply related
* [Buildroot] [PATCH 3/4] linenoise: new package
From: François Perrad @ 2012-12-05 18:06 UTC (permalink / raw)
To: buildroot
In-Reply-To: <87sj7ka1t3.fsf@dell.be.48ers.dk>
2012/12/5 Peter Korsgaard <jacmet@uclibc.org>:
>>>>>> "Francois" == Francois Perrad <fperrad@gmail.com> writes:
>
> Francois> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> Francois> ---
> Francois> package/Config.in | 1 +
> Francois> package/linenoise/Config.in | 6 ++++
> Francois> package/linenoise/linenoise-get-columns.patch | 17 ++++++++++
> Francois> package/linenoise/linenoise.mk | 45 +++++++++++++++++++++++++
> Francois> 4 files changed, 69 insertions(+)
> Francois> create mode 100644 package/linenoise/Config.in
> Francois> create mode 100644 package/linenoise/linenoise-get-columns.patch
> Francois> create mode 100644 package/linenoise/linenoise.mk
>
> Francois> diff --git a/package/linenoise/linenoise-get-columns.patch b/package/linenoise/linenoise-get-columns.patch
> Francois> new file mode 100644
> Francois> index 0000000..180d1c3
> Francois> --- /dev/null
> Francois> +++ b/package/linenoise/linenoise-get-columns.patch
> Francois> @@ -0,0 +1,17 @@
> Francois> +see http://github.com/antirez/linenoise/pull/31
>
> It would still be good to describe what it does and why.
>
Ok.
>
> Francois> +
> Francois> +Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> Francois> +
> Francois> +Index: b/linenoise.c
> Francois> +===================================================================
> Francois> +--- a/linenoise.c
> Francois> ++++ b/linenoise.c
> Francois> +@@ -182,7 +182,7 @@
> Francois> + static int getColumns(void) {
> Francois> + struct winsize ws;
> Francois> +
> Francois> +- if (ioctl(1, TIOCGWINSZ, &ws) == -1) return 80;
> Francois> ++ if (ioctl(1, TIOCGWINSZ, &ws) == -1 || ws.ws_col == 0) return 80;
> Francois> + return ws.ws_col;
> Francois> + }
> Francois> +
> Francois> diff --git a/package/linenoise/linenoise.mk b/package/linenoise/linenoise.mk
> Francois> new file mode 100644
> Francois> index 0000000..e7b6124
> Francois> --- /dev/null
> Francois> +++ b/package/linenoise/linenoise.mk
> Francois> @@ -0,0 +1,45 @@
> Francois> +#############################################################
> Francois> +#
> Francois> +# linenoise
> Francois> +#
> Francois> +#############################################################
> Francois> +LINENOISE_VERSION = g8c9b481
> Francois> +LINENOISE_SITE = http://github.com/antirez/linenoise/tarball/master
> Francois> +LINENOISE_LICENSE = BSD-2c
> Francois> +LINENOISE_INSTALL_STAGING = YES
> Francois> +
> Francois> +define LINENOISE_BUILD_CMDS
> Francois> + cd $(@D); $(TARGET_CC) $(TARGET_CFLAGS) -c linenoise.c
> Francois> + cd $(@D); $(TARGET_AR) rcu liblinenoise.a linenoise.o
> Francois> + cd $(@D); $(TARGET_CC) $(TARGET_CFLAGS) -o linenoise_example example.c -L. -llinenoise
>
> Does it make sense to build and install the example? If it does, it
> should also use $(TARGET_LDFLAGS).
Fixed in v2.
Fran?ois
>
>
> --
> Bye, Peter Korsgaard
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply
* [Buildroot] [PATCH] add support for Freescale .sb format to uboot
From: Peter Korsgaard @ 2012-12-05 17:46 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20121205181613.380b6492c8cfedefafae9655@kinali.ch>
>>>>> "Attila" == Attila Kinali <attila@kinali.ch> writes:
>> [Buildroot] [PATCH 2/2] u-boot: add support for u-boot.sb file format
>>
>> It was more complete than this one, because it included the dependency
>> on host-elftosb, which is needed to bring the elftosb tool built by
>> Buildroot before U-Boot uses it to generate the .sb image.
Attila> Any reason why it has not gotten into the git repo?
Not really. I don't have any imx hw here. Are you able to test it?
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [PATCH] [RFC] new target: live filesystem
From: Arnout Vandecappelle @ 2012-12-05 17:31 UTC (permalink / raw)
To: buildroot
In-Reply-To: <d3136d0b-4214-4033-82fa-be8adffe1aa8@zimbra2.corp.accelance.fr>
On 05/12/12 10:28, Jeremy Rosen wrote:
> V3 is on the way....
>
> I skip items I agree with and applied
>
>>
>>> +config BR2_TARGET_ROOTFS_LIVE_DEST
>>> + string "live image location"
>>> + depends on BR2_TARGET_ROOTFS_LIVE
>>> + default "$(BINARIES_DIR)/live"
>>> + help
>>> + The directory where the image should be stored.
>>> + this directory will be emptied and recreated, it is given
>>
>> this -> This
>>
>>> + relative to the buildroot output/images directory
>>
>> The second part of this statement is redundant (it's true for all
>> paths in the config and is not mentioned anywhere else)
>>
>
> and the whole thing is false since that path is now absolute (which makes more sense for NFS deployement)
>
> unless you want me to make it relative again... I believe absolute (whith the possibility to use env vars to find the buildroot location) makes most sense but that might be worth discussing
Like most other paths in buildroot, it's relative to $(TOP_DIR)
(i.e. the buildroot directory).
>>> +endef
>>> +
>>> +define ROOTFS_LIVE_INIT
>>> + if [ -z $(shell which sudo) ] ; then echo "sudo seems to not be
>>> installed on the host system" ; false ; fi ; \
>>
>> This really should be checked in
>> support/dependencies/dependencies.sh.
>>
>
> I didn't know about that file, but it seems to be more about dependencies for buildroot core than dependencies for a particular config option...
I forgot to add: similar to the java dependencies for classpath.
>
> otoh it's the only place where we check for stuff installed on the host (not compiled for host, natively installed on host)
>
> maybe the cleanest way to do it would be to have a virtual target
>
> ROOTFS_DEPENDS=native-xxx
>
> that would just check that "which xxx" exists on the system...
>
> that's a different patch I could have a look at if people think it's a good idea (I am not good at makefile so I have no idea if it's one line of code or if i'm going into makefile hell here...)
That's not how we work - all native dependencies are checked in
support/dependencies.
[snip]
> I could also run sudo with "fail instead of asking for a password" option, and have people add the proper line in the sudo config file to allow untar without password, but i'm not sure if it's better or worse
No, we don't want to force people to change their host config just so they
can use buildroot.
Regards,
Arnout
>
> i'll probably wait for your answer before sending V3
>
> Thx for the proofreading
>
> Regards
> J?r?my Rosen
>
--
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] [Bug 5750] buildroot-2012.11 while building X11 for ARM, errors on xlib_libX11-1.4.2
From: Arnout Vandecappelle @ 2012-12-05 17:20 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20121205075957.00AEA99A07@busybox.osuosl.org>
On 05/12/12 08:59, bugzilla at busybox.net wrote:
> https://bugs.busybox.net/show_bug.cgi?id=5750
>
> --- Comment #1 from Thomas Petazzoni<thomas.petazzoni@free-electrons.com> 2012-12-05 07:59:54 UTC ---
> For some complicated reason, using Buildroot in a directory stored under /usr
> doesn't work. We will work on fixing that, but in the mean time, please build
> from /home/something, /opt or anything else, but not from a subdirectory of
> /usr.
We should at least have a check for that...
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] add support for Freescale .sb format to uboot
From: Attila Kinali @ 2012-12-05 17:16 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20121205180533.71706c56@skate>
Moin,
On Wed, 5 Dec 2012 18:05:33 +0100
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote:
> [Buildroot] [PATCH 2/2] u-boot: add support for u-boot.sb file format
>
> It was more complete than this one, because it included the dependency
> on host-elftosb, which is needed to bring the elftosb tool built by
> Buildroot before U-Boot uses it to generate the .sb image.
Any reason why it has not gotten into the git repo?
Attila Kinali
--
There is no secret ingredient
-- Po, Kung Fu Panda
^ permalink raw reply
* [Buildroot] How to handle modularity in buildroot?
From: Arnout Vandecappelle @ 2012-12-05 17:14 UTC (permalink / raw)
To: buildroot
In-Reply-To: <CAE21AQp9tsnrS=uR0BoOuYi15Vew=swx24FapMC7Fyi+W0E3+A@mail.gmail.com>
On 04/12/12 19:18, Charles Manning wrote:
>> > And then, when you want to do a production build:
>> >
>> > make clean
>> > cat mysystem_base_defconfig.frag mysystem_prod_defconfig.frag> configs/mysystem_prod_defconfig
>> > make mysystem_prod_defconfig
>> > make
>> >
>> > And when you want to do a development build:
>> >
>> > make clean
>> > cat mysystem_base_defconfig.frag mysystem_dev_defconfig.frag> configs/mysystem_dev_defconfig
>> > make mysystem_dev_defconfig
>> > make
>> >
>> > Basically, instead of having Buildroot providing this feature, we rely
>> > on the simple manipulation of the configuration file.
> This sounds like the right idea.
>
> I will experiment with this a bit and see where it takes me. If there
> is something worth sharing I'll do that.
If you don't want to clobber your buildroot tree with
configs/mysystem_dev_defconfig, you can instead do:
make clean
cat mysystem_base_defconfig.frag mysystem_dev_defconfig.frag > /tmp/mysystem_dev_defconfig
make defconfig BR2_DEFCONFIG=/tmp/mysystem_dev_defconfig
make
And to create the _dev fragment, you can try something like:
make savedefconfig
sort defconfig mysystem_base_defconfig.frag | uniq -u > mysystem_dev_defconfig.frag
(this is just from the top of my head so YMMV).
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] add support for Freescale .sb format to uboot
From: Thomas Petazzoni @ 2012-12-05 17:05 UTC (permalink / raw)
To: buildroot
In-Reply-To: <CAEnpE0yzcer9dNew-6yfwmjf+L+a=Kgrf-tZ++Y2gMRcwmGYLw@mail.gmail.com>
Dear Gary Coulbourne,
On Wed, 5 Dec 2012 11:48:27 -0500, Gary Coulbourne wrote:
> This patch offers the option to build u-boot.sb
We had a patch sent in March this year adding support for u-boot.sb:
[Buildroot] [PATCH 2/2] u-boot: add support for u-boot.sb file format
It was more complete than this one, because it included the dependency
on host-elftosb, which is needed to bring the elftosb tool built by
Buildroot before U-Boot uses it to generate the .sb image.
Best regards,
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