Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH - v2] tcllib: new package
From: Davide Viti @ 2012-12-06 21:33 UTC (permalink / raw)
  To: buildroot

I've updated the patch applying	the fixes suggested during the review.
In particular:

 - remove depends on BR2_PACKAGE_TCL from Config.in
 - fix download URL and fetch smaller bz2 upstream tarball
 - remove $(eval $(host-autotools-package))
 - depend on host-tcl
 - invoke "configure" instead of installer.tcl
 - remove TCLLIB_LICENSE (is not BSD-2c). Just specify
   TCLLIB_LICENSE_FILES

thanx in advance for your feedback
regards,

Davide

^ permalink raw reply

* [Buildroot] [PATCH] tcllib: new package
From: Davide Viti @ 2012-12-06 21:33 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1354829598-16782-1-git-send-email-zinosat@tiscali.it>


CC: yann.morin.1998 at free.fr
Signed-off-by: Davide Viti <zinosat@tiscali.it>
---
 package/Config.in        |    5 +++++
 package/tcllib/Config.in |   11 +++++++++++
 package/tcllib/tcllib.mk |   12 ++++++++++++
 3 files changed, 28 insertions(+), 0 deletions(-)
 create mode 100644 package/tcllib/Config.in
 create mode 100644 package/tcllib/tcllib.mk

diff --git a/package/Config.in b/package/Config.in
index 74e439e..cad1221 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -313,6 +313,11 @@ endmenu
 endif
 source "package/ruby/Config.in"
 source "package/tcl/Config.in"
+if BR2_PACKAGE_TCL
+menu "tcl libraries/modules"
+source "package/tcllib/Config.in"
+endmenu
+endif
 endmenu
 
 menu "Libraries"
diff --git a/package/tcllib/Config.in b/package/tcllib/Config.in
new file mode 100644
index 0000000..b0a4ad0
--- /dev/null
+++ b/package/tcllib/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_TCLLIB
+	bool "tcllib"
+	help
+	  Tcllib is a collection of utility modules for Tcl. These
+	  modules provide a wide variety of functionality, from
+	  implementations of standard data structures to
+	  implementations of common networking protocols. The intent
+	  is to collect commonly used function into a single library,
+	  which users can rely on to be available and stable
+
+	  http://tcl.activestate.com/software/tcllib/
diff --git a/package/tcllib/tcllib.mk b/package/tcllib/tcllib.mk
new file mode 100644
index 0000000..fa8968d
--- /dev/null
+++ b/package/tcllib/tcllib.mk
@@ -0,0 +1,12 @@
+#############################################################
+#
+# tcllib
+#
+#############################################################
+TCLLIB_VERSION       = 1.13
+TCLLIB_SOURCE        = tcllib-$(TCLLIB_VERSION).tar.bz2
+TCLLIB_SITE          = http://downloads.sourceforge.net/project/tcllib/tcllib/$(TCLLIB_VERSION)
+TCLLIB_LICENSE_FILES = license.terms
+TCLLIB_DEPENDENCIES  = host-tcl tcl
+
+$(eval $(autotools-package))
-- 
1.7.2.5

^ permalink raw reply related

* [Buildroot] [PATCH - v3] tcllib: new package
From: Davide Viti @ 2012-12-06 22:46 UTC (permalink / raw)
  To: buildroot

As dicussed on IRC, here follows another update:

 - Set TCLLIB_LICENSE to "tcllib license"
   DESCRIPTION.txt says "Rights: BSD" without specifying the BSD clause
 - remove "tcl" from the list of dependencies, since "tcllib" can be
   selected only if tcl has been selected

^ permalink raw reply

* [Buildroot] [PATCH] tcllib: new package
From: Davide Viti @ 2012-12-06 22:46 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1354833972-17700-1-git-send-email-zinosat@tiscali.it>


Signed-off-by: Davide Viti <zinosat@tiscali.it>
---
 package/Config.in        |    5 +++++
 package/tcllib/Config.in |   11 +++++++++++
 package/tcllib/tcllib.mk |   13 +++++++++++++
 3 files changed, 29 insertions(+), 0 deletions(-)
 create mode 100644 package/tcllib/Config.in
 create mode 100644 package/tcllib/tcllib.mk

diff --git a/package/Config.in b/package/Config.in
index 74e439e..cad1221 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -313,6 +313,11 @@ endmenu
 endif
 source "package/ruby/Config.in"
 source "package/tcl/Config.in"
+if BR2_PACKAGE_TCL
+menu "tcl libraries/modules"
+source "package/tcllib/Config.in"
+endmenu
+endif
 endmenu
 
 menu "Libraries"
diff --git a/package/tcllib/Config.in b/package/tcllib/Config.in
new file mode 100644
index 0000000..b0a4ad0
--- /dev/null
+++ b/package/tcllib/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_TCLLIB
+	bool "tcllib"
+	help
+	  Tcllib is a collection of utility modules for Tcl. These
+	  modules provide a wide variety of functionality, from
+	  implementations of standard data structures to
+	  implementations of common networking protocols. The intent
+	  is to collect commonly used function into a single library,
+	  which users can rely on to be available and stable
+
+	  http://tcl.activestate.com/software/tcllib/
diff --git a/package/tcllib/tcllib.mk b/package/tcllib/tcllib.mk
new file mode 100644
index 0000000..471720d
--- /dev/null
+++ b/package/tcllib/tcllib.mk
@@ -0,0 +1,13 @@
+#############################################################
+#
+# tcllib
+#
+#############################################################
+TCLLIB_VERSION       = 1.13
+TCLLIB_SOURCE        = tcllib-$(TCLLIB_VERSION).tar.bz2
+TCLLIB_SITE          = http://downloads.sourceforge.net/project/tcllib/tcllib/$(TCLLIB_VERSION)
+TCLLIB_LICENSE       = tcllib license
+TCLLIB_LICENSE_FILES = license.terms
+TCLLIB_DEPENDENCIES  = host-tcl
+
+$(eval $(autotools-package))
-- 
1.7.2.5

^ permalink raw reply related

* [Buildroot] Installation of b43 firmwares
From: Thomas Petazzoni @ 2012-12-06 22:49 UTC (permalink / raw)
  To: buildroot

Hello,

Here is a set of two patches that allow to easily install the b43
firmware needed to operate a number of Broadcom Wifi devices.

Thomas

^ permalink raw reply

* [Buildroot] [PATCH 1/2] b43-fwcutter: new package
From: Thomas Petazzoni @ 2012-12-06 22:49 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1354834200-31532-1-git-send-email-thomas.petazzoni@free-electrons.com>

b43-fwcutter is an open-source tool (BSD-2c) that extracts the
firmwares from the Broadcom proprietary drivers. Those firmwares can
then be used by the open-source b43 and b43-legacy drivers of the
Linux kernel.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/b43-fwcutter/b43-fwcutter.mk |   21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 package/b43-fwcutter/b43-fwcutter.mk

diff --git a/package/b43-fwcutter/b43-fwcutter.mk b/package/b43-fwcutter/b43-fwcutter.mk
new file mode 100644
index 0000000..b48eb45
--- /dev/null
+++ b/package/b43-fwcutter/b43-fwcutter.mk
@@ -0,0 +1,21 @@
+#############################################################
+#
+# b43-fwcutter
+#
+#############################################################
+
+B43_FWCUTTER_VERSION = 015
+B43_FWCUTTER_SITE = http://bues.ch/b43/fwcutter/
+B43_FWCUTTER_SOURCE = b43-fwcutter-$(B43_FWCUTTER_VERSION).tar.bz2
+B43_FWCUTTER_LICENSE = BSD-2c
+B43_FWCUTTER_LICENSE_FILES = COPYING
+
+define HOST_B43_FWCUTTER_BUILD_CMDS
+	$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D)
+endef
+
+define HOST_B43_FWCUTTER_INSTALL_CMDS
+	$(INSTALL) -D -m 0755 $(@D)/b43-fwcutter $(HOST_DIR)/usr/bin/b43-fwcutter
+endef
+
+$(eval $(host-generic-package))
-- 
1.7.9.5

^ permalink raw reply related

* [Buildroot] [PATCH 2/2] b43-firmware: new package
From: Thomas Petazzoni @ 2012-12-06 22:50 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1354834200-31532-1-git-send-email-thomas.petazzoni@free-electrons.com>

This package allows to download the Broadcom Wifi drivers, extract the
firmware from them, and install them in /lib/firmware, so that they
can be used by the open-source kernel driver b43.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/Config.in                    |    1 +
 package/b43-firmware/Config.in       |   25 +++++++++++++++++++++++++
 package/b43-firmware/b43-firmware.mk |   29 +++++++++++++++++++++++++++++
 3 files changed, 55 insertions(+)
 create mode 100644 package/b43-firmware/Config.in
 create mode 100644 package/b43-firmware/b43-firmware.mk

diff --git a/package/Config.in b/package/Config.in
index f95e29d..e313337 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -197,6 +197,7 @@ endmenu
 
 menu "Hardware handling"
 source "package/acpid/Config.in"
+source "package/b43-firmware/Config.in"
 source "package/cdrkit/Config.in"
 source "package/dbus/Config.in"
 source "package/dbus-glib/Config.in"
diff --git a/package/b43-firmware/Config.in b/package/b43-firmware/Config.in
new file mode 100644
index 0000000..ab7f4a7
--- /dev/null
+++ b/package/b43-firmware/Config.in
@@ -0,0 +1,25 @@
+config BR2_PACKAGE_B43_FIRMWARE
+	bool "b43-firware"
+	help
+	  Firmware for the Broadcom Wifi devices supported by the b43
+	  kernel driver.
+
+if BR2_PACKAGE_B43_FIRMWARE
+
+choice
+	prompt "Kernel version"
+	default BR2_PACKAGE_B43_FIRMWARE_KERNEL_AFTER_3_2
+	help
+	  Select the kernel version you're using. The b43 driver in
+	  kernel >= 3.2 need a different firmware than the b43 drivers
+	  from kernel < 3.2.
+
+	config BR2_PACKAGE_B43_FIRMWARE_KERNEL_AFTER_3_2
+		bool ">= 3.2"
+
+	config BR2_PACKAGE_B43_FIRMWARE_KERNEL_BEFORE_3_2
+		bool "< 3.2"
+
+endchoice
+
+endif
diff --git a/package/b43-firmware/b43-firmware.mk b/package/b43-firmware/b43-firmware.mk
new file mode 100644
index 0000000..a4383e4
--- /dev/null
+++ b/package/b43-firmware/b43-firmware.mk
@@ -0,0 +1,29 @@
+#############################################################
+#
+# b43-firmware
+#
+#############################################################
+
+ifeq ($(BR2_PACKAGE_B43_FIRMWARE_KERNEL_AFTER_3_2),y)
+B43_FIRMWARE_VERSION = 5.100.138
+B43_FIRMWARE_SITE = http://www.lwfinger.com/b43-firmware/
+B43_FIRMWARE_SOURCE = broadcom-wl-$(B43_FIRMWARE_VERSION).tar.bz2
+B43_FIRMWARE_DRIVER_FILE = linux/wl_apsta.o
+else ifeq ($(BR2_PACKAGE_B43_FIRMWARE_KERNEL_BEFORE_3_2),y)
+B43_FIRMWARE_VERSION = 5.10.56.27.3
+B43_FIRMWARE_SITE = http://mirror2.openwrt.org/sources/
+B43_FIRMWARE_SOURCE = broadcom-wl-$(B43_FIRMWARE_VERSION)_mipsel.tar.bz2
+B43_FIRMWARE_DRIVER_FILE = driver/wl_apsta/wl_prebuilt.o
+endif
+
+B43_FIRMWARE_LICENSE = PROPRIETARY
+B43_FIRMWARE_REDISTRIBUTE = NO
+
+B43_FIRMWARE_DEPENDENCIES = host-b43-fwcutter
+
+define B43_FIRMWARE_INSTALL_TARGET_CMDS
+	$(INSTALL) -d -m 0755 $(TARGET_DIR)/lib/firmware/
+	$(HOST_DIR)/usr/bin/b43-fwcutter -w $(TARGET_DIR)/lib/firmware/ $(@D)/$(B43_FIRMWARE_DRIVER_FILE)
+endef
+
+$(eval $(generic-package))
-- 
1.7.9.5

^ permalink raw reply related

* [Buildroot] [PATCH] tcllib: new package
From: Yann E. MORIN @ 2012-12-06 23:09 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1354833972-17700-2-git-send-email-zinosat@tiscali.it>

Davide, All,

On Thursday 06 December 2012 Davide Viti wrote:
[--SNIP--]
> diff --git a/package/tcllib/tcllib.mk b/package/tcllib/tcllib.mk
> new file mode 100644
> index 0000000..471720d
> --- /dev/null
> +++ b/package/tcllib/tcllib.mk
> @@ -0,0 +1,13 @@
> +#############################################################
> +#
> +# tcllib
> +#
> +#############################################################
> +TCLLIB_VERSION       = 1.13
> +TCLLIB_SOURCE        = tcllib-$(TCLLIB_VERSION).tar.bz2
> +TCLLIB_SITE          = http://downloads.sourceforge.net/project/tcllib/tcllib/$(TCLLIB_VERSION)
> +TCLLIB_LICENSE       = tcllib license
> +TCLLIB_LICENSE_FILES = license.terms
> +TCLLIB_DEPENDENCIES  = host-tcl

On my machine, tcllib uses /usr/bin/tclsh8.4 instead of our own,
newly-built host-tcl:

>>> tcllib 1.13 Installing to target
PATH="/home/ymorin/dev/buildroot/O.tcl/host/bin:/home/ymorin/dev/buildroot/O.tcl/host/usr/bin:/home/ymorin/dev/buildroot/O.tcl/host/usr/sbin/:/home/ymorin/bin:/opt/zbar/bin:/opt/stgit/bin:/opt/qemu/bin:/opt/pkg++/bin:/opt/hg/bin:/opt/firefox/bin:/opt/bencode/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" PERLLIB="/home/ymorin/dev/buildroot/O.tcl/host/usr/lib/perl"  /usr/bin/make -j24 DESTDIR=/home/ymorin/dev/buildroot/O.tcl/target  install -C /home/ymorin/dev/buildroot/O.tcl/build/tcllib-1.13/
/usr/bin/tclsh8.4 `echo ./installer.tcl` \
                -no-examples -no-html \
                -pkg-path   /home/ymorin/dev/buildroot/O.tcl/target/usr/lib/tcllib1.13 \
                -app-path   /home/ymorin/dev/buildroot/O.tcl/target/usr/bin \
                -nroff-path /home/ymorin/dev/buildroot/O.tcl/target/usr/man/mann \
                -no-wait -no-gui

We really want tcllib to use our newly-built host-tcl's tclsh, in case
tcllib is not compatible with the host tclsh.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply

* [Buildroot] [PATCH] make legal-info: fails with OVERRIDE_SRCDIR
From: Arnout Vandecappelle @ 2012-12-06 23:15 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <87624f2jo4.fsf@dell.be.48ers.dk>

On 06/12/12 18:07, Peter Korsgaard wrote:
>>>>>> "Stephan" == Stephan Hoffmann<sho@relinux.de>  writes:
>
> Hi,
>
>   Stephan>      Committed, thanks.
>
>   Stephan>  Hi,
>
>   Stephan>  sorry, but I forgot that Arnout's patch
>   Stephan>  http://lists.busybox.net/pipermail/
>   Stephan>  buildroot/2012-October/059910.html is not yet applied. My
>   Stephan>  patch does not work without this.
>
> Ahh, ok. Arnout, you mentioned you would rework and resend the patch:
>
> http://lists.busybox.net/pipermail/buildroot/2012-October/059941.html

  Which I did:
http://lists.busybox.net/pipermail/buildroot/2012-October/059954.html

  I'll resend with the ACKs.

  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] pkg-infra: add <pkg>-extract and <pkg>-patch targets to OVERRIDE support
From: Arnout Vandecappelle @ 2012-12-06 23:16 UTC (permalink / raw)
  To: buildroot

From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>

The legal-info target (and possibly others as well) depends on
<pkg>-extract to make sure the license file is available.  However,
when <PKG>_OVERRIDE_SRCDIR is active, the <pkg>-extract target
doesn't exist.

To solve this, we add <pkg>-extract which depends on <pkg>-rsync.
While we're at it, we do the same for <pkg>-patch.  That avoids the
same problem in the future if something starts depending on
<pkg>-patch.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
---
v2: As ThomasP suggested, don't remove <pkg>-rsync.
---
 package/pkg-generic.mk |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
index 6fcd359..13c1d83 100644
--- a/package/pkg-generic.mk
+++ b/package/pkg-generic.mk
@@ -390,6 +390,9 @@ $(1)-configure:		$(1)-depends \
 
 $(1)-depends:		$(1)-rsync $$($(2)_DEPENDENCIES)
 
+$(1)-patch:		$(1)-rsync
+$(1)-extract:		$(1)-rsync
+
 $(1)-rsync:		$$($(2)_TARGET_RSYNC)
 
 $(1)-source:		$$($(2)_TARGET_RSYNC_SOURCE)
-- 
1.7.10.4

^ permalink raw reply related

* [Buildroot] [PATCH] tcllib: new package
From: Arnout Vandecappelle @ 2012-12-06 23:36 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1354833972-17700-2-git-send-email-zinosat@tiscali.it>

On 06/12/12 23:46, Davide Viti wrote:
[snip]
> diff --git a/package/tcllib/tcllib.mk b/package/tcllib/tcllib.mk
> new file mode 100644
> index 0000000..471720d
> --- /dev/null
> +++ b/package/tcllib/tcllib.mk
> @@ -0,0 +1,13 @@
> +#############################################################
> +#
> +# tcllib
> +#
> +#############################################################
> +TCLLIB_VERSION       = 1.13
> +TCLLIB_SOURCE        = tcllib-$(TCLLIB_VERSION).tar.bz2
> +TCLLIB_SITE          =http://downloads.sourceforge.net/project/tcllib/tcllib/$(TCLLIB_VERSION)
> +TCLLIB_LICENSE       = tcllib license

  Since it's the same as the tcl license, I'd call it "tcl license".


  Regards,
  Arnout

> +TCLLIB_LICENSE_FILES = license.terms
> +TCLLIB_DEPENDENCIES  = host-tcl
> +
> +$(eval $(autotools-package))

-- 
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 - v4] tcllib: new package
From: Davide Viti @ 2012-12-07  0:16 UTC (permalink / raw)
  To: buildroot

Yet another update:

 - Set TCLLIB_LICENSE to "tcl license"
 - Make sure host-tcl is used for building

regards,
Davide

^ permalink raw reply

* [Buildroot] [PATCH] tcllib: new package
From: Davide Viti @ 2012-12-07  0:16 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1354839385-23108-1-git-send-email-zinosat@tiscali.it>


Signed-off-by: Davide Viti <zinosat@tiscali.it>
---
 package/Config.in        |    5 +++++
 package/tcllib/Config.in |   11 +++++++++++
 package/tcllib/tcllib.mk |   14 ++++++++++++++
 3 files changed, 30 insertions(+), 0 deletions(-)
 create mode 100644 package/tcllib/Config.in
 create mode 100644 package/tcllib/tcllib.mk

diff --git a/package/Config.in b/package/Config.in
index 74e439e..cad1221 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -313,6 +313,11 @@ endmenu
 endif
 source "package/ruby/Config.in"
 source "package/tcl/Config.in"
+if BR2_PACKAGE_TCL
+menu "tcl libraries/modules"
+source "package/tcllib/Config.in"
+endmenu
+endif
 endmenu
 
 menu "Libraries"
diff --git a/package/tcllib/Config.in b/package/tcllib/Config.in
new file mode 100644
index 0000000..b0a4ad0
--- /dev/null
+++ b/package/tcllib/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_TCLLIB
+	bool "tcllib"
+	help
+	  Tcllib is a collection of utility modules for Tcl. These
+	  modules provide a wide variety of functionality, from
+	  implementations of standard data structures to
+	  implementations of common networking protocols. The intent
+	  is to collect commonly used function into a single library,
+	  which users can rely on to be available and stable
+
+	  http://tcl.activestate.com/software/tcllib/
diff --git a/package/tcllib/tcllib.mk b/package/tcllib/tcllib.mk
new file mode 100644
index 0000000..09d617f
--- /dev/null
+++ b/package/tcllib/tcllib.mk
@@ -0,0 +1,14 @@
+#############################################################
+#
+# tcllib
+#
+#############################################################
+TCLLIB_VERSION       = 1.13
+TCLLIB_SOURCE        = tcllib-$(TCLLIB_VERSION).tar.bz2
+TCLLIB_SITE          = http://downloads.sourceforge.net/project/tcllib/tcllib/$(TCLLIB_VERSION)
+TCLLIB_LICENSE       = tcl license
+TCLLIB_LICENSE_FILES = license.terms
+TCLLIB_DEPENDENCIES  = host-tcl
+TCLLIB_CONF_ENV      = ac_cv_path_tclsh="$(HOST_DIR)/usr/bin/tclsh8.4"
+
+$(eval $(autotools-package))
-- 
1.7.2.5

^ permalink raw reply related

* [Buildroot] [PATCH] kernel-headers: bump 3.{0, 2, 4}.x stable versions
From: Gustavo Zacarias @ 2012-12-07  0:32 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 toolchain/kernel-headers/Config.in                 |    6 +++---
 ...all-fix-__packed-in-exported-kernel-head.patch} |    0
 2 files changed, 3 insertions(+), 3 deletions(-)
 rename toolchain/kernel-headers/{linux-3.0.54-headers_install-fix-__packed-in-exported-kernel-head.patch => linux-3.0.55-headers_install-fix-__packed-in-exported-kernel-head.patch} (100%)

diff --git a/toolchain/kernel-headers/Config.in b/toolchain/kernel-headers/Config.in
index 6552c62..0f3ed4f 100644
--- a/toolchain/kernel-headers/Config.in
+++ b/toolchain/kernel-headers/Config.in
@@ -67,11 +67,11 @@ config BR2_DEFAULT_KERNEL_HEADERS
 	default "2.6.37.6"	if BR2_KERNEL_HEADERS_2_6_37
 	default "2.6.38.8"	if BR2_KERNEL_HEADERS_2_6_38
 	default "2.6.39.4"	if BR2_KERNEL_HEADERS_2_6_39
-	default "3.0.54"	if BR2_KERNEL_HEADERS_3_0
+	default "3.0.55"	if BR2_KERNEL_HEADERS_3_0
 	default "3.1.10"	if BR2_KERNEL_HEADERS_3_1
-	default "3.2.34"	if BR2_KERNEL_HEADERS_3_2
+	default "3.2.35"	if BR2_KERNEL_HEADERS_3_2
 	default "3.3.8"		if BR2_KERNEL_HEADERS_3_3
-	default "3.4.21"	if BR2_KERNEL_HEADERS_3_4
+	default "3.4.22"	if BR2_KERNEL_HEADERS_3_4
 	default "3.5.7"		if BR2_KERNEL_HEADERS_3_5
 	default "3.6.9"		if BR2_KERNEL_HEADERS_3_6
 	default "2.6"		if BR2_KERNEL_HEADERS_SNAP
diff --git a/toolchain/kernel-headers/linux-3.0.54-headers_install-fix-__packed-in-exported-kernel-head.patch b/toolchain/kernel-headers/linux-3.0.55-headers_install-fix-__packed-in-exported-kernel-head.patch
similarity index 100%
rename from toolchain/kernel-headers/linux-3.0.54-headers_install-fix-__packed-in-exported-kernel-head.patch
rename to toolchain/kernel-headers/linux-3.0.55-headers_install-fix-__packed-in-exported-kernel-head.patch
-- 
1.7.8.6

^ permalink raw reply related

* [Buildroot] [PATCH 1/2] squid: bump to version 3.2.4
From: Gustavo Zacarias @ 2012-12-07  0:32 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/squid/squid.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/squid/squid.mk b/package/squid/squid.mk
index 1ccb2da..3c08c39 100644
--- a/package/squid/squid.mk
+++ b/package/squid/squid.mk
@@ -4,7 +4,7 @@
 #
 #############################################################
 
-SQUID_VERSION = 3.2.3
+SQUID_VERSION = 3.2.4
 SQUID_SITE = http://www.squid-cache.org/Versions/v3/3.2
 SQUID_LICENSE = GPLv2+
 SQUID_LICENSE_FILES = COPYING
-- 
1.7.8.6

^ permalink raw reply related

* [Buildroot] [PATCH 2/2] dnsmasq: bump to version 2.64
From: Gustavo Zacarias @ 2012-12-07  0:32 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1354840348-24951-1-git-send-email-gustavo@zacarias.com.ar>

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/dnsmasq/dnsmasq.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/dnsmasq/dnsmasq.mk b/package/dnsmasq/dnsmasq.mk
index dac30e5..afa51e2 100644
--- a/package/dnsmasq/dnsmasq.mk
+++ b/package/dnsmasq/dnsmasq.mk
@@ -4,7 +4,7 @@
 #
 #############################################################
 
-DNSMASQ_VERSION = 2.63
+DNSMASQ_VERSION = 2.64
 DNSMASQ_SITE = http://thekelleys.org.uk/dnsmasq
 DNSMASQ_MAKE_ENV = CC="$(TARGET_CC)"
 DNSMASQ_MAKE_OPT = COPTS="$(DNSMASQ_COPTS)" PREFIX=/usr CFLAGS="$(TARGET_CFLAGS)"
-- 
1.7.8.6

^ permalink raw reply related

* [Buildroot] [PATCH] make legal-info: fails with OVERRIDE_SRCDIR
From: Peter Korsgaard @ 2012-12-07  1:12 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <50C1272D.6080307@mind.be>

>>>>> "Arnout" == Arnout Vandecappelle <arnout@mind.be> writes:

 Stephan> sorry, but I forgot that Arnout's patch
 Stephan> http://lists.busybox.net/pipermail/
 Stephan> buildroot/2012-October/059910.html is not yet applied. My
 Stephan> patch does not work without this.
 >> 
 >> Ahh, ok. Arnout, you mentioned you would rework and resend the patch:
 >> 
 >> http://lists.busybox.net/pipermail/buildroot/2012-October/059941.html

 Arnout>  Which I did:
 Arnout> http://lists.busybox.net/pipermail/buildroot/2012-October/059954.html

Ahh, sorry - And thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [git commit] pkg-infra: add <pkg>-extract and <pkg>-patch targets to OVERRIDE support
From: Peter Korsgaard @ 2012-12-07  1:13 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=054f97e1f2de337ea0c788d766212a36d6d4e41c
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

The legal-info target (and possibly others as well) depends on
<pkg>-extract to make sure the license file is available.  However,
when <PKG>_OVERRIDE_SRCDIR is active, the <pkg>-extract target
doesn't exist.

To solve this, we add <pkg>-extract which depends on <pkg>-rsync.
While we're at it, we do the same for <pkg>-patch.  That avoids the
same problem in the future if something starts depending on
<pkg>-patch.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 package/pkg-generic.mk |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
index fc05dc6..a570ad7 100644
--- a/package/pkg-generic.mk
+++ b/package/pkg-generic.mk
@@ -390,6 +390,9 @@ $(1)-configure:		$(1)-depends \
 
 $(1)-depends:		$(1)-rsync $$($(2)_DEPENDENCIES)
 
+$(1)-patch:		$(1)-rsync
+$(1)-extract:		$(1)-rsync
+
 $(1)-rsync:		$$($(2)_TARGET_RSYNC)
 
 $(1)-source:		$$($(2)_TARGET_RSYNC_SOURCE)

^ permalink raw reply related

* [Buildroot] [PATCH] pkg-infra: add <pkg>-extract and <pkg>-patch targets to OVERRIDE support
From: Peter Korsgaard @ 2012-12-07  1:14 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1354835760-9357-1-git-send-email-arnout@mind.be>

>>>>> "Arnout" == Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> writes:

Hi,

 Arnout> From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
 Arnout> The legal-info target (and possibly others as well) depends on
 Arnout> <pkg>-extract to make sure the license file is available.  However,
 Arnout> when <PKG>_OVERRIDE_SRCDIR is active, the <pkg>-extract target
 Arnout> doesn't exist.

 Arnout> To solve this, we add <pkg>-extract which depends on <pkg>-rsync.
 Arnout> While we're at it, we do the same for <pkg>-patch.  That avoids the
 Arnout> same problem in the future if something starts depending on
 Arnout> <pkg>-patch.

 Arnout> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
 Arnout> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
 Arnout> Acked-by: Luca Ceresoli <luca@lucaceresoli.net>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [PATCH] fix cjson package
From: Danomi Manchego @ 2012-12-07  2:14 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <50C0B73C.9020407@syscom-instruments.com>

Viallard,

> -CJSON_VERSION         = undefined
> -CJSON_SOURCE          = cJSONFiles.zip
> +CJSON_VERSION         = 2011-10-10
> +CJSON_SOURCE          = cJSONFiles-$(CJSON_VERSION).zip
>  CJSON_SITE            = http://downloads.sourceforge.net/project/cjson/

This worked for you?  It doesn't work for me ... i.e. this line works for me:

    wget http://downloads.sourceforge.net/project/cjson/cJSONFiles.zip

but this line gives me ERROR 404 Not Found:

    wget http://downloads.sourceforge.net/project/cjson/cJSONFiles-2011-10-10.zip

Am I missing something here?

Danomi -

^ permalink raw reply

* [Buildroot] [PATCH] pkg-download.mk: fix multiple matches in shallow clone test
From: Danomi Manchego @ 2012-12-07  2:37 UTC (permalink / raw)
  To: buildroot

Move the git reference directly to git-ls-remote rather than
piping the output to grep, to help avoid reporting partial
matches rather than the actual requested reference.  Also,
add quotes to protest "test" from failing when multiple
strings are reported.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
---
 package/pkg-download.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/pkg-download.mk b/package/pkg-download.mk
index ea01b05..1705fcd 100644
--- a/package/pkg-download.mk
+++ b/package/pkg-download.mk
@@ -82,7 +82,7 @@ domainseparator=$(if $(1),$(1),/)
 define DOWNLOAD_GIT
 	test -e $(DL_DIR)/$($(PKG)_SOURCE) || \
 	(pushd $(DL_DIR) > /dev/null && \
-	 ((test `git ls-remote  $($(PKG)_SITE) | cut -f 2- | grep $($(PKG)_DL_VERSION)` && \
+	 ((test "`git ls-remote $($(PKG)_SITE) $($(PKG)_DL_VERSION)`" && \
 	   echo "Doing shallow clone" && \
 	   $(GIT) clone --depth 1 -b $($(PKG)_DL_VERSION) --bare $($(PKG)_SITE) $($(PKG)_BASE_NAME)) || \
 	  (echo "Doing full clone" && \
-- 
1.7.9.5

^ permalink raw reply related

* [Buildroot] [Bug 5768] New: Not able to build ALSA-Lib for static build
From: bugzilla at busybox.net @ 2012-12-07  4:45 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=5768

           Summary: Not able to build ALSA-Lib for static build
           Product: buildroot
           Version: 2012.08
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: critical
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: pankaj.dev at st.com
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


When building ALSA-Lib for static build, there is a compilation faliure. Added
a patch(attached) inside "package/alsa-lib" directory to build properly.

Not able to log this bug in ALSA project, the web-site hangs. The bug also
exists in ALSA 1.0.26(latest) included in buildroot 2012.11

Changes are following :
--- a/modules/mixer/simple/sbasedl.c
+++ b/modules/mixer/simple/sbasedl.c
@@ -27,7 +27,11 @@
 #include <fcntl.h>
 #include <sys/ioctl.h>
 #include <math.h>
+#ifdef HAVE_LIBDL
 #include <dlfcn.h>
+#else
+#define RTLD_NOW  0
+#endif
 #include "config.h"
 #include "asoundlib.h"
 #include "mixer_abst.h"
--- a/src/mixer/simple_abst.c
+++ b/src/mixer/simple_abst.c
@@ -34,7 +34,12 @@
 #include <fcntl.h>
 #include <sys/ioctl.h>
 #include <math.h>
+#ifdef HAVE_LIBDL
 #include <dlfcn.h>
+#else
+#define RTLD_NOW  0
+#define RTLD_GLOBAL             8
+#endif 
 #include "config.h"
 #include "asoundlib.h"
 #include "mixer_simple.h"

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply

* [Buildroot] [Bug 5768] Not able to build ALSA-Lib for static build
From: bugzilla at busybox.net @ 2012-12-07  4:47 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <bug-5768-163@https.bugs.busybox.net/>

https://bugs.busybox.net/show_bug.cgi?id=5768

--- Comment #1 from Pankaj Dev <pankaj.dev@st.com> 2012-12-07 04:47:33 UTC ---
Created attachment 4682
  --> https://bugs.busybox.net/attachment.cgi?id=4682
Patch added inside package/alsa-lib

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply

* [Buildroot] [Bug 5774] New: Not able to build ALSA-Utils for static build
From: bugzilla at busybox.net @ 2012-12-07  5:06 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=5774

           Summary: Not able to build ALSA-Utils for static build
           Product: buildroot
           Version: 2012.08
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: critical
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: pankaj.dev at st.com
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


Created attachment 4688
  --> https://bugs.busybox.net/attachment.cgi?id=4688
Patch to build alsa-utils statically

When building ALSA-Utils for static build, there is a compilation faliure.
Added
a patch(attached) inside "package/multimedia\alsa-utils" directory to build
properly.

Not able to log this bug in ALSA project, the web-site hangs. The bug also
exists in ALSA 1.0.26(latest) included in buildroot 2012.11

The correction is not a generic, one. Not able to figure out how to modify the
configure script such that it includes "-ldl" only for non-static builds

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply

* [Buildroot] Support of iMX6 hardware ?
From: Thierry Bultel @ 2012-12-07  7:20 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20121206124855.796d4d38@skate>

Le 06/12/2012 12:48, Thomas Petazzoni a ?crit :
> Dear Thierry Bultel,

Dear Thomas,

> 
> On Thu, 06 Dec 2012 10:14:46 +0100, Thierry Bultel wrote:
> 
>> I have 2 questions around the Buildroot support for iMX6 from
>> Freescale, especially around graphics.
>>
>> 1) Is there current work on that for a coming release ?
> 
> Everything is in the Buildroot Git repository, and besides that I
> haven't heard of people working on i.MX6 "advanced" features. We have a
> defconfig for the nitrogen6x board that was done by Peter, but I guess
> Peter hasn't investigated the entire graphics stack of i.MX6 for now.
> 
> It would indeed be really, really great to improve i.MX6 support in
> Buildroot (and also for other SoCs).

As soon as I have something working, I will obviously submit
a patch for it.

> 
>> I have noticed that openbricks seem to already have integrated the 
>> imx6-lib and xdriver-xf86-video-imx
>>
>> 2) I have trying to get both of them integrated in buildroot
>> The imx6-lib, which will be a 'generic-package', needs includes of
>> the target kernel; these includes are not in the sysroot.
>>
>> What is the most appropriate way to proceed ? The underlying Makefile
>> has got a "INCLUDE" var to be set, shall I point it to my
>> linux-custom build directory ? That does not seem very good.
> 
> To me, it's the right solution. 
Ok
If you have userspace code that depends
> on very specific kernel headers that are not part of a traditional
> toolchain, then pointing to the kernel sources is the only solution.
> 
> Of course, it means that the package must "depends on BR2_LINUX_KERNEL"
> and have <foobar>_DEPENDENCIES = linux.

Thanks for the tip.
I have (at least) 2 packages to build.

- The first one was the imx6-lib, that I have added under the Graphics
section, as a generic-package, and

define IMX6_LIB_BUILD_CMDS
      $(MAKE) -C $(@D) all PLATFORM=IMX6Q CROSS_COMPILE=$(TARGET_CROSS)
INCLUDE=$(INCLUDE)
endef

... was just what was needed to build it succesfully.


The second one is the xdriver_xf86-video-imx
It is built as an autotools-package
But since the 'configure' intrisincs are not really my favorite food, I
am looking how to add the needed INCLUDE to the CFLAGS that are
automatically given to it.
Could you please advise me on how to do it in the cleanest way ?

Regards
Thierry

> 
> Thomas

^ permalink raw reply


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox