Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PULL REQUEST 00/16] ARC and Microblaze toolchain updates
@ 2013-12-05 17:20 Thomas Petazzoni
  2013-12-05 17:20 ` [Buildroot] [PATCH 01/16] infra: introduce github helper function Thomas Petazzoni
                   ` (16 more replies)
  0 siblings, 17 replies; 24+ messages in thread
From: Thomas Petazzoni @ 2013-12-05 17:20 UTC (permalink / raw)
  To: buildroot

Hello Peter,

Can you please pull the following patches? They have been around for a
while, and I've tested them successfully: the Microblaze LE,
Microblaze BE and ARC toolchains. It fixes a big number of build
issues on Microblaze especially, like OpenSSL, or Nettle.

According to Thomas DS comment, I've split Mischa's patch adding the
github helper into three patches: one adding the helper, one adding
the documentation, one converting a bunch of packages to the new
helper. Note that not all packages are converted, but this can be done
through followup commits: we really want this ARC and Microblaze stuff
to get merged now.

Thanks a lot!

Thomas

The following changes since commit 7af351d8da750fd7e3052459b2b2dd9f7041ff25:

  python-pyparsing: rename package's Config.in bool (2013-12-04 22:06:49 +0100)

are available in the git repository at:

  git at git.free-electrons.com:users/thomas-petazzoni/buildroot arc-microblaze-toolchain

for you to fetch changes up to 8aa872f9ecb4f91e2c9f341502f4d42b850146c8:

  gdb: add host-texinfo dependency for Git versions (2013-12-05 18:13:57 +0100)

----------------------------------------------------------------
Mischa Jonker (8):
      infra: introduce github helper function
      docs: document the new github helper function
      packages: convert Github http:// users to the github helper
      gdb: arc: Use git instead of website
      binutils: arc: Use git instead of website
      gcc: arc: Download from github instead of Synopsys website
      uclibc: arc: Use git instead of website
      Revert "arc: Add option for ARC-specific download site"

Spenser Gilliland (6):
      binutils: add microblaze internal toolchain
      gcc: add microblaze internal toolchain
      glibc: add microblaze internal toolchain
      gdb: add microblaze internal toolchain
      toolchain: enable microblaze toolchain
      defconfigs: update microblaze defconfigs to use new toolchain

Thomas Petazzoni (2):
      binutils: add missing dependencies for Git versions
      gdb: add host-texinfo dependency for Git versions

 arch/Config.in.arc                                           |   4 --
 configs/qemu_microblazebe_mmu_defconfig                      |   7 ---
 configs/qemu_microblazeel_mmu_defconfig                      |   7 ---
 docs/manual/adding-packages-generic.txt                      |   5 ++-
 docs/manual/adding-packages-tips.txt                         |   5 ++-
 package/a10disp/a10disp.mk                                   |   2 +-
 package/binutils/Config.in.host                              |   4 +-
 package/binutils/binutils.mk                                 |  22 ++++++---
 package/civetweb/civetweb.mk                                 |   2 +-
 package/cpuload/cpuload.mk                                   |   2 +-
 package/fb-test-app/fb-test-app.mk                           |   2 +-
 package/gcc/4.8-arc/100-uclibc-conf.patch                    |  15 -------
 package/gcc/4.8-arc/301-missing-execinfo_h.patch             |  13 ------
 package/gcc/4.8-arc/302-c99-snprintf.patch                   |  13 ------
 package/gcc/4.8-arc/305-libmudflap-susv3-legacy.patch        |  49 --------------------
 package/gcc/4.8-arc/disable_gc_sections.patch                | 145 ------------------------------------------------------------
 package/gcc/4.8-arc/fix_branch_out_of_range.patch            |  30 -------------
 package/gcc/Config.in.host                                   |  25 +++++++----
 package/gcc/gcc.mk                                           |  12 +++--
 package/gdb/Config.in.host                                   |   4 +-
 package/gdb/gdb.mk                                           |  16 ++++++-
 package/glibc/glibc.mk                                       |  12 +++++
 package/input-event-daemon/input-event-daemon.mk             |   2 +-
 package/jsmin/jsmin.mk                                       |   2 +-
 package/knock/knock.mk                                       |   2 +-
 package/libcec/libcec.mk                                     |   2 +-
 package/libcofi/libcofi.mk                                   |   2 +-
 package/libiqrf/libiqrf.mk                                   |   2 +-
 package/liblog4c-localtime/liblog4c-localtime.mk             |   2 +-
 package/libsha1/libsha1.mk                                   |   2 +-
 package/libsoc/libsoc.mk                                     |   2 +-
 package/libtpl/libtpl.mk                                     |   2 +-
 package/linenoise/linenoise.mk                               |   2 +-
 package/lua-ev/lua-ev.mk                                     |   2 +-
 package/luacrypto/luacrypto.mk                               |   2 +-
 package/luaexpatutils/luaexpatutils.mk                       |   2 +-
 package/luasql/luasql.mk                                     |   2 +-
 package/mongrel2/mongrel2.mk                                 |   2 +-
 package/mtdev2tuio/mtdev2tuio.mk                             |   2 +-
 package/neardal/neardal.mk                                   |   2 +-
 package/omap-u-boot-utils/omap-u-boot-utils.mk               |   2 +-
 package/on2-8170-modules/on2-8170-modules.mk                 |   2 +-
 package/pkg-download.mk                                      |   3 ++
 package/python-ipy/python-ipy.mk                             |   2 +-
 package/qjson/qjson.mk                                       |   2 +-
 package/rpi-firmware/rpi-firmware.mk                         |   2 +-
 package/rpi-userland/rpi-userland.mk                         |   2 +-
 package/socketcand/socketcand.mk                             |   2 +-
 package/sqlcipher/sqlcipher.mk                               |   2 +-
 package/sunxi-boards/sunxi-boards.mk                         |   2 +-
 package/sunxi-cedarx/sunxi-cedarx.mk                         |   2 +-
 package/sunxi-mali-prop/sunxi-mali-prop.mk                   |   2 +-
 package/sunxi-mali/sunxi-mali.mk                             |   2 +-
 package/sunxi-tools/sunxi-tools.mk                           |   2 +-
 package/tinymembench/tinymembench.mk                         |   2 +-
 package/tslib/tslib.mk                                       |   2 +-
 package/uclibc/0.9.33-arc/fix-fstat-for-be.patch             |  32 --------------
 package/uclibc/0.9.33-arc/fix-susv3-legacy-bcmp.patch        |  37 ----------------
 package/uclibc/0.9.33-arc/fix-susv3-legacy.patch             |  36 ---------------
 package/uclibc/0.9.33-arc/uclibc-arc-add-__kernel_long.patch |  29 ------------
 package/uclibc/Config.in                                     |   9 ++--
 package/uclibc/uclibc.mk                                     |   7 +--
 package/xl2tp/xl2tp.mk                                       |   2 +-
 package/yajl/yajl.mk                                         |   2 +-
 toolchain/Config.in                                          |   2 +-
 toolchain/toolchain-buildroot/Config.in                      |   9 +++-
 66 files changed, 135 insertions(+), 495 deletions(-)
 delete mode 100644 package/gcc/4.8-arc/100-uclibc-conf.patch
 delete mode 100644 package/gcc/4.8-arc/301-missing-execinfo_h.patch
 delete mode 100644 package/gcc/4.8-arc/302-c99-snprintf.patch
 delete mode 100644 package/gcc/4.8-arc/305-libmudflap-susv3-legacy.patch
 delete mode 100644 package/gcc/4.8-arc/disable_gc_sections.patch
 delete mode 100644 package/gcc/4.8-arc/fix_branch_out_of_range.patch
 delete mode 100644 package/uclibc/0.9.33-arc/fix-fstat-for-be.patch
 delete mode 100644 package/uclibc/0.9.33-arc/fix-susv3-legacy-bcmp.patch
 delete mode 100644 package/uclibc/0.9.33-arc/fix-susv3-legacy.patch
 delete mode 100644 package/uclibc/0.9.33-arc/uclibc-arc-add-__kernel_long.patch

-- 
1.8.1.2

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [Buildroot] [PATCH 01/16] infra: introduce github helper function
  2013-12-05 17:20 [Buildroot] [PULL REQUEST 00/16] ARC and Microblaze toolchain updates Thomas Petazzoni
@ 2013-12-05 17:20 ` Thomas Petazzoni
  2013-12-06  8:05   ` Thomas De Schampheleire
  2013-12-05 17:20 ` [Buildroot] [PATCH 02/16] docs: document the new " Thomas Petazzoni
                   ` (15 subsequent siblings)
  16 siblings, 1 reply; 24+ messages in thread
From: Thomas Petazzoni @ 2013-12-05 17:20 UTC (permalink / raw)
  To: buildroot

From: Mischa Jonker <Mischa.Jonker@synopsys.com>

In order to make it easier to cope with changes in github download-URL's,
this patch introduces the github helper function. It generates the site
URL of a github repository. It's usage is $(call github,user,pkg,version).

[Thomas: extracted from Mischa original commit, macro moved to
pkg-download.mk]

Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/pkg-download.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/pkg-download.mk b/package/pkg-download.mk
index 8e4a1ec..758b211 100644
--- a/package/pkg-download.mk
+++ b/package/pkg-download.mk
@@ -55,6 +55,9 @@ notdomain=$(patsubst $(call domain,$(1),$(2))$(call domainseparator,$(2))%,%,$(c
 # default domainseparator is /, specify alternative value as first argument
 domainseparator=$(if $(1),$(1),/)
 
+# github(user,package,version): returns site of github repository
+github = https://github.com/$(1)/$(2)/tarball/$(3)
+
 ################################################################################
 # The DOWNLOAD_* helpers are in charge of getting a working copy
 # of the source repository for their corresponding SCM,
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [Buildroot] [PATCH 02/16] docs: document the new github helper function
  2013-12-05 17:20 [Buildroot] [PULL REQUEST 00/16] ARC and Microblaze toolchain updates Thomas Petazzoni
  2013-12-05 17:20 ` [Buildroot] [PATCH 01/16] infra: introduce github helper function Thomas Petazzoni
@ 2013-12-05 17:20 ` Thomas Petazzoni
  2013-12-06  8:07   ` Thomas De Schampheleire
  2013-12-05 17:20 ` [Buildroot] [PATCH 03/16] packages: convert Github http:// users to the github helper Thomas Petazzoni
                   ` (14 subsequent siblings)
  16 siblings, 1 reply; 24+ messages in thread
From: Thomas Petazzoni @ 2013-12-05 17:20 UTC (permalink / raw)
  To: buildroot

From: Mischa Jonker <Mischa.Jonker@synopsys.com>

[Thomas: splitted from Mischa original commit]

Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 docs/manual/adding-packages-generic.txt | 5 +++--
 docs/manual/adding-packages-tips.txt    | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/docs/manual/adding-packages-generic.txt b/docs/manual/adding-packages-generic.txt
index fb7a9e5..d82ab61 100644
--- a/docs/manual/adding-packages-generic.txt
+++ b/docs/manual/adding-packages-generic.txt
@@ -230,7 +230,9 @@ information is (assuming the package name is +libfoo+) :
   URL or a local filesystem path. HTTP, FTP and SCP are supported URL
   types for retrieving package tarballs. Git, Subversion, Mercurial,
   and Bazaar are supported URL types for retrieving packages directly
-  from source code management systems. A filesystem path may be used
+  from source code management systems. There is a helper function to make
+  it easier to download source tarballs from github (refer to
+  xref:github-download-url[] for details). A filesystem path may be used
   to specify either a tarball or a directory containing the package
   source code. See +LIBFOO_SITE_METHOD+ below for more details on how
   retrieval works. +
@@ -244,7 +246,6 @@ information is (assuming the package name is +libfoo+) :
   Examples: +
     +LIBFOO_SITE=http://www.libfoosoftware.org/libfoo+ +
     +LIBFOO_SITE=http://svn.xiph.org/trunk/Tremor/+ +
-    +LIBFOO_SITE=git://github.com/kergoth/tslib.git+ +
     +LIBFOO_SITE=/opt/software/libfoo.tar.gz+ +
     +LIBFOO_SITE=$(TOPDIR)/../src/libfoo/+
 
diff --git a/docs/manual/adding-packages-tips.txt b/docs/manual/adding-packages-tips.txt
index 00244fe..73c25be 100644
--- a/docs/manual/adding-packages-tips.txt
+++ b/docs/manual/adding-packages-tips.txt
@@ -41,11 +41,12 @@ How to add a package from github
 
 Packages on github often don't have a download area with release tarballs.
 However, it is possible to download tarballs directly from the repository
-on github.
+on github. As github is known to have changed download mechanisms in the
+past, the 'github' helper function should be used as shown below.
 
 ------------------------
 FOO_VERSION = v1.0 # tag or full commit ID
-FOO_SITE = http://github.com/<user>/<package>/tarball/$(FOO_VERSION)
+FOO_SITE = $(call github,<user>,<package>,$(FOO_VERSION))
 ------------------------
 
 .Notes
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [Buildroot] [PATCH 03/16] packages: convert Github http:// users to the github helper
  2013-12-05 17:20 [Buildroot] [PULL REQUEST 00/16] ARC and Microblaze toolchain updates Thomas Petazzoni
  2013-12-05 17:20 ` [Buildroot] [PATCH 01/16] infra: introduce github helper function Thomas Petazzoni
  2013-12-05 17:20 ` [Buildroot] [PATCH 02/16] docs: document the new " Thomas Petazzoni
@ 2013-12-05 17:20 ` Thomas Petazzoni
  2013-12-05 19:14   ` Thomas De Schampheleire
  2013-12-06 10:01   ` Thomas De Schampheleire
  2013-12-05 17:20 ` [Buildroot] [PATCH 04/16] gdb: arc: Use git instead of website Thomas Petazzoni
                   ` (13 subsequent siblings)
  16 siblings, 2 replies; 24+ messages in thread
From: Thomas Petazzoni @ 2013-12-05 17:20 UTC (permalink / raw)
  To: buildroot

From: Mischa Jonker <Mischa.Jonker@synopsys.com>

[Thomas: taken from Mischa original github patch.]

Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/a10disp/a10disp.mk                       | 2 +-
 package/civetweb/civetweb.mk                     | 2 +-
 package/cpuload/cpuload.mk                       | 2 +-
 package/fb-test-app/fb-test-app.mk               | 2 +-
 package/input-event-daemon/input-event-daemon.mk | 2 +-
 package/jsmin/jsmin.mk                           | 2 +-
 package/knock/knock.mk                           | 2 +-
 package/libcec/libcec.mk                         | 2 +-
 package/libcofi/libcofi.mk                       | 2 +-
 package/libiqrf/libiqrf.mk                       | 2 +-
 package/liblog4c-localtime/liblog4c-localtime.mk | 2 +-
 package/libsha1/libsha1.mk                       | 2 +-
 package/libsoc/libsoc.mk                         | 2 +-
 package/libtpl/libtpl.mk                         | 2 +-
 package/linenoise/linenoise.mk                   | 2 +-
 package/lua-ev/lua-ev.mk                         | 2 +-
 package/luacrypto/luacrypto.mk                   | 2 +-
 package/luaexpatutils/luaexpatutils.mk           | 2 +-
 package/luasql/luasql.mk                         | 2 +-
 package/mongrel2/mongrel2.mk                     | 2 +-
 package/mtdev2tuio/mtdev2tuio.mk                 | 2 +-
 package/neardal/neardal.mk                       | 2 +-
 package/omap-u-boot-utils/omap-u-boot-utils.mk   | 2 +-
 package/on2-8170-modules/on2-8170-modules.mk     | 2 +-
 package/python-ipy/python-ipy.mk                 | 2 +-
 package/qjson/qjson.mk                           | 2 +-
 package/rpi-firmware/rpi-firmware.mk             | 2 +-
 package/rpi-userland/rpi-userland.mk             | 2 +-
 package/socketcand/socketcand.mk                 | 2 +-
 package/sqlcipher/sqlcipher.mk                   | 2 +-
 package/sunxi-boards/sunxi-boards.mk             | 2 +-
 package/sunxi-cedarx/sunxi-cedarx.mk             | 2 +-
 package/sunxi-mali-prop/sunxi-mali-prop.mk       | 2 +-
 package/sunxi-mali/sunxi-mali.mk                 | 2 +-
 package/sunxi-tools/sunxi-tools.mk               | 2 +-
 package/tinymembench/tinymembench.mk             | 2 +-
 package/tslib/tslib.mk                           | 2 +-
 package/xl2tp/xl2tp.mk                           | 2 +-
 package/yajl/yajl.mk                             | 2 +-
 39 files changed, 39 insertions(+), 39 deletions(-)

diff --git a/package/a10disp/a10disp.mk b/package/a10disp/a10disp.mk
index 486db44..066e988 100644
--- a/package/a10disp/a10disp.mk
+++ b/package/a10disp/a10disp.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 A10DISP_VERSION = a899cc6dcf909360aac00482ede5369f3656f226
-A10DISP_SITE = http://github.com/hglm/a10disp/tarball/$(A10DISP_VERSION)
+A10DISP_SITE = $(call github,hglm,a10disp,$(A10DISP_VERSION))
 A10DISP_LICENSE = MIT
 
 A10DISP_DEPENDENCIES = linux
diff --git a/package/civetweb/civetweb.mk b/package/civetweb/civetweb.mk
index dd74d97..4c8f4e8 100644
--- a/package/civetweb/civetweb.mk
+++ b/package/civetweb/civetweb.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 CIVETWEB_VERSION = v1.3
-CIVETWEB_SITE = http://github.com/sunsetbrew/civetweb/tarball/$(CIVETWEB_VERSION)
+CIVETWEB_SITE = $(call github,sunsetbrew,civetweb,$(CIVETWEB_VERSION))
 CIVETWEB_LICENSE = MIT
 CIVETWEB_LICENSE_FILES = LICENSE.md
 
diff --git a/package/cpuload/cpuload.mk b/package/cpuload/cpuload.mk
index e0b8ccf..30c3db6 100644
--- a/package/cpuload/cpuload.mk
+++ b/package/cpuload/cpuload.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 CPULOAD_VERSION = v0.3
-CPULOAD_SITE = http://github.com/kelvincheung/cpuload/tarball/$(CPULOAD_VERSION)
+CPULOAD_SITE = $(call github,kelvincheung,cpuload,$(CPULOAD_VERSION))
 CPULOAD_LICENSE = GPLv2
 CPULOAD_LICENSE_FILES = COPYING
 
diff --git a/package/fb-test-app/fb-test-app.mk b/package/fb-test-app/fb-test-app.mk
index a2183e0..d1ed508 100644
--- a/package/fb-test-app/fb-test-app.mk
+++ b/package/fb-test-app/fb-test-app.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 FB_TEST_APP_VERSION = v1.0.0
-FB_TEST_APP_SITE = http://github.com/prpplague/fb-test-app/tarball/$(FB_TEST_APP_VERSION)
+FB_TEST_APP_SITE = $(call github,prpplague,fb-test-app,$(FB_TEST_APP_VERSION))
 FB_TEST_APP_LICENSE = GPLv2
 FB_TEST_APP_LICENSE_FILES = COPYING
 
diff --git a/package/input-event-daemon/input-event-daemon.mk b/package/input-event-daemon/input-event-daemon.mk
index 762d3c2..35af28a 100644
--- a/package/input-event-daemon/input-event-daemon.mk
+++ b/package/input-event-daemon/input-event-daemon.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 INPUT_EVENT_DAEMON_VERSION = v0.1.3
-INPUT_EVENT_DAEMON_SITE = http://github.com/gandro/input-event-daemon/tarball/$(INPUT_EVENT_DAEMON_VERSION)
+INPUT_EVENT_DAEMON_SITE = $(call github,gandro,input-event-daemon,$(INPUT_EVENT_DAEMON_VERSION))
 INPUT_EVENT_DAEMON_LICENSE = input-event-daemon license
 INPUT_EVENT_DAEMON_LICENSE_FILES = README
 
diff --git a/package/jsmin/jsmin.mk b/package/jsmin/jsmin.mk
index 2d18187..597f06f 100644
--- a/package/jsmin/jsmin.mk
+++ b/package/jsmin/jsmin.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 JSMIN_VERSION = a9b47554d5684a55301a2eb7ca8480b7ee7630d4
-JSMIN_SITE = http://github.com/douglascrockford/JSMin/tarball/$(JSMIN_VERSION)
+JSMIN_SITE = $(call github,douglascrockford,JSMin,$(JSMIN_VERSION))
 
 define JSMIN_BUILD_CMDS
 	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) jsmin
diff --git a/package/knock/knock.mk b/package/knock/knock.mk
index 5fcf414..41fc0fb 100644
--- a/package/knock/knock.mk
+++ b/package/knock/knock.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 KNOCK_VERSION = 7666f2e86e18d482eaad5fe1fea46d87d80b0555
-KNOCK_SITE = https://github.com/jvinet/knock/tarball/master
+KNOCK_SITE = $(call github,jvinet,knock,master)
 KNOCK_LICENSE = GPLv2+
 KNOCK_LICENSE_FILES = COPYING
 KNOCK_AUTORECONF = YES
diff --git a/package/libcec/libcec.mk b/package/libcec/libcec.mk
index 8a58e1e..910f319 100644
--- a/package/libcec/libcec.mk
+++ b/package/libcec/libcec.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 LIBCEC_VERSION = libcec-2.1.1
-LIBCEC_SITE = http://github.com/Pulse-Eight/libcec/tarball/$(LIBCEC_VERSION)
+LIBCEC_SITE = $(call github,Pulse-Eight,libcec,$(LIBCEC_VERSION))
 LIBCEC_LICENSE = GPLv2+
 LIBCEC_LICENSE_FILES = COPYING
 
diff --git a/package/libcofi/libcofi.mk b/package/libcofi/libcofi.mk
index 88d51d3..dcfc641 100644
--- a/package/libcofi/libcofi.mk
+++ b/package/libcofi/libcofi.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 LIBCOFI_VERSION = 7313fbe12b0593034d0a1b606bf33c7cf4ababce
-LIBCOFI_SITE = http://github.com/simonjhall/copies-and-fills/tarball/$(LIBCOFI_VERSION)
+LIBCOFI_SITE = $(call github,simonjhall,copies-and-fills,$(LIBCOFI_VERSION))
 LIBCOFI_LICENSE = LGPLv2.1
 LIBCOFI_LICENSE_FILES = README.md
 
diff --git a/package/libiqrf/libiqrf.mk b/package/libiqrf/libiqrf.mk
index 6c33654..ec0d599 100644
--- a/package/libiqrf/libiqrf.mk
+++ b/package/libiqrf/libiqrf.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 LIBIQRF_VERSION = v0.1.2
-LIBIQRF_SITE = http://github.com/nandra/libiqrf/tarball/$(LIBIQRF_VERSION)
+LIBIQRF_SITE = $(call github,nandra,libiqrf,$(LIBIQRF_VERSION))
 LIBIQRF_INSTALL_STAGING = YES
 
 LIBIQRF_DEPENDENCIES = libusb
diff --git a/package/liblog4c-localtime/liblog4c-localtime.mk b/package/liblog4c-localtime/liblog4c-localtime.mk
index 474bd95..f2b851d 100644
--- a/package/liblog4c-localtime/liblog4c-localtime.mk
+++ b/package/liblog4c-localtime/liblog4c-localtime.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 LIBLOG4C_LOCALTIME_VERSION = v1.0
-LIBLOG4C_LOCALTIME_SITE    = https://github.com/rcmadruga/log4c-localtime/tarball/$(LIBLOG4C_LOCALTIME_VERSION)
+LIBLOG4C_LOCALTIME_SITE    = $(call github,rcmadruga,log4c-localtime,$(LIBLOG4C_LOCALTIME_VERSION))
 LIBLOG4C_LOCALTIME_INSTALL_STAGING = YES
 LIBLOG4C_LOCALTIME_CONF_OPT = --disable-expattest
 LIBLOG4C_LOCALTIME_DEPENDENCIES = expat
diff --git a/package/libsha1/libsha1.mk b/package/libsha1/libsha1.mk
index 6976a8f..2fd7705 100644
--- a/package/libsha1/libsha1.mk
+++ b/package/libsha1/libsha1.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 LIBSHA1_VERSION = 0.3
-LIBSHA1_SITE = http://github.com/dottedmag/libsha1/tarball/$(LIBSHA1_VERSION)
+LIBSHA1_SITE = $(call github,dottedmag,libsha1,$(LIBSHA1_VERSION))
 LIBSHA1_LICENSE = BSD-3c or GPL
 LIBSHA1_LICENSE_FILES = COPYING
 
diff --git a/package/libsoc/libsoc.mk b/package/libsoc/libsoc.mk
index 79c7e90..eca3e84 100644
--- a/package/libsoc/libsoc.mk
+++ b/package/libsoc/libsoc.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 LIBSOC_VERSION = 0.4
-LIBSOC_SITE = http://github.com/jackmitch/libsoc/tarball/$(LIBSOC_VERSION)
+LIBSOC_SITE = $(call github,jackmitch,libsoc,$(LIBSOC_VERSION))
 LIBSOC_LICENSE = LGPLv2.1
 LIBSOC_LICENSE_FILES = COPYING
 LIBSOC_AUTORECONF = YES
diff --git a/package/libtpl/libtpl.mk b/package/libtpl/libtpl.mk
index 478b298..0a0fe8b 100644
--- a/package/libtpl/libtpl.mk
+++ b/package/libtpl/libtpl.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 LIBTPL_VERSION = 445b4e9f236a48e274eaace31acf56d700da142a
-LIBTPL_SITE = http://github.com/troydhanson/tpl/tarball/$(LIBTPL_VERSION)
+LIBTPL_SITE = $(call github,troydhanson,tpl,$(LIBTPL_VERSION))
 LIBTPL_INSTALL_STAGING = YES
 LIBTPL_LICENSE = BSD-like
 LIBTPL_LICENSE_FILES = LICENSE
diff --git a/package/linenoise/linenoise.mk b/package/linenoise/linenoise.mk
index a8ea1f6..1f56a9e 100644
--- a/package/linenoise/linenoise.mk
+++ b/package/linenoise/linenoise.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 LINENOISE_VERSION = 27a3b4d5205a5fb3e2101128edd6653bd0c92189
-LINENOISE_SITE = http://github.com/antirez/linenoise/tarball/$(LINENOISE_VERSION)
+LINENOISE_SITE = $(call github,antirez,linenoise,$(LINENOISE_VERSION))
 LINENOISE_LICENSE = BSD-2c
 LINENOISE_INSTALL_STAGING = YES
 
diff --git a/package/lua-ev/lua-ev.mk b/package/lua-ev/lua-ev.mk
index 0beece4..173cf0b 100644
--- a/package/lua-ev/lua-ev.mk
+++ b/package/lua-ev/lua-ev.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 LUA_EV_VERSION = 458165bdfe0c6eadc788813925f11a0e6a823845
-LUA_EV_SITE = http://github.com/brimworks/lua-ev/tarball/$(LUA_EV_VERSION)
+LUA_EV_SITE = $(call github,brimworks,lua-ev,$(LUA_EV_VERSION))
 LUA_EV_DEPENDENCIES = lua libev
 LUA_EV_LICENSE = MIT
 LUA_EV_LICENSE_FILES = README
diff --git a/package/luacrypto/luacrypto.mk b/package/luacrypto/luacrypto.mk
index f6fcc78..54ab388 100644
--- a/package/luacrypto/luacrypto.mk
+++ b/package/luacrypto/luacrypto.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 LUACRYPTO_VERSION = 0.3.2
-LUACRYPTO_SITE = http://github.com/mkottman/luacrypto/tarball/$(LUACRYPTO_VERSION)
+LUACRYPTO_SITE = $(call github,mkottman,luacrypto,$(LUACRYPTO_VERSION))
 LUACRYPTO_LICENSE = MIT
 LUACRYPTO_LICENSE_FILES = COPYING
 LUACRYPTO_DEPENDENCIES = lua openssl host-pkgconf
diff --git a/package/luaexpatutils/luaexpatutils.mk b/package/luaexpatutils/luaexpatutils.mk
index 391031b..147c4b9 100644
--- a/package/luaexpatutils/luaexpatutils.mk
+++ b/package/luaexpatutils/luaexpatutils.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 LUAEXPATUTILS_VERSION = 88c228365b084224c911d34aff06002634b38b50
-LUAEXPATUTILS_SITE = http://github.com/stevedonovan/LuaExpatUtils/tarball/$(LUAEXPATUTILS_VERSION)
+LUAEXPATUTILS_SITE = $(call github,stevedonovan,LuaExpatUtils,$(LUAEXPATUTILS_VERSION))
 LUAEXPATUTILS_LICENSE = Public Domain
 LUAEXPATUTILS_DEPENDENCIES = luaexpat
 
diff --git a/package/luasql/luasql.mk b/package/luasql/luasql.mk
index 6fbdccc..03dcb20 100644
--- a/package/luasql/luasql.mk
+++ b/package/luasql/luasql.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 LUASQL_VERSION = v2.3.0
-LUASQL_SITE = https://github.com/keplerproject/luasql/tarball/$(LUASQL_VERSION)
+LUASQL_SITE = $(call github,keplerproject,luasql,$(LUASQL_VERSION))
 LUASQL_LICENSE = MIT
 LUASQL_LICENSE_FILES = README
 LUASQL_DEPENDENCIES = lua
diff --git a/package/mongrel2/mongrel2.mk b/package/mongrel2/mongrel2.mk
index 89621de..64799a8 100644
--- a/package/mongrel2/mongrel2.mk
+++ b/package/mongrel2/mongrel2.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 MONGREL2_VERSION = v1.8.0
-MONGREL2_SITE = https://github.com/zedshaw/mongrel2/tarball/$(MONGREL2_VERSION)
+MONGREL2_SITE = $(call github,zedshaw,mongrel2,$(MONGREL2_VERSION))
 MONGREL2_LICENSE = BSD-3c
 MONGREL2_LICENSE_FILES = LICENSE
 MONGREL2_DEPENDENCIES = sqlite zeromq
diff --git a/package/mtdev2tuio/mtdev2tuio.mk b/package/mtdev2tuio/mtdev2tuio.mk
index ff56ee7..3116f39 100644
--- a/package/mtdev2tuio/mtdev2tuio.mk
+++ b/package/mtdev2tuio/mtdev2tuio.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 MTDEV2TUIO_VERSION = e1e7378d86abe751158e743586133022f32fa4d1
-MTDEV2TUIO_SITE = http://github.com/olivopaolo/mtdev2tuio/tarball/$(MTDEV2TUIO_VERSION)
+MTDEV2TUIO_SITE = $(call github,olivopaolo,mtdev2tuio,$(MTDEV2TUIO_VERSION))
 MTDEV2TUIO_DEPENDENCIES = mtdev liblo
 MTDEV2TUIO_LICENSE = GPLv3+
 MTDEV2TUIO_LICENSE_FILES = COPYING
diff --git a/package/neardal/neardal.mk b/package/neardal/neardal.mk
index 7e085e4..c07ae5f 100644
--- a/package/neardal/neardal.mk
+++ b/package/neardal/neardal.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 NEARDAL_VERSION = 0.8
-NEARDAL_SITE = http://github.com/connectivity/neardal/tarball/$(NEARDAL_VERSION)
+NEARDAL_SITE = $(call github,connectivity,neardal,$(NEARDAL_VERSION))
 NEARDAL_SOURCE = connectivity-neardal-$(NEARDAL_VERSION).tar.gz
 NEARDAL_INSTALL_STAGING = YES
 NEARDAL_LICENSE = GPLv2
diff --git a/package/omap-u-boot-utils/omap-u-boot-utils.mk b/package/omap-u-boot-utils/omap-u-boot-utils.mk
index 8e03718..10c7a07 100644
--- a/package/omap-u-boot-utils/omap-u-boot-utils.mk
+++ b/package/omap-u-boot-utils/omap-u-boot-utils.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 OMAP_U_BOOT_UTILS_VERSION = 8aff852322c6f52bd09568bef7725ab509d81725
-OMAP_U_BOOT_UTILS_SITE = http://github.com/nmenon/omap-u-boot-utils/tarball/$(OMAP_U_BOOT_UTILS_VERSION)
+OMAP_U_BOOT_UTILS_SITE = $(call github,nmenon,omap-u-boot-utils,$(OMAP_U_BOOT_UTILS_VERSION))
 OMAP_U_BOOT_UTILS_LICENSE = GPLv2, GPLv2+
 OMAP_U_BOOT_UTILS_LICENSE_FILES = COPYING
 
diff --git a/package/on2-8170-modules/on2-8170-modules.mk b/package/on2-8170-modules/on2-8170-modules.mk
index d332885..f779eda 100644
--- a/package/on2-8170-modules/on2-8170-modules.mk
+++ b/package/on2-8170-modules/on2-8170-modules.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 ON2_8170_MODULES_VERSION = 73b08061d30789178e692bc332b73d1d9922bf39
-ON2_8170_MODULES_SITE    = http://github.com/alexandrebelloni/on2-8170-modules/tarball/$(ON2_8170_MODULES_VERSION)
+ON2_8170_MODULES_SITE    = $(call github,alexandrebelloni,on2-8170-modules,$(ON2_8170_MODULES_VERSION))
 
 ON2_8170_MODULES_DEPENDENCIES = linux
 
diff --git a/package/python-ipy/python-ipy.mk b/package/python-ipy/python-ipy.mk
index baac094..c03f91f 100644
--- a/package/python-ipy/python-ipy.mk
+++ b/package/python-ipy/python-ipy.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 PYTHON_IPY_VERSION = IPy-0.75
-PYTHON_IPY_SITE    = https://github.com/haypo/python-ipy/tarball/$(PYTHON_IPY_VERSION)
+PYTHON_IPY_SITE    = $(call github,haypo,python-ipy,$(PYTHON_IPY_VERSION))
 PYTHON_IPY_DEPENDENCIES = host-python python
 PYTHON_IPY_LICENSE = BSD-3c
 PYTHON_IPY_LICENSE_FILES = COPYING
diff --git a/package/qjson/qjson.mk b/package/qjson/qjson.mk
index 29b8c31..dcd53bc 100644
--- a/package/qjson/qjson.mk
+++ b/package/qjson/qjson.mk
@@ -6,7 +6,7 @@
 
 QJSON_VERSION = 0.8.1
 
-QJSON_SITE = http://github.com/flavio/qjson/tarball/$(QJSON_VERSION)
+QJSON_SITE = $(call github,flavio,qjson,$(QJSON_VERSION))
 QJSON_INSTALL_STAGING = YES
 QJSON_DEPENDENCIES =  qt
 QJSON_LICENSE = LGPLv2.1
diff --git a/package/rpi-firmware/rpi-firmware.mk b/package/rpi-firmware/rpi-firmware.mk
index 25eab69..838952b 100644
--- a/package/rpi-firmware/rpi-firmware.mk
+++ b/package/rpi-firmware/rpi-firmware.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 RPI_FIRMWARE_VERSION = f7e9bcd25c9b01521fdf88aac2740b6cfc887dfb
-RPI_FIRMWARE_SITE = http://github.com/raspberrypi/firmware/tarball/$(RPI_FIRMWARE_VERSION)
+RPI_FIRMWARE_SITE = $(call github,raspberrypi,firmware,$(RPI_FIRMWARE_VERSION))
 RPI_FIRMWARE_LICENSE = BSD-3c
 RPI_FIRMWARE_LICENSE_FILES = boot/LICENCE.broadcom
 
diff --git a/package/rpi-userland/rpi-userland.mk b/package/rpi-userland/rpi-userland.mk
index b17a5f4..8911ae0 100644
--- a/package/rpi-userland/rpi-userland.mk
+++ b/package/rpi-userland/rpi-userland.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 RPI_USERLAND_VERSION = d2c9f912da389c23ed27e81e940be3540f64fc59
-RPI_USERLAND_SITE = http://github.com/raspberrypi/userland/tarball/$(RPI_USERLAND_VERSION)
+RPI_USERLAND_SITE = $(call github,raspberrypi,userland,$(RPI_USERLAND_VERSION))
 RPI_USERLAND_LICENSE = BSD-3c
 RPI_USERLAND_LICENSE_FILES = LICENCE
 RPI_USERLAND_INSTALL_STAGING = YES
diff --git a/package/socketcand/socketcand.mk b/package/socketcand/socketcand.mk
index 1a19c92..1a2c9fc 100644
--- a/package/socketcand/socketcand.mk
+++ b/package/socketcand/socketcand.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 SOCKETCAND_VERSION = dc3437abf17359fa8cb16567415b47e7ef8568d0
-SOCKETCAND_SITE = http://github.com/dschanoeh/socketcand/tarball/$(SOCKETCAND_VERSION)
+SOCKETCAND_SITE = $(call github,dschanoeh,socketcand,$(SOCKETCAND_VERSION))
 SOCKETCAND_AUTORECONF = YES
 
 ifeq ($(BR2_PACKAGE_LIBCONFIG),y)
diff --git a/package/sqlcipher/sqlcipher.mk b/package/sqlcipher/sqlcipher.mk
index e93d24d..1636a8e 100644
--- a/package/sqlcipher/sqlcipher.mk
+++ b/package/sqlcipher/sqlcipher.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 SQLCIPHER_VERSION = v1.1.9
-SQLCIPHER_SITE = http://github.com/sqlcipher/sqlcipher/archive/$(SQLCIPHER_VERSION)
+SQLCIPHER_SITE = $(call github,sqlcipher,sqlcipher,$(SQLCIPHER_VERSION))
 SQLCIPHER_DEPENDENCIES = openssl host-tcl
 SQLCIPHER_INSTALL_STAGING = YES
 
diff --git a/package/sunxi-boards/sunxi-boards.mk b/package/sunxi-boards/sunxi-boards.mk
index ef5b34d..932b625 100644
--- a/package/sunxi-boards/sunxi-boards.mk
+++ b/package/sunxi-boards/sunxi-boards.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 SUNXI_BOARDS_VERSION = 25a868189dbaa40872b2ac7d8a941dd73972eb08
-SUNXI_BOARDS_SITE = https://github.com/linux-sunxi/sunxi-boards/tarball/$(SUNXI_BOARDS_VERSION)
+SUNXI_BOARDS_SITE = $(call github,linux-sunxi,sunxi-boards,$(SUNXI_BOARDS_VERSION))
 SUNXI_BOARDS_DEPENDENCIES = host-sunxi-tools
 SUNXI_BOARDS_INSTALL_IMAGES = YES
 SUNXI_BOARDS_INSTALL_TARGET = NO
diff --git a/package/sunxi-cedarx/sunxi-cedarx.mk b/package/sunxi-cedarx/sunxi-cedarx.mk
index 5e1c820..54d081e 100644
--- a/package/sunxi-cedarx/sunxi-cedarx.mk
+++ b/package/sunxi-cedarx/sunxi-cedarx.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 SUNXI_CEDARX_VERSION = 74923e55fc3ef512d4cd2462da58ae5331611f37
-SUNXI_CEDARX_SITE = http://github.com/linux-sunxi/cedarx-libs/tarball/$(SUNXI_CEDARX_VERSION)
+SUNXI_CEDARX_SITE = $(call github,linux-sunxi,cedarx-libs,$(SUNXI_CEDARX_VERSION))
 
 SUNXI_CEDARX_INSTALL_STAGING = YES
 
diff --git a/package/sunxi-mali-prop/sunxi-mali-prop.mk b/package/sunxi-mali-prop/sunxi-mali-prop.mk
index f04b0b0..0cb2d93 100644
--- a/package/sunxi-mali-prop/sunxi-mali-prop.mk
+++ b/package/sunxi-mali-prop/sunxi-mali-prop.mk
@@ -5,6 +5,6 @@
 ################################################################################
 
 SUNXI_MALI_PROP_VERSION = e4ced471d576708ac9aa093e41a0f91cf429862b
-SUNXI_MALI_PROP_SITE = http://github.com/linux-sunxi/sunxi-mali-proprietary/tarball/$(SUNXI_MALI_PROP_VERSION)
+SUNXI_MALI_PROP_SITE = $(call github,linux-sunxi,sunxi-mali-proprietary,$(SUNXI_MALI_PROP_VERSION))
 
 $(eval $(generic-package))
diff --git a/package/sunxi-mali/sunxi-mali.mk b/package/sunxi-mali/sunxi-mali.mk
index dec211f..d9fd8be 100644
--- a/package/sunxi-mali/sunxi-mali.mk
+++ b/package/sunxi-mali/sunxi-mali.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 SUNXI_MALI_VERSION = c2491fe952354ba44538064e534ed7c731cedb1e
-SUNXI_MALI_SITE = http://github.com/linux-sunxi/sunxi-mali/tarball/$(SUNXI_MALI_VERSION)
+SUNXI_MALI_SITE = $(call github,linux-sunxi,sunxi-mali,$(SUNXI_MALI_VERSION))
 
 SUNXI_MALI_INSTALL_STAGING = YES
 SUNXI_MALI_DEPENDENCIES = sunxi-mali-prop
diff --git a/package/sunxi-tools/sunxi-tools.mk b/package/sunxi-tools/sunxi-tools.mk
index d47574c..a6c38d9 100644
--- a/package/sunxi-tools/sunxi-tools.mk
+++ b/package/sunxi-tools/sunxi-tools.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 SUNXI_TOOLS_VERSION = 3a94e721dd8d1e13d0b25da0a83463891e8e9ee0
-SUNXI_TOOLS_SITE = http://github.com/linux-sunxi/sunxi-tools/tarball/$(SUNXI_TOOLS_VERSION)
+SUNXI_TOOLS_SITE = $(call github,linux-sunxi,sunxi-tools,$(SUNXI_TOOLS_VERSION))
 SUNXI_TOOLS_LICENSE = GPLv2+
 SUNXI_TOOLS_LICENSE_FILES = COPYING
 HOST_SUNXI_TOOLS_DEPENDENCIES = host-libusb
diff --git a/package/tinymembench/tinymembench.mk b/package/tinymembench/tinymembench.mk
index 732616f..8bb01d5 100644
--- a/package/tinymembench/tinymembench.mk
+++ b/package/tinymembench/tinymembench.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 TINYMEMBENCH_VERSION = v0.2
-TINYMEMBENCH_SITE = http://github.com/ssvb/tinymembench/tarball/$(TINYMEMBENCH_VERSION)
+TINYMEMBENCH_SITE = $(call github,ssvb,tinymembench,$(TINYMEMBENCH_VERSION))
 TINYMEMBENCH_LICENSE = MIT
 TINYMEMBENCH_LICENSE_FILES = main.c
 
diff --git a/package/tslib/tslib.mk b/package/tslib/tslib.mk
index 751d01e..9524965 100644
--- a/package/tslib/tslib.mk
+++ b/package/tslib/tslib.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 TSLIB_VERSION = 1.1
-TSLIB_SITE = http://github.com/kergoth/tslib/tarball/$(TSLIB_VERSION)
+TSLIB_SITE = $(call github,kergoth,tslib,$(TSLIB_VERSION))
 TSLIB_LICENSE = GPL, LGPL
 TSLIB_LICENSE_FILES = COPYING
 
diff --git a/package/xl2tp/xl2tp.mk b/package/xl2tp/xl2tp.mk
index 7b0a228..cf496fe 100644
--- a/package/xl2tp/xl2tp.mk
+++ b/package/xl2tp/xl2tp.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 XL2TP_VERSION = v1.3.1
-XL2TP_SITE = http://github.com/xelerance/xl2tpd/tarball/$(XL2TP_VERSION)
+XL2TP_SITE = $(call github,xelerance,xl2tpd,$(XL2TP_VERSION))
 XL2TP_DEPENDENCIES = libpcap
 
 define XL2TP_BUILD_CMDS
diff --git a/package/yajl/yajl.mk b/package/yajl/yajl.mk
index 6f9c640..ff64123 100644
--- a/package/yajl/yajl.mk
+++ b/package/yajl/yajl.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 YAJL_VERSION = 2.0.4
-YAJL_SITE = http://github.com/lloyd/yajl/tarball/$(YAJL_VERSION)
+YAJL_SITE = $(call github,lloyd,yajl,$(YAJL_VERSION))
 YAJL_INSTALL_STAGING = YES
 YAJL_LICENSE = ISC
 YAJL_LICENSE_FILES = COPYING
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [Buildroot] [PATCH 04/16] gdb: arc: Use git instead of website
  2013-12-05 17:20 [Buildroot] [PULL REQUEST 00/16] ARC and Microblaze toolchain updates Thomas Petazzoni
                   ` (2 preceding siblings ...)
  2013-12-05 17:20 ` [Buildroot] [PATCH 03/16] packages: convert Github http:// users to the github helper Thomas Petazzoni
@ 2013-12-05 17:20 ` Thomas Petazzoni
  2013-12-05 17:20 ` [Buildroot] [PATCH 05/16] binutils: " Thomas Petazzoni
                   ` (12 subsequent siblings)
  16 siblings, 0 replies; 24+ messages in thread
From: Thomas Petazzoni @ 2013-12-05 17:20 UTC (permalink / raw)
  To: buildroot

From: Mischa Jonker <mischa.jonker@synopsys.com>

Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/gdb/Config.in.host | 2 +-
 package/gdb/gdb.mk         | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host
index 128aed9..074aa57 100644
--- a/package/gdb/Config.in.host
+++ b/package/gdb/Config.in.host
@@ -58,6 +58,6 @@ config BR2_GDB_VERSION
 	default "7.3.1"    if BR2_GDB_VERSION_7_3
 	default "7.4.1"    if BR2_GDB_VERSION_7_4
 	default "7.5.1"    if BR2_GDB_VERSION_7_5
-	default "7.5.1-arc" if BR2_arc
+	default "f25a1952afd054205f9471e449c1f7ca5b271b7c" if BR2_arc
 
 endif
diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
index 700cf72..e6b1115 100644
--- a/package/gdb/gdb.mk
+++ b/package/gdb/gdb.mk
@@ -22,14 +22,15 @@ endif
 endif
 
 ifeq ($(BR2_arc),y)
-GDB_SITE = $(BR2_ARC_SITE)
+GDB_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,gdb,$(GDB_VERSION))
+GDB_SOURCE = gdb-$(GDB_VERSION).tar.gz
 endif
 
 ifeq ($(GDB_VERSION),6.7.1-avr32-2.1.5)
 GDB_SITE = ftp://www.at91.com/pub/buildroot/
 endif
 
-GDB_SOURCE = gdb-$(GDB_VERSION).tar.bz2
+GDB_SOURCE ?= gdb-$(GDB_VERSION).tar.bz2
 GDB_LICENSE = GPLv2+ LGPLv2+ GPLv3+ LGPLv3+
 GDB_LICENSE_FILES = COPYING COPYING.LIB COPYING3 COPYING3.LIB
 
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [Buildroot] [PATCH 05/16] binutils: arc: Use git instead of website
  2013-12-05 17:20 [Buildroot] [PULL REQUEST 00/16] ARC and Microblaze toolchain updates Thomas Petazzoni
                   ` (3 preceding siblings ...)
  2013-12-05 17:20 ` [Buildroot] [PATCH 04/16] gdb: arc: Use git instead of website Thomas Petazzoni
@ 2013-12-05 17:20 ` Thomas Petazzoni
  2013-12-05 17:20 ` [Buildroot] [PATCH 06/16] gcc: arc: Download from github instead of Synopsys website Thomas Petazzoni
                   ` (11 subsequent siblings)
  16 siblings, 0 replies; 24+ messages in thread
From: Thomas Petazzoni @ 2013-12-05 17:20 UTC (permalink / raw)
  To: buildroot

From: Mischa Jonker <mischa.jonker@synopsys.com>

Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/binutils/Config.in.host | 2 +-
 package/binutils/binutils.mk    | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host
index 8f19597..2989e6e 100644
--- a/package/binutils/Config.in.host
+++ b/package/binutils/Config.in.host
@@ -44,7 +44,7 @@ endchoice
 config BR2_BINUTILS_VERSION
 	string
 	default "2.18-avr32-1.0.1" if BR2_BINUTILS_VERSION_2_18_AVR32_1_0_1
-	default "2.23.2-arc"	if BR2_arc
+	default "0c824ba511fa9b028220eb3c39b566af89ac9dda" if BR2_arc
 	default "2.20.1"	if BR2_BINUTILS_VERSION_2_20_1
 	default "2.21"		if BR2_BINUTILS_VERSION_2_21
 	default "2.21.1"	if BR2_BINUTILS_VERSION_2_21_1
diff --git a/package/binutils/binutils.mk b/package/binutils/binutils.mk
index b3ccee2..3c14849 100644
--- a/package/binutils/binutils.mk
+++ b/package/binutils/binutils.mk
@@ -18,17 +18,17 @@ endif
 
 ifeq ($(BINUTILS_VERSION),2.23)
 BINUTILS_SOURCE = binutils-$(BINUTILS_VERSION).tar.gz
-else
-BINUTILS_SOURCE = binutils-$(BINUTILS_VERSION).tar.bz2
 endif
 
-BINUTILS_SITE = $(BR2_GNU_MIRROR)/binutils
 ifeq ($(ARCH),avr32)
 BINUTILS_SITE = ftp://www.at91.com/pub/buildroot
 endif
 ifeq ($(BR2_arc),y)
-BINUTILS_SITE = $(BR2_ARC_SITE)
+BINUTILS_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,binutils,$(BINUTILS_VERSION))
+BINUTILS_SOURCE = binutils-$(BINUTILS_VERSION).tar.gz
 endif
+BINUTILS_SITE ?= $(BR2_GNU_MIRROR)/binutils
+BINUTILS_SOURCE ?= binutils-$(BINUTILS_VERSION).tar.bz2
 BINUTILS_EXTRA_CONFIG_OPTIONS = $(call qstrip,$(BR2_BINUTILS_EXTRA_CONFIG_OPTIONS))
 BINUTILS_INSTALL_STAGING = YES
 BINUTILS_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [Buildroot] [PATCH 06/16] gcc: arc: Download from github instead of Synopsys website
  2013-12-05 17:20 [Buildroot] [PULL REQUEST 00/16] ARC and Microblaze toolchain updates Thomas Petazzoni
                   ` (4 preceding siblings ...)
  2013-12-05 17:20 ` [Buildroot] [PATCH 05/16] binutils: " Thomas Petazzoni
@ 2013-12-05 17:20 ` Thomas Petazzoni
  2013-12-05 17:20 ` [Buildroot] [PATCH 07/16] uclibc: arc: Use git instead of website Thomas Petazzoni
                   ` (10 subsequent siblings)
  16 siblings, 0 replies; 24+ messages in thread
From: Thomas Petazzoni @ 2013-12-05 17:20 UTC (permalink / raw)
  To: buildroot

From: Mischa Jonker <mischa.jonker@synopsys.com>

The github release mechanism only supports .tar.gz, hence the ugly
GCC_UNPACK variable.

Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/gcc/4.8-arc/100-uclibc-conf.patch          |  15 ---
 package/gcc/4.8-arc/301-missing-execinfo_h.patch   |  13 --
 package/gcc/4.8-arc/302-c99-snprintf.patch         |  13 --
 .../gcc/4.8-arc/305-libmudflap-susv3-legacy.patch  |  49 -------
 package/gcc/4.8-arc/disable_gc_sections.patch      | 145 ---------------------
 package/gcc/4.8-arc/fix_branch_out_of_range.patch  |  30 -----
 package/gcc/Config.in.host                         |   2 +-
 package/gcc/gcc.mk                                 |   9 +-
 8 files changed, 6 insertions(+), 270 deletions(-)
 delete mode 100644 package/gcc/4.8-arc/100-uclibc-conf.patch
 delete mode 100644 package/gcc/4.8-arc/301-missing-execinfo_h.patch
 delete mode 100644 package/gcc/4.8-arc/302-c99-snprintf.patch
 delete mode 100644 package/gcc/4.8-arc/305-libmudflap-susv3-legacy.patch
 delete mode 100644 package/gcc/4.8-arc/disable_gc_sections.patch
 delete mode 100644 package/gcc/4.8-arc/fix_branch_out_of_range.patch

diff --git a/package/gcc/4.8-arc/100-uclibc-conf.patch b/package/gcc/4.8-arc/100-uclibc-conf.patch
deleted file mode 100644
index d56bf0a..0000000
--- a/package/gcc/4.8-arc/100-uclibc-conf.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Index: gcc-4.8.0/contrib/regression/objs-gcc.sh
-===================================================================
---- gcc-4.8.0.orig/contrib/regression/objs-gcc.sh	2009-04-09 17:00:19.000000000 +0200
-+++ gcc-4.8.0/contrib/regression/objs-gcc.sh	2013-03-23 17:39:04.000000000 +0100
-@@ -106,6 +106,10 @@
-  then
-   make all-gdb all-dejagnu all-ld || exit 1
-   make install-gdb install-dejagnu install-ld || exit 1
-+elif [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-uclibc ]
-+ then
-+  make all-gdb all-dejagnu all-ld || exit 1
-+  make install-gdb install-dejagnu install-ld || exit 1
- elif [ $H_REAL_TARGET = $H_REAL_HOST ] ; then
-   make bootstrap || exit 1
-   make install || exit 1
diff --git a/package/gcc/4.8-arc/301-missing-execinfo_h.patch b/package/gcc/4.8-arc/301-missing-execinfo_h.patch
deleted file mode 100644
index 00efda2..0000000
--- a/package/gcc/4.8-arc/301-missing-execinfo_h.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: gcc-4.8.0/boehm-gc/include/gc.h
-===================================================================
---- gcc-4.8.0.orig/boehm-gc/include/gc.h	2007-04-23 23:10:09.000000000 +0200
-+++ gcc-4.8.0/boehm-gc/include/gc.h	2013-03-23 17:39:20.000000000 +0100
-@@ -503,7 +503,7 @@
- #if defined(__linux__) || defined(__GLIBC__)
- # include <features.h>
- # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \
--     && !defined(__ia64__)
-+     && !defined(__ia64__) && !defined(__UCLIBC__)
- #   ifndef GC_HAVE_BUILTIN_BACKTRACE
- #     define GC_HAVE_BUILTIN_BACKTRACE
- #   endif
diff --git a/package/gcc/4.8-arc/302-c99-snprintf.patch b/package/gcc/4.8-arc/302-c99-snprintf.patch
deleted file mode 100644
index cd4d2cc..0000000
--- a/package/gcc/4.8-arc/302-c99-snprintf.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: gcc-4.8.0/libstdc++-v3/include/c_global/cstdio
-===================================================================
---- gcc-4.8.0.orig/libstdc++-v3/include/c_global/cstdio	2013-02-03 18:54:05.000000000 +0100
-+++ gcc-4.8.0/libstdc++-v3/include/c_global/cstdio	2013-03-23 17:39:32.000000000 +0100
-@@ -138,7 +138,7 @@
-   using ::vsprintf;
- } // namespace
- 
--#if _GLIBCXX_USE_C99
-+#if _GLIBCXX_USE_C99 || defined __UCLIBC__
- 
- #undef snprintf
- #undef vfscanf
diff --git a/package/gcc/4.8-arc/305-libmudflap-susv3-legacy.patch b/package/gcc/4.8-arc/305-libmudflap-susv3-legacy.patch
deleted file mode 100644
index 35d5f50..0000000
--- a/package/gcc/4.8-arc/305-libmudflap-susv3-legacy.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-Index: gcc-4.8.0/libmudflap/mf-hooks2.c
-===================================================================
---- gcc-4.8.0.orig/libmudflap/mf-hooks2.c	2013-02-03 18:48:05.000000000 +0100
-+++ gcc-4.8.0/libmudflap/mf-hooks2.c	2013-03-23 17:39:43.000000000 +0100
-@@ -424,7 +424,7 @@
- {
-   TRACE ("%s\n", __PRETTY_FUNCTION__);
-   MF_VALIDATE_EXTENT(s, n, __MF_CHECK_WRITE, "bzero region");
--  bzero (s, n);
-+  memset (s, 0, n);
- }
- 
- 
-@@ -434,7 +434,7 @@
-   TRACE ("%s\n", __PRETTY_FUNCTION__);
-   MF_VALIDATE_EXTENT(src, n, __MF_CHECK_READ, "bcopy src");
-   MF_VALIDATE_EXTENT(dest, n, __MF_CHECK_WRITE, "bcopy dest");
--  bcopy (src, dest, n);
-+  memmove (dest, src, n);
- }
- 
- 
-@@ -444,7 +444,7 @@
-   TRACE ("%s\n", __PRETTY_FUNCTION__);
-   MF_VALIDATE_EXTENT(s1, n, __MF_CHECK_READ, "bcmp 1st arg");
-   MF_VALIDATE_EXTENT(s2, n, __MF_CHECK_READ, "bcmp 2nd arg");
--  return bcmp (s1, s2, n);
-+  return n == 0 ? 0 : memcmp (s1, s2, n);
- }
- 
- 
-@@ -453,7 +453,7 @@
-   size_t n = strlen (s);
-   TRACE ("%s\n", __PRETTY_FUNCTION__);
-   MF_VALIDATE_EXTENT(s, CLAMPADD(n, 1), __MF_CHECK_READ, "index region");
--  return index (s, c);
-+  return strchr (s, c);
- }
- 
- 
-@@ -462,7 +462,7 @@
-   size_t n = strlen (s);
-   TRACE ("%s\n", __PRETTY_FUNCTION__);
-   MF_VALIDATE_EXTENT(s, CLAMPADD(n, 1), __MF_CHECK_READ, "rindex region");
--  return rindex (s, c);
-+  return strrchr (s, c);
- }
- 
- /* XXX:  stpcpy, memccpy */
diff --git a/package/gcc/4.8-arc/disable_gc_sections.patch b/package/gcc/4.8-arc/disable_gc_sections.patch
deleted file mode 100644
index 46a3a26..0000000
--- a/package/gcc/4.8-arc/disable_gc_sections.patch
+++ /dev/null
@@ -1,145 +0,0 @@
-From be904b178fc0858ad41a3c2fbc13b388bd1ff465 Mon Sep 17 00:00:00 2001
-From: Mischa Jonker <mjonker@synopsys.com>
-Date: Mon, 15 Jul 2013 11:50:20 +0200
-Subject: [PATCH] libstdc++: Disable gc-sections to work around binutils bug
-
-This is to work around the following error message:
-BFD (GNU Binutils) 2.23.2 assertion fail elf32-arc.c:2140
-
-Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
----
- libstdc++-v3/acinclude.m4 |    3 ---
- libstdc++-v3/configure    |   33 ---------------------------------
- 2 files changed, 36 deletions(-)
-
-diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4
-index e131214..aa2e375 100644
---- a/libstdc++-v3/acinclude.m4
-+++ b/libstdc++-v3/acinclude.m4
-@@ -296,9 +296,6 @@ AC_DEFUN([GLIBCXX_CHECK_LINKER_FEATURES], [
-       fi
-       rm -f conftest.c conftest.o conftest
-     fi
--    if test "$ac_gcsections" = "yes"; then
--      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
--    fi
-     AC_MSG_RESULT($ac_gcsections)
- 
-     if test "$ac_test_CFLAGS" = set; then
-diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
-index ed049cf..d325e3e 100755
---- a/libstdc++-v3/configure
-+++ b/libstdc++-v3/configure
-@@ -20653,9 +20653,6 @@ rm -f core conftest.err conftest.$ac_objext \
-       fi
-       rm -f conftest.c conftest.o conftest
-     fi
--    if test "$ac_gcsections" = "yes"; then
--      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
--    fi
-     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
- $as_echo "$ac_gcsections" >&6; }
- 
-@@ -27688,9 +27685,6 @@ rm -f core conftest.err conftest.$ac_objext \
-       fi
-       rm -f conftest.c conftest.o conftest
-     fi
--    if test "$ac_gcsections" = "yes"; then
--      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
--    fi
-     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
- $as_echo "$ac_gcsections" >&6; }
- 
-@@ -33619,9 +33613,6 @@ rm -f core conftest.err conftest.$ac_objext \
-       fi
-       rm -f conftest.c conftest.o conftest
-     fi
--    if test "$ac_gcsections" = "yes"; then
--      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
--    fi
-     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
- $as_echo "$ac_gcsections" >&6; }
- 
-@@ -45496,9 +45487,6 @@ rm -f core conftest.err conftest.$ac_objext \
-       fi
-       rm -f conftest.c conftest.o conftest
-     fi
--    if test "$ac_gcsections" = "yes"; then
--      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
--    fi
-     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
- $as_echo "$ac_gcsections" >&6; }
- 
-@@ -45710,9 +45698,6 @@ rm -f core conftest.err conftest.$ac_objext \
-       fi
-       rm -f conftest.c conftest.o conftest
-     fi
--    if test "$ac_gcsections" = "yes"; then
--      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
--    fi
-     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
- $as_echo "$ac_gcsections" >&6; }
- 
-@@ -46185,9 +46170,6 @@ rm -f core conftest.err conftest.$ac_objext \
-       fi
-       rm -f conftest.c conftest.o conftest
-     fi
--    if test "$ac_gcsections" = "yes"; then
--      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
--    fi
-     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
- $as_echo "$ac_gcsections" >&6; }
- 
-@@ -52470,9 +52452,6 @@ rm -f core conftest.err conftest.$ac_objext \
-       fi
-       rm -f conftest.c conftest.o conftest
-     fi
--    if test "$ac_gcsections" = "yes"; then
--      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
--    fi
-     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
- $as_echo "$ac_gcsections" >&6; }
- 
-@@ -58386,9 +58365,6 @@ rm -f core conftest.err conftest.$ac_objext \
-       fi
-       rm -f conftest.c conftest.o conftest
-     fi
--    if test "$ac_gcsections" = "yes"; then
--      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
--    fi
-     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
- $as_echo "$ac_gcsections" >&6; }
- 
-@@ -58553,9 +58529,6 @@ rm -f core conftest.err conftest.$ac_objext \
-       fi
-       rm -f conftest.c conftest.o conftest
-     fi
--    if test "$ac_gcsections" = "yes"; then
--      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
--    fi
-     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
- $as_echo "$ac_gcsections" >&6; }
- 
-@@ -58781,9 +58754,6 @@ rm -f core conftest.err conftest.$ac_objext \
-       fi
-       rm -f conftest.c conftest.o conftest
-     fi
--    if test "$ac_gcsections" = "yes"; then
--      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
--    fi
-     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
- $as_echo "$ac_gcsections" >&6; }
- 
-@@ -64697,9 +64667,6 @@ rm -f core conftest.err conftest.$ac_objext \
-       fi
-       rm -f conftest.c conftest.o conftest
-     fi
--    if test "$ac_gcsections" = "yes"; then
--      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
--    fi
-     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
- $as_echo "$ac_gcsections" >&6; }
- 
--- 
-1.7.9.5
-
diff --git a/package/gcc/4.8-arc/fix_branch_out_of_range.patch b/package/gcc/4.8-arc/fix_branch_out_of_range.patch
deleted file mode 100644
index 5340a3b..0000000
--- a/package/gcc/4.8-arc/fix_branch_out_of_range.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-arc: Fix operand-out-of-range errors
-
-brcc_s instructions can generate operand-out-of-range errors. While a
-better solution is being discussed by the compiler team, this workaround
-ensures that the chances of running into this issue are low.
-
-Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
-
-diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c
-index ff602c0..b3ca4c4 100644
---- a/gcc/config/arc/arc.c
-+++ b/gcc/config/arc/arc.c
-@@ -6565,7 +6565,7 @@ estimate required size increase).
- 	      rtx *ccp = &XEXP (XVECEXP (pat, 0, 1), 0);
- 
- 	      offset = branch_dest (insn) - INSN_ADDRESSES (INSN_UID (insn));
--	      if ((offset >= -140 && offset < 140)
-+	      if ((offset >= -120 && offset < 120)
- 		  && rtx_equal_p (XEXP (op, 1), const0_rtx)
-  		  && compact_register_operand (XEXP (op, 0), VOIDmode)
- 		  && equality_comparison_operator (op, VOIDmode))
-@@ -6687,7 +6687,7 @@ estimate required size increase).
- 
- 		  if (op0 != cmp0)
-  		    cc_clob_rtx = gen_rtx_REG (CC_ZNmode, CC_REG);
-- 		  else if ((offset >= -140 && offset < 140)
-+		  else if ((offset >= -120 && offset < 120)
- 			   && rtx_equal_p (op1, const0_rtx)
- 			   && compact_register_operand (op0, VOIDmode)
- 			   && (GET_CODE (op) == EQ
diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
index 41c1213..2f04457 100644
--- a/package/gcc/Config.in.host
+++ b/package/gcc/Config.in.host
@@ -90,7 +90,7 @@ config BR2_GCC_VERSION
 	default "4.6.4"     if BR2_GCC_VERSION_4_6_X
 	default "4.7.3"     if BR2_GCC_VERSION_4_7_X
 	default "4.8.2"     if BR2_GCC_VERSION_4_8_X
-	default "4.8-arc"   if BR2_GCC_VERSION_4_8_ARC
+	default "7466697995233cc3aab5b9427bf843e3c7fabd80" if BR2_GCC_VERSION_4_8_ARC
 	default BR2_GCC_SNAP_DATE if BR2_GCC_VERSION_SNAP
 
 config BR2_EXTRA_GCC_CONFIG_OPTIONS
diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk
index 41600ef..e8f5ee1 100644
--- a/package/gcc/gcc.mk
+++ b/package/gcc/gcc.mk
@@ -19,13 +19,14 @@ ifneq ($(GCC_SNAP_DATE),)
 GCC_SITE = ftp://gcc.gnu.org/pub/gcc/snapshots/$(GCC_SNAP_DATE)/
 else ifeq ($(findstring avr32,$(GCC_VERSION)),avr32)
 GCC_SITE = ftp://www.at91.com/pub/buildroot/
-else ifeq ($(findstring arc,$(GCC_VERSION)),arc)
-GCC_SITE = $(BR2_ARC_SITE)
+else ifeq ($(BR2_arc),y)
+GCC_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,gcc,$(GCC_VERSION))
+GCC_SOURCE = gcc-$(GCC_VERSION).tar.gz
 else
 GCC_SITE = $(BR2_GNU_MIRROR:/=)/gcc/gcc-$(GCC_VERSION)
 endif
 
-GCC_SOURCE = gcc-$(GCC_VERSION).tar.bz2
+GCC_SOURCE ?= gcc-$(GCC_VERSION).tar.bz2
 
 #
 # Xtensa special hook
@@ -60,7 +61,7 @@ endef
 #
 
 define HOST_GCC_EXTRACT_CMDS
-	$(BZCAT) $(DL_DIR)/$(GCC_SOURCE) | \
+	$(call suitable-extractor,$(GCC_SOURCE)) $(DL_DIR)/$(GCC_SOURCE) | \
 		$(TAR) $(TAR_STRIP_COMPONENTS)=1 -C $(@D) \
 		--exclude='libjava/*' \
 		--exclude='libgo/*' \
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [Buildroot] [PATCH 07/16] uclibc: arc: Use git instead of website
  2013-12-05 17:20 [Buildroot] [PULL REQUEST 00/16] ARC and Microblaze toolchain updates Thomas Petazzoni
                   ` (5 preceding siblings ...)
  2013-12-05 17:20 ` [Buildroot] [PATCH 06/16] gcc: arc: Download from github instead of Synopsys website Thomas Petazzoni
@ 2013-12-05 17:20 ` Thomas Petazzoni
  2013-12-05 17:20 ` [Buildroot] [PATCH 08/16] Revert "arc: Add option for ARC-specific download site" Thomas Petazzoni
                   ` (9 subsequent siblings)
  16 siblings, 0 replies; 24+ messages in thread
From: Thomas Petazzoni @ 2013-12-05 17:20 UTC (permalink / raw)
  To: buildroot

From: Mischa Jonker <mischa.jonker@synopsys.com>

Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/uclibc/0.9.33-arc/fix-fstat-for-be.patch   | 32 -------------------
 .../uclibc/0.9.33-arc/fix-susv3-legacy-bcmp.patch  | 37 ----------------------
 package/uclibc/0.9.33-arc/fix-susv3-legacy.patch   | 36 ---------------------
 .../0.9.33-arc/uclibc-arc-add-__kernel_long.patch  | 29 -----------------
 package/uclibc/Config.in                           |  9 ++----
 package/uclibc/uclibc.mk                           |  7 ++--
 6 files changed, 7 insertions(+), 143 deletions(-)
 delete mode 100644 package/uclibc/0.9.33-arc/fix-fstat-for-be.patch
 delete mode 100644 package/uclibc/0.9.33-arc/fix-susv3-legacy-bcmp.patch
 delete mode 100644 package/uclibc/0.9.33-arc/fix-susv3-legacy.patch
 delete mode 100644 package/uclibc/0.9.33-arc/uclibc-arc-add-__kernel_long.patch

diff --git a/package/uclibc/0.9.33-arc/fix-fstat-for-be.patch b/package/uclibc/0.9.33-arc/fix-fstat-for-be.patch
deleted file mode 100644
index 2cdb517..0000000
--- a/package/uclibc/0.9.33-arc/fix-fstat-for-be.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From f394d65c74631a0e715bac582b09c302ee84114f Mon Sep 17 00:00:00 2001
-From: Mischa Jonker <mjonker@synopsys.com>
-Date: Tue, 23 Jul 2013 17:59:04 +0200
-Subject: [PATCH] libc/sysdeps: Fix common-generic stat.h for BE part 2
-
-Previous patch only fixed the build. This patch fixes the behavior at
-run-time as well.
-
-It fixes "Value too large for defined data type" messages caused by
-fstat syscall wrapper returning -EOVERFLOW.
-
-Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
----
- libc/sysdeps/linux/common-generic/bits/stat.h |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/libc/sysdeps/linux/common-generic/bits/stat.h b/libc/sysdeps/linux/common-generic/bits/stat.h
-index 07716ab..945c408 100644
---- a/libc/sysdeps/linux/common-generic/bits/stat.h
-+++ b/libc/sysdeps/linux/common-generic/bits/stat.h
-@@ -63,8 +63,8 @@ struct stat
-     unsigned long long __pad4;
-     long __pad5;
-     long st_size;				/* Size of file, in bytes. */
--    int __pad6;
-     int st_blksize;				/* Optimal block size for I/O. */
-+    int __pad6;
-     long __pad7;
-     long st_blocks;				/* Number 512-byte blocks allocated */
- # endif /* __LITTLE_ENDIAN */
---
-1.7.9.5
diff --git a/package/uclibc/0.9.33-arc/fix-susv3-legacy-bcmp.patch b/package/uclibc/0.9.33-arc/fix-susv3-legacy-bcmp.patch
deleted file mode 100644
index e0884ea..0000000
--- a/package/uclibc/0.9.33-arc/fix-susv3-legacy-bcmp.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 0594ba53b9b8d9a1ac409fd187e4d1ba8f2e7f2a Mon Sep 17 00:00:00 2001
-From: Vineet Gupta <vgupta@synopsys.com>
-Date: Thu, 8 Aug 2013 15:41:51 +0530
-Subject: [PATCH] ARC: SuSv3 legacy support: Add "bcmp" alias for memcmp
-
-Although uClibc provides this already as UCLIBC_SUSV3_LEGACY_MACROS,
-that however requires UCLIBC_SUSV3_LEGACY to be switched off, causing a
-bunch of other things to be not available (usleep)
-
-Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
----
- libc/string/arc/memcmp.S | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/libc/string/arc/memcmp.S b/libc/string/arc/memcmp.S
-index 0c7c345..cb25990 100644
---- a/libc/string/arc/memcmp.S
-+++ b/libc/string/arc/memcmp.S
-@@ -1,6 +1,7 @@
- /* Copyright (C) 2007 ARC International (UK) LTD */
- 
- #include <bits/asm.h>
-+#include <features.h>
- 
- #ifdef __LITTLE_ENDIAN__
- #define WORD2 r2
-@@ -115,3 +116,7 @@ ENTRY(memcmp)
- 	j_s.d	[blink]
- 	mov	r0,0
- ENDFUNC(memcmp)
-+
-+#ifdef __UCLIBC_SUSV3_LEGACY__
-+strong_alias(memcmp,bcmp)
-+#endif
--- 
-1.8.1.2
-
diff --git a/package/uclibc/0.9.33-arc/fix-susv3-legacy.patch b/package/uclibc/0.9.33-arc/fix-susv3-legacy.patch
deleted file mode 100644
index a768024..0000000
--- a/package/uclibc/0.9.33-arc/fix-susv3-legacy.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 3124ace804337d32974392e0a73a09cdc0d60fc8 Mon Sep 17 00:00:00 2001
-From: Mischa Jonker <mjonker@synopsys.com>
-Date: Mon, 15 Jul 2013 13:06:11 +0200
-Subject: [PATCH] ARC: Add alias 'index' to strcmp for susv3 legacy
- compatibility
-
-This fixes build errors for 'keyutils'
-
-Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
----
- libc/string/arc/strchr.S |    5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/libc/string/arc/strchr.S b/libc/string/arc/strchr.S
-index b9f28c0..8d51aa4 100644
---- a/libc/string/arc/strchr.S
-+++ b/libc/string/arc/strchr.S
-@@ -1,6 +1,7 @@
- /* Copyright (C) 2007 ARC International (UK) LTD */
- 
- #include <bits/asm.h>
-+#include <features.h>
- 
- /* ARC700 has a relatively long pipeline and branch prediction, so we want
-    to avoid branches that are hard to predict.  On the other hand, the
-@@ -115,3 +116,7 @@ ENTRY(strchr)
- 	mov.mi	r0,0
- #endif /* ENDIAN */
- ENDFUNC(strchr)
-+
-+#ifdef __UCLIBC_SUSV3_LEGACY__
-+strong_alias(strchr,index)
-+#endif
--- 
-1.7.9.5
-
diff --git a/package/uclibc/0.9.33-arc/uclibc-arc-add-__kernel_long.patch b/package/uclibc/0.9.33-arc/uclibc-arc-add-__kernel_long.patch
deleted file mode 100644
index caebac1..0000000
--- a/package/uclibc/0.9.33-arc/uclibc-arc-add-__kernel_long.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 5164fb28e9205626211d0436933e6eb4960be582 Mon Sep 17 00:00:00 2001
-From: Mischa Jonker <mjonker@synopsys.com>
-Date: Wed, 10 Jul 2013 09:05:25 +0200
-Subject: [PATCH] ARC: libc/sysdeps: add __kernel_long and __kernel_ulong
-
-Linux 3.4 added these two types and updated various exported header
-files to use them. While other architectures were updated before,
-this was not the case for ARC.
-
-This fixes the build failure with Linux 3.10 headers.
-
-Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
----
- libc/sysdeps/linux/arc/bits/kernel_types.h |    2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/libc/sysdeps/linux/arc/bits/kernel_types.h b/libc/sysdeps/linux/arc/bits/kernel_types.h
-index fd52e1c..fc28fa1 100755
---- a/libc/sysdeps/linux/arc/bits/kernel_types.h
-+++ b/libc/sysdeps/linux/arc/bits/kernel_types.h
-@@ -39,6 +39,8 @@ typedef	__kernel_uid_t		__kernel_old_uid_t;
- typedef __kernel_gid_t		__kernel_old_gid_t;
- typedef long long		__kernel_loff_t;
- typedef unsigned int		__kernel_old_dev_t;
-+typedef long			__kernel_long_t;
-+typedef unsigned long		__kernel_ulong_t;
-
- typedef struct {
- #ifdef __USE_ALL
diff --git a/package/uclibc/Config.in b/package/uclibc/Config.in
index 82dd3aa..7b2d6a7 100644
--- a/package/uclibc/Config.in
+++ b/package/uclibc/Config.in
@@ -20,12 +20,9 @@ choice
 		bool "uClibc 0.9.33.x"
 		depends on !(BR2_arc || BR2_avr32 || BR2_xtensa)
 
-	config BR2_UCLIBC_VERSION_0_9_33_ARC
-		bool "uClibc 0.9.33.x-arc"
-		depends on BR2_arc
-
 	config BR2_UCLIBC_VERSION_SNAPSHOT
 		bool "daily snapshot"
+		depends on !(BR2_arc)
 
 endchoice
 
@@ -41,7 +38,7 @@ config BR2_UCLIBC_VERSION_STRING
 	default 0.9.31.1	if BR2_UCLIBC_VERSION_0_9_31
 	default 0.9.32.1	if BR2_UCLIBC_VERSION_0_9_32
 	default 0.9.33.2	if BR2_UCLIBC_VERSION_0_9_33
-	default 0.9.33-arc	if BR2_UCLIBC_VERSION_0_9_33_ARC
+	default "9f0f466d3b17181ce88be36ce24a775774fe686c" if BR2_arc
 	default BR2_USE_UCLIBC_SNAPSHOT	if BR2_UCLIBC_VERSION_SNAPSHOT
 
 config BR2_UCLIBC_CONFIG
@@ -49,7 +46,7 @@ config BR2_UCLIBC_CONFIG
 	default "package/uclibc/uClibc-0.9.31.config" if BR2_UCLIBC_VERSION_0_9_31
 	default "package/uclibc/uClibc-0.9.32.config" if BR2_UCLIBC_VERSION_0_9_32
 	default "package/uclibc/uClibc-0.9.33.config" if BR2_UCLIBC_VERSION_0_9_33
-	default "package/uclibc/uClibc-snapshot.config" if BR2_UCLIBC_VERSION_0_9_33_ARC
+	default "package/uclibc/uClibc-snapshot.config" if BR2_arc
 	default "package/uclibc/uClibc-snapshot.config" if BR2_UCLIBC_VERSION_SNAPSHOT
 	help
 	  Some people may wish to use their own modified uClibc configuration
diff --git a/package/uclibc/uclibc.mk b/package/uclibc/uclibc.mk
index 20d3bb6..de9011f 100644
--- a/package/uclibc/uclibc.mk
+++ b/package/uclibc/uclibc.mk
@@ -5,12 +5,13 @@
 ################################################################################
 
 UCLIBC_VERSION = $(call qstrip,$(BR2_UCLIBC_VERSION_STRING))
-UCLIBC_SOURCE = uClibc-$(UCLIBC_VERSION).tar.bz2
+UCLIBC_SOURCE ?= uClibc-$(UCLIBC_VERSION).tar.bz2
 
 ifeq ($(BR2_UCLIBC_VERSION_SNAPSHOT),y)
 UCLIBC_SITE = http://www.uclibc.org/downloads/snapshots
-else ifeq ($(findstring arc,$(UCLIBC_VERSION)),arc)
-UCLIBC_SITE = $(BR2_ARC_SITE)
+else ifeq ($(BR2_arc),y)
+UCLIBC_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,uClibc,$(UCLIBC_VERSION))
+UCLIBC_SOURCE = uClibc-$(UCLIBC_VERSION).tar.gz
 else
 UCLIBC_SITE = http://www.uclibc.org/downloads
 UCLIBC_SOURCE = uClibc-$(UCLIBC_VERSION).tar.xz
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [Buildroot] [PATCH 08/16] Revert "arc: Add option for ARC-specific download site"
  2013-12-05 17:20 [Buildroot] [PULL REQUEST 00/16] ARC and Microblaze toolchain updates Thomas Petazzoni
                   ` (6 preceding siblings ...)
  2013-12-05 17:20 ` [Buildroot] [PATCH 07/16] uclibc: arc: Use git instead of website Thomas Petazzoni
@ 2013-12-05 17:20 ` Thomas Petazzoni
  2013-12-05 17:20 ` [Buildroot] [PATCH 09/16] binutils: add microblaze internal toolchain Thomas Petazzoni
                   ` (8 subsequent siblings)
  16 siblings, 0 replies; 24+ messages in thread
From: Thomas Petazzoni @ 2013-12-05 17:20 UTC (permalink / raw)
  To: buildroot

From: Mischa Jonker <mischa.jonker@synopsys.com>

All packages use github now.

This reverts commit 1445b7fd2e46db5d39ad5e2f5cc262574399f5f3.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 arch/Config.in.arc | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/arch/Config.in.arc b/arch/Config.in.arc
index 9f68b46..60b59f0 100644
--- a/arch/Config.in.arc
+++ b/arch/Config.in.arc
@@ -12,7 +12,3 @@ config BR2_ENDIAN
 
 config BR2_GCC_TARGET_CPU
 	default "arc700"
-
-config BR2_ARC_SITE
-	string
-	default "http://www.synopsys.com/apps/arc-developer/"
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [Buildroot] [PATCH 09/16] binutils: add microblaze internal toolchain
  2013-12-05 17:20 [Buildroot] [PULL REQUEST 00/16] ARC and Microblaze toolchain updates Thomas Petazzoni
                   ` (7 preceding siblings ...)
  2013-12-05 17:20 ` [Buildroot] [PATCH 08/16] Revert "arc: Add option for ARC-specific download site" Thomas Petazzoni
@ 2013-12-05 17:20 ` Thomas Petazzoni
  2013-12-05 17:20 ` [Buildroot] [PATCH 10/16] gcc: " Thomas Petazzoni
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 24+ messages in thread
From: Thomas Petazzoni @ 2013-12-05 17:20 UTC (permalink / raw)
  To: buildroot

From: Spenser Gilliland <spenser@gillilanding.com>

Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/binutils/Config.in.host | 2 ++
 package/binutils/binutils.mk    | 4 ++++
 2 files changed, 6 insertions(+)

diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host
index 2989e6e..c125c25 100644
--- a/package/binutils/Config.in.host
+++ b/package/binutils/Config.in.host
@@ -3,6 +3,7 @@ comment "Binutils Options"
 choice
 	prompt "Binutils Version"
 	depends on !BR2_arc
+	depends on !BR2_microblaze
 	default BR2_BINUTILS_VERSION_2_21 if (BR2_mips || BR2_mipsel || BR2_sh)
 	default BR2_BINUTILS_VERSION_2_22
 	help
@@ -45,6 +46,7 @@ config BR2_BINUTILS_VERSION
 	string
 	default "2.18-avr32-1.0.1" if BR2_BINUTILS_VERSION_2_18_AVR32_1_0_1
 	default "0c824ba511fa9b028220eb3c39b566af89ac9dda" if BR2_arc
+	default "8351467c933d277ebea0c8d99ad2b65b5f7b6bc2" if BR2_microblaze
 	default "2.20.1"	if BR2_BINUTILS_VERSION_2_20_1
 	default "2.21"		if BR2_BINUTILS_VERSION_2_21
 	default "2.21.1"	if BR2_BINUTILS_VERSION_2_21_1
diff --git a/package/binutils/binutils.mk b/package/binutils/binutils.mk
index 3c14849..13854b0 100644
--- a/package/binutils/binutils.mk
+++ b/package/binutils/binutils.mk
@@ -27,6 +27,10 @@ ifeq ($(BR2_arc),y)
 BINUTILS_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,binutils,$(BINUTILS_VERSION))
 BINUTILS_SOURCE = binutils-$(BINUTILS_VERSION).tar.gz
 endif
+ifeq ($(BR2_microblaze),y)
+BINUTILS_SITE = $(call github,Xilinx,binutils,$(BINUTILS_VERSION))
+BINUTILS_SOURCE = binutils-$(BINUTILS_VERSION).tar.gz
+endif
 BINUTILS_SITE ?= $(BR2_GNU_MIRROR)/binutils
 BINUTILS_SOURCE ?= binutils-$(BINUTILS_VERSION).tar.bz2
 BINUTILS_EXTRA_CONFIG_OPTIONS = $(call qstrip,$(BR2_BINUTILS_EXTRA_CONFIG_OPTIONS))
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [Buildroot] [PATCH 10/16] gcc: add microblaze internal toolchain
  2013-12-05 17:20 [Buildroot] [PULL REQUEST 00/16] ARC and Microblaze toolchain updates Thomas Petazzoni
                   ` (8 preceding siblings ...)
  2013-12-05 17:20 ` [Buildroot] [PATCH 09/16] binutils: add microblaze internal toolchain Thomas Petazzoni
@ 2013-12-05 17:20 ` Thomas Petazzoni
  2013-12-05 17:20 ` [Buildroot] [PATCH 11/16] glibc: " Thomas Petazzoni
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 24+ messages in thread
From: Thomas Petazzoni @ 2013-12-05 17:20 UTC (permalink / raw)
  To: buildroot

From: Spenser Gilliland <spenser@gillilanding.com>

Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/gcc/Config.in.host | 23 +++++++++++++++--------
 package/gcc/gcc.mk         |  3 +++
 2 files changed, 18 insertions(+), 8 deletions(-)

diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
index 2f04457..186ba80 100644
--- a/package/gcc/Config.in.host
+++ b/package/gcc/Config.in.host
@@ -8,6 +8,7 @@ choice
 	default BR2_GCC_VERSION_4_4_X if BR2_sparc_sparchfleon || BR2_sparc_sparchfleonv8 || BR2_sparc_sparcsfleon || BR2_sparc_sparcsfleonv8
 	default BR2_GCC_VERSION_4_2_2_AVR32_2_1_5 if BR2_avr32
 	default BR2_GCC_VERSION_4_8_ARC if BR2_arc
+	default BR2_GCC_VERSION_4_9_MICROBLAZE if BR2_microblaze
 	default BR2_GCC_VERSION_4_5_X if BR2_bfin
 	default BR2_GCC_VERSION_4_7_X
 	help
@@ -18,12 +19,12 @@ choice
 		bool "gcc 4.2.2-avr32-2.1.5"
 
 	config BR2_GCC_VERSION_4_3_X
-		depends on !BR2_arc && !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 && !BR2_cortex_a5 && !BR2_cortex_a7 && !BR2_cortex_a8 && !BR2_cortex_a9 && !BR2_cortex_a15 && !BR2_x86_atom && !BR2_powerpc_e300c2 && !BR2_powerpc_e300c3 && !BR2_powerpc_e500mc && !BR2_powerpc_464 && !BR2_powerpc_464fp && !BR2_powerpc_476 && !BR2_powerpc_476fp && !BR2_fa526 && !BR2_pj4
+		depends on !BR2_microblaze && !BR2_arc && !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 && !BR2_cortex_a5 && !BR2_cortex_a7 && !BR2_cortex_a8 && !BR2_cortex_a9 && !BR2_cortex_a15 && !BR2_x86_atom && !BR2_powerpc_e300c2 && !BR2_powerpc_e300c3 && !BR2_powerpc_e500mc && !BR2_powerpc_464 && !BR2_powerpc_464fp && !BR2_powerpc_476 && !BR2_powerpc_476fp && !BR2_fa526 && !BR2_pj4
 		depends on !BR2_ARM_EABIHF
 		bool "gcc 4.3.x"
 
 	config BR2_GCC_VERSION_4_4_X
-		depends on !BR2_arc && !BR2_avr32 && !BR2_cortex_a5 && !BR2_cortex_a7 && !BR2_cortex_a15 && !BR2_x86_atom && !BR2_powerpc_476 && !BR2_powerpc_476fp && !BR2_fa526 && !BR2_pj4
+		depends on !BR2_microblaze && !BR2_arc && !BR2_avr32 && !BR2_cortex_a5 && !BR2_cortex_a7 && !BR2_cortex_a15 && !BR2_x86_atom && !BR2_powerpc_476 && !BR2_powerpc_476fp && !BR2_fa526 && !BR2_pj4
 		bool "gcc 4.4.x"
 		# ARM EABIhf support appeared in gcc 4.6
 		depends on !BR2_ARM_EABIHF
@@ -31,24 +32,24 @@ choice
 		depends on !BR2_ARM_FPU_VFPV4 && !BR2_ARM_FPU_VFPV4D16
 
 	config BR2_GCC_VERSION_4_5_X
-		depends on !BR2_arc && !BR2_avr32 && !BR2_cortex_a7 && !BR2_cortex_a15 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 && !BR2_fa526 && !BR2_pj4
+		depends on !BR2_microblaze && !BR2_arc && !BR2_avr32 && !BR2_cortex_a7 && !BR2_cortex_a15 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 && !BR2_fa526 && !BR2_pj4
 		select BR2_GCC_NEEDS_MPC
 		# ARM EABIhf support appeared in gcc 4.6
 		depends on !BR2_ARM_EABIHF
 		bool "gcc 4.5.x"
 
 	config BR2_GCC_VERSION_4_6_X
-		depends on !BR2_arc && !BR2_avr32 && !BR2_bfin && !BR2_cortex_a7 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 && !BR2_pj4
+		depends on !BR2_microblaze && !BR2_arc && !BR2_avr32 && !BR2_bfin && !BR2_cortex_a7 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 && !BR2_pj4
 		select BR2_GCC_NEEDS_MPC
 		bool "gcc 4.6.x"
 
 	config BR2_GCC_VERSION_4_7_X
-		depends on !BR2_arc && !BR2_avr32 && !BR2_bfin && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 && !BR2_pj4
+		depends on !BR2_microblaze && !BR2_arc && !BR2_avr32 && !BR2_bfin && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 && !BR2_pj4
 		select BR2_GCC_NEEDS_MPC
 		bool "gcc 4.7.x"
 
 	config BR2_GCC_VERSION_4_8_X
-		depends on !BR2_arc && !BR2_avr32 && !BR2_bfin && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
+		depends on !BR2_microblaze && !BR2_arc && !BR2_avr32 && !BR2_bfin && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
 		select BR2_GCC_NEEDS_MPC
 		bool "gcc 4.8.x"
 
@@ -57,8 +58,13 @@ choice
 		select BR2_GCC_NEEDS_MPC
 		bool "gcc 4.8-arc"
 
+	config BR2_GCC_VERSION_4_9_MICROBLAZE
+		depends on BR2_microblaze
+		select BR2_GCC_NEEDS_MPC
+		bool "gcc 4.9-microblaze"
+
 	config BR2_GCC_VERSION_SNAP
-		depends on !BR2_arc && !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
+		depends on !BR2_microblaze && !BR2_arc && !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
 		select BR2_GCC_NEEDS_MPC
 		bool "gcc snapshot"
 endchoice
@@ -91,6 +97,7 @@ config BR2_GCC_VERSION
 	default "4.7.3"     if BR2_GCC_VERSION_4_7_X
 	default "4.8.2"     if BR2_GCC_VERSION_4_8_X
 	default "7466697995233cc3aab5b9427bf843e3c7fabd80" if BR2_GCC_VERSION_4_8_ARC
+	default "b93bb009e021aba64dd4b8cdb0bbc5a176c55543" if BR2_GCC_VERSION_4_9_MICROBLAZE
 	default BR2_GCC_SNAP_DATE if BR2_GCC_VERSION_SNAP
 
 config BR2_EXTRA_GCC_CONFIG_OPTIONS
@@ -143,7 +150,7 @@ config BR2_GCC_ENABLE_TLS
 
 config BR2_GCC_ENABLE_OPENMP
 	bool "Enable compiler OpenMP support"
-	depends on !BR2_PTHREADS_NONE && !BR2_avr32 && !BR2_arc
+	depends on !BR2_PTHREADS_NONE && !BR2_avr32 && !BR2_arc && !BR2_microblaze
 	help
 	  Enable OpenMP support for the compiler
 
diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk
index e8f5ee1..236297d 100644
--- a/package/gcc/gcc.mk
+++ b/package/gcc/gcc.mk
@@ -22,6 +22,9 @@ GCC_SITE = ftp://www.at91.com/pub/buildroot/
 else ifeq ($(BR2_arc),y)
 GCC_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,gcc,$(GCC_VERSION))
 GCC_SOURCE = gcc-$(GCC_VERSION).tar.gz
+else ifeq ($(BR2_microblaze),y)
+GCC_SITE = $(call github,Xilinx,gcc,$(GCC_VERSION))
+GCC_SOURCE = gcc-$(GCC_VERSION).tar.gz
 else
 GCC_SITE = $(BR2_GNU_MIRROR:/=)/gcc/gcc-$(GCC_VERSION)
 endif
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [Buildroot] [PATCH 11/16] glibc: add microblaze internal toolchain
  2013-12-05 17:20 [Buildroot] [PULL REQUEST 00/16] ARC and Microblaze toolchain updates Thomas Petazzoni
                   ` (9 preceding siblings ...)
  2013-12-05 17:20 ` [Buildroot] [PATCH 10/16] gcc: " Thomas Petazzoni
@ 2013-12-05 17:20 ` Thomas Petazzoni
  2013-12-05 17:20 ` [Buildroot] [PATCH 12/16] gdb: " Thomas Petazzoni
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 24+ messages in thread
From: Thomas Petazzoni @ 2013-12-05 17:20 UTC (permalink / raw)
  To: buildroot

From: Spenser Gilliland <spenser@gillilanding.com>

Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/glibc/glibc.mk | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk
index eb29143..96de02a 100644
--- a/package/glibc/glibc.mk
+++ b/package/glibc/glibc.mk
@@ -4,6 +4,17 @@
 #
 ################################################################################
 
+ifeq ($(BR2_microblaze),y)
+ifeq ($(BR2_TOOLCHAIN_BUILDROOT_EGLIBC),y)
+GLIBC_VERSION = 7f0bcce417c47aefad06ddfec7cd4ced3a4e10ff
+GLIBC_SITE = $(call github,Xilinx,eglibc,$(GLIBC_VERSION))
+GLIBC_SRC_SUBDIR = .
+else
+GLIBC_VERSION = b86835ca92a1942ed08d8b5ee47498e711feaddb
+GLIBC_SITE = $(call github,Xilinx,glibc,$(GLIBC_VERSION))
+GLIBC_SRC_SUBDIR = .
+endif
+else
 ifeq ($(BR2_TOOLCHAIN_BUILDROOT_EGLIBC),y)
 GLIBC_VERSION = 2.18-svnr23787
 GLIBC_SITE = http://downloads.yoctoproject.org/releases/eglibc/
@@ -15,6 +26,7 @@ GLIBC_SITE = $(BR2_GNU_MIRROR)/libc
 GLIBC_SOURCE = glibc-$(GLIBC_VERSION).tar.xz
 GLIBC_SRC_SUBDIR = .
 endif
+endif
 
 GLIBC_LICENSE = GPLv2+ (programs), LGPLv2.1+, BSD-3c, MIT (library)
 GLIBC_LICENSE_FILES = $(addprefix $(GLIBC_SRC_SUBDIR)/,COPYING COPYING.LIB LICENSES)
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [Buildroot] [PATCH 12/16] gdb: add microblaze internal toolchain
  2013-12-05 17:20 [Buildroot] [PULL REQUEST 00/16] ARC and Microblaze toolchain updates Thomas Petazzoni
                   ` (10 preceding siblings ...)
  2013-12-05 17:20 ` [Buildroot] [PATCH 11/16] glibc: " Thomas Petazzoni
@ 2013-12-05 17:20 ` Thomas Petazzoni
  2013-12-05 17:20 ` [Buildroot] [PATCH 13/16] toolchain: enable microblaze toolchain Thomas Petazzoni
                   ` (4 subsequent siblings)
  16 siblings, 0 replies; 24+ messages in thread
From: Thomas Petazzoni @ 2013-12-05 17:20 UTC (permalink / raw)
  To: buildroot

From: Spenser Gilliland <spenser@gillilanding.com>

Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/gdb/Config.in.host | 2 ++
 package/gdb/gdb.mk         | 5 +++++
 2 files changed, 7 insertions(+)

diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host
index 074aa57..de0e0be 100644
--- a/package/gdb/Config.in.host
+++ b/package/gdb/Config.in.host
@@ -16,6 +16,7 @@ if BR2_PACKAGE_HOST_GDB
 choice
 	prompt "GDB debugger Version"
 	depends on !BR2_arc
+	depends on !BR2_microblaze
 	default BR2_GDB_VERSION_6_6 if BR2_bfin
 	default BR2_GDB_VERSION_6_7_1_AVR32_2_1_5 if BR2_avr32
 	default BR2_GDB_VERSION_7_5
@@ -59,5 +60,6 @@ config BR2_GDB_VERSION
 	default "7.4.1"    if BR2_GDB_VERSION_7_4
 	default "7.5.1"    if BR2_GDB_VERSION_7_5
 	default "f25a1952afd054205f9471e449c1f7ca5b271b7c" if BR2_arc
+	default "6be65fb56ea6694a9260733a536a023a1e2d4d57" if BR2_microblaze
 
 endif
diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
index e6b1115..fbe1641 100644
--- a/package/gdb/gdb.mk
+++ b/package/gdb/gdb.mk
@@ -26,6 +26,11 @@ GDB_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,gdb,$(GDB_VERSION)
 GDB_SOURCE = gdb-$(GDB_VERSION).tar.gz
 endif
 
+ifeq ($(BR2_microblaze),y)
+GDB_SITE = $(call github,Xilinx,gdb,$(GDB_VERSION))
+GDB_SOURCE = gdb-$(GDB_VERSION).tar.gz
+endif
+
 ifeq ($(GDB_VERSION),6.7.1-avr32-2.1.5)
 GDB_SITE = ftp://www.at91.com/pub/buildroot/
 endif
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [Buildroot] [PATCH 13/16] toolchain: enable microblaze toolchain
  2013-12-05 17:20 [Buildroot] [PULL REQUEST 00/16] ARC and Microblaze toolchain updates Thomas Petazzoni
                   ` (11 preceding siblings ...)
  2013-12-05 17:20 ` [Buildroot] [PATCH 12/16] gdb: " Thomas Petazzoni
@ 2013-12-05 17:20 ` Thomas Petazzoni
  2013-12-05 17:20 ` [Buildroot] [PATCH 14/16] defconfigs: update microblaze defconfigs to use new toolchain Thomas Petazzoni
                   ` (3 subsequent siblings)
  16 siblings, 0 replies; 24+ messages in thread
From: Thomas Petazzoni @ 2013-12-05 17:20 UTC (permalink / raw)
  To: buildroot

From: Spenser Gilliland <spenser@gillilanding.com>

This commit allows to build an internal toolchain for the Microblaze
architecture, with either glibc or eglibc.

Note that we add an explicit list of architectures that are supported
by uClibc, and Microblaze is not part of them, because it currently
doesn't build for this architecture.

[Thomas: add better commit log, add architecture dependencies on
uClibc, to avoid selecting uClibc on Microblaze]

Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 toolchain/Config.in                     | 2 +-
 toolchain/toolchain-buildroot/Config.in | 9 +++++++--
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/toolchain/Config.in b/toolchain/Config.in
index 3980d79..bbfd367 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -35,7 +35,7 @@ choice
 
 config BR2_TOOLCHAIN_BUILDROOT
 	bool "Buildroot toolchain"
-	depends on !BR2_microblaze && !BR2_aarch64 && !BR2_nios2
+	depends on !BR2_aarch64 && !BR2_nios2
 	select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
 
 config BR2_TOOLCHAIN_EXTERNAL
diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in
index 94df0ff..cd88889 100644
--- a/toolchain/toolchain-buildroot/Config.in
+++ b/toolchain/toolchain-buildroot/Config.in
@@ -10,6 +10,11 @@ choice
 config BR2_TOOLCHAIN_BUILDROOT_UCLIBC
 	bool "uClibc"
 	select BR2_TOOLCHAIN_USES_UCLIBC
+	depends on BR2_arcle   || BR2_arceb  || BR2_arm    || BR2_armeb    || \
+		   BR2_avr32   || BR2_bfin   || BR2_i386   || BR2_m68k     || \
+		   BR2_mips    || BR2_mipsel || BR2_mips64 || BR2_mips64el || \
+		   BR2_powerpc || BR2_sh     || BR2_sparc  || BR2_xtensa   || \
+		   BR2_x86_64
 	help
 	  This option selects uClibc as the C library for the
 	  cross-compilation toolchain.
@@ -22,7 +27,7 @@ config BR2_TOOLCHAIN_BUILDROOT_EGLIBC
 		   BR2_i386   || BR2_mips     || BR2_mipsel  || \
 		   BR2_mips64 || BR2_mips64el || BR2_powerpc || \
 		   BR2_sh     || BR2_sh64     || BR2_sparc   || \
-		   BR2_x86_64
+		   BR2_x86_64 || BR2_microblaze
 	depends on BR2_USE_MMU
 	depends on !BR2_PREFER_STATIC_LIB
 	select BR2_TOOLCHAIN_USES_GLIBC
@@ -40,7 +45,7 @@ config BR2_TOOLCHAIN_BUILDROOT_GLIBC
 		   BR2_i386   || BR2_mips     || BR2_mipsel  || \
 		   BR2_mips64 || BR2_mips64el || BR2_powerpc || \
 		   BR2_sh     || BR2_sh64     || BR2_sparc   || \
-		   BR2_x86_64
+		   BR2_x86_64 || BR2_microblaze
 	select BR2_TOOLCHAIN_USES_GLIBC
 	depends on !BR2_PREFER_STATIC_LIB
 	# our glibc.mk enables RPC support
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [Buildroot] [PATCH 14/16] defconfigs: update microblaze defconfigs to use new toolchain
  2013-12-05 17:20 [Buildroot] [PULL REQUEST 00/16] ARC and Microblaze toolchain updates Thomas Petazzoni
                   ` (12 preceding siblings ...)
  2013-12-05 17:20 ` [Buildroot] [PATCH 13/16] toolchain: enable microblaze toolchain Thomas Petazzoni
@ 2013-12-05 17:20 ` Thomas Petazzoni
  2013-12-05 17:20 ` [Buildroot] [PATCH 15/16] binutils: add missing dependencies for Git versions Thomas Petazzoni
                   ` (2 subsequent siblings)
  16 siblings, 0 replies; 24+ messages in thread
From: Thomas Petazzoni @ 2013-12-05 17:20 UTC (permalink / raw)
  To: buildroot

From: Spenser Gilliland <spenser@gillilanding.com>

Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 configs/qemu_microblazebe_mmu_defconfig | 7 -------
 configs/qemu_microblazeel_mmu_defconfig | 7 -------
 2 files changed, 14 deletions(-)

diff --git a/configs/qemu_microblazebe_mmu_defconfig b/configs/qemu_microblazebe_mmu_defconfig
index c090143..f22243f 100644
--- a/configs/qemu_microblazebe_mmu_defconfig
+++ b/configs/qemu_microblazebe_mmu_defconfig
@@ -2,13 +2,6 @@
 BR2_microblaze=y
 BR2_microblazebe=y
 
-# Special toolchain
-BR2_TOOLCHAIN_EXTERNAL=y
-BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2=y
-BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
-BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y
-BR2_TOOLCHAIN_EXTERNAL_CXX=y
-
 # System
 BR2_TARGET_GENERIC_GETTY_PORT="ttyUL0"
 
diff --git a/configs/qemu_microblazeel_mmu_defconfig b/configs/qemu_microblazeel_mmu_defconfig
index 7538d3f..3d6daa2 100644
--- a/configs/qemu_microblazeel_mmu_defconfig
+++ b/configs/qemu_microblazeel_mmu_defconfig
@@ -2,13 +2,6 @@
 BR2_microblaze=y
 BR2_microblazeel=y
 
-# Toolchain
-BR2_TOOLCHAIN_EXTERNAL=y
-BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2=y
-BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
-BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y
-BR2_TOOLCHAIN_EXTERNAL_CXX=y
-
 # System
 BR2_TARGET_GENERIC_GETTY_PORT="ttyUL0"
 
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [Buildroot] [PATCH 15/16] binutils: add missing dependencies for Git versions
  2013-12-05 17:20 [Buildroot] [PULL REQUEST 00/16] ARC and Microblaze toolchain updates Thomas Petazzoni
                   ` (13 preceding siblings ...)
  2013-12-05 17:20 ` [Buildroot] [PATCH 14/16] defconfigs: update microblaze defconfigs to use new toolchain Thomas Petazzoni
@ 2013-12-05 17:20 ` Thomas Petazzoni
  2013-12-05 17:20 ` [Buildroot] [PATCH 16/16] gdb: add host-texinfo dependency " Thomas Petazzoni
  2013-12-06 21:50 ` [Buildroot] [PULL REQUEST 00/16] ARC and Microblaze toolchain updates Peter Korsgaard
  16 siblings, 0 replies; 24+ messages in thread
From: Thomas Petazzoni @ 2013-12-05 17:20 UTC (permalink / raw)
  To: buildroot

When the binutils source code is pulled from a Git repository, a
number of generated files are not present, and need to be
re-generated. Those files are generated by flex, bison, and texinfo,
so we need to pull the corresponding dependencies.

Notice that we tried avoiding the texinfo dependency by doing a number
of MAKEINFO tricks, but none of them worked properly, so we've instead
chosen to depend on host-texinfo.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/binutils/binutils.mk | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/package/binutils/binutils.mk b/package/binutils/binutils.mk
index 13854b0..d6828f5 100644
--- a/package/binutils/binutils.mk
+++ b/package/binutils/binutils.mk
@@ -26,19 +26,27 @@ endif
 ifeq ($(BR2_arc),y)
 BINUTILS_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,binutils,$(BINUTILS_VERSION))
 BINUTILS_SOURCE = binutils-$(BINUTILS_VERSION).tar.gz
+BINUTILS_FROM_GIT = y
 endif
 ifeq ($(BR2_microblaze),y)
 BINUTILS_SITE = $(call github,Xilinx,binutils,$(BINUTILS_VERSION))
 BINUTILS_SOURCE = binutils-$(BINUTILS_VERSION).tar.gz
+BINUTILS_FROM_GIT = y
 endif
 BINUTILS_SITE ?= $(BR2_GNU_MIRROR)/binutils
 BINUTILS_SOURCE ?= binutils-$(BINUTILS_VERSION).tar.bz2
 BINUTILS_EXTRA_CONFIG_OPTIONS = $(call qstrip,$(BR2_BINUTILS_EXTRA_CONFIG_OPTIONS))
 BINUTILS_INSTALL_STAGING = YES
 BINUTILS_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
+HOST_BINUTILS_DEPENDENCIES =
 BINUTILS_LICENSE = GPLv3+, libiberty LGPLv2.1+
 BINUTILS_LICENSE_FILES = COPYING3 COPYING.LIB
 
+ifeq ($(BINUTILS_FROM_GIT),y)
+BINUTILS_DEPENDENCIES += host-texinfo host-flex host-bison
+HOST_BINUTILS_DEPENDENCIES += host-texinfo host-flex host-bison
+endif
+
 # We need to specify host & target to avoid breaking ARM EABI
 BINUTILS_CONF_OPT = --disable-multilib --disable-werror \
 		--host=$(GNU_TARGET_NAME) \
@@ -58,8 +66,6 @@ HOST_BINUTILS_CONF_OPT = --disable-multilib --disable-werror \
 			--with-sysroot=$(STAGING_DIR) \
 			$(BINUTILS_EXTRA_CONFIG_OPTIONS)
 
-HOST_BINUTILS_DEPENDENCIES =
-
 # We just want libbfd and libiberty, not the full-blown binutils in staging
 define BINUTILS_INSTALL_STAGING_CMDS
 	$(MAKE) -C $(@D)/bfd DESTDIR=$(STAGING_DIR) install
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [Buildroot] [PATCH 16/16] gdb: add host-texinfo dependency for Git versions
  2013-12-05 17:20 [Buildroot] [PULL REQUEST 00/16] ARC and Microblaze toolchain updates Thomas Petazzoni
                   ` (14 preceding siblings ...)
  2013-12-05 17:20 ` [Buildroot] [PATCH 15/16] binutils: add missing dependencies for Git versions Thomas Petazzoni
@ 2013-12-05 17:20 ` Thomas Petazzoni
  2013-12-06 21:50 ` [Buildroot] [PULL REQUEST 00/16] ARC and Microblaze toolchain updates Peter Korsgaard
  16 siblings, 0 replies; 24+ messages in thread
From: Thomas Petazzoni @ 2013-12-05 17:20 UTC (permalink / raw)
  To: buildroot

Just like for binutils, gdb versions pulled from Git want to
regenerate their documentation, and none of the MAKEINFO tricks we've
tried worked properly, so we're simply adding host-texinfo as a
dependency.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/gdb/gdb.mk | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
index fbe1641..d06b61b 100644
--- a/package/gdb/gdb.mk
+++ b/package/gdb/gdb.mk
@@ -24,11 +24,13 @@ endif
 ifeq ($(BR2_arc),y)
 GDB_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,gdb,$(GDB_VERSION))
 GDB_SOURCE = gdb-$(GDB_VERSION).tar.gz
+GDB_FROM_GIT = y
 endif
 
 ifeq ($(BR2_microblaze),y)
 GDB_SITE = $(call github,Xilinx,gdb,$(GDB_VERSION))
 GDB_SOURCE = gdb-$(GDB_VERSION).tar.gz
+GDB_FROM_GIT = y
 endif
 
 ifeq ($(GDB_VERSION),6.7.1-avr32-2.1.5)
@@ -126,6 +128,10 @@ HOST_GDB_CONF_OPT = \
 	--without-included-gettext \
 	--disable-sim
 
+ifeq ($(GDB_FROM_GIT),y)
+HOST_GDB_DEPENDENCIES += host-texinfo
+endif
+
 # legacy $arch-linux-gdb symlink
 define HOST_GDB_ADD_SYMLINK
 	cd $(HOST_DIR)/usr/bin && \
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [Buildroot] [PATCH 03/16] packages: convert Github http:// users to the github helper
  2013-12-05 17:20 ` [Buildroot] [PATCH 03/16] packages: convert Github http:// users to the github helper Thomas Petazzoni
@ 2013-12-05 19:14   ` Thomas De Schampheleire
  2013-12-05 19:19     ` Thomas Petazzoni
  2013-12-06 10:01   ` Thomas De Schampheleire
  1 sibling, 1 reply; 24+ messages in thread
From: Thomas De Schampheleire @ 2013-12-05 19:14 UTC (permalink / raw)
  To: buildroot

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote:
>From: Mischa Jonker <Mischa.Jonker@synopsys.com>
>
>[Thomas: taken from Mischa original github patch.]
>
>Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
>Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
>---
> package/a10disp/a10disp.mk                       | 2 +-
> package/civetweb/civetweb.mk                     | 2 +-
> package/cpuload/cpuload.mk                       | 2 +-
> package/fb-test-app/fb-test-app.mk               | 2 +-
> package/input-event-daemon/input-event-daemon.mk | 2 +-
> package/jsmin/jsmin.mk                           | 2 +-
> package/knock/knock.mk                           | 2 +-
> package/libcec/libcec.mk                         | 2 +-
> package/libcofi/libcofi.mk                       | 2 +-
> package/libiqrf/libiqrf.mk                       | 2 +-
> package/liblog4c-localtime/liblog4c-localtime.mk | 2 +-
> package/libsha1/libsha1.mk                       | 2 +-
> package/libsoc/libsoc.mk                         | 2 +-
> package/libtpl/libtpl.mk                         | 2 +-
> package/linenoise/linenoise.mk                   | 2 +-
> package/lua-ev/lua-ev.mk                         | 2 +-
> package/luacrypto/luacrypto.mk                   | 2 +-
> package/luaexpatutils/luaexpatutils.mk           | 2 +-
> package/luasql/luasql.mk                         | 2 +-
> package/mongrel2/mongrel2.mk                     | 2 +-
> package/mtdev2tuio/mtdev2tuio.mk                 | 2 +-
> package/neardal/neardal.mk                       | 2 +-
> package/omap-u-boot-utils/omap-u-boot-utils.mk   | 2 +-
> package/on2-8170-modules/on2-8170-modules.mk     | 2 +-
> package/python-ipy/python-ipy.mk                 | 2 +-
> package/qjson/qjson.mk                           | 2 +-
> package/rpi-firmware/rpi-firmware.mk             | 2 +-
> package/rpi-userland/rpi-userland.mk             | 2 +-
> package/socketcand/socketcand.mk                 | 2 +-
> package/sqlcipher/sqlcipher.mk                   | 2 +-
> package/sunxi-boards/sunxi-boards.mk             | 2 +-
> package/sunxi-cedarx/sunxi-cedarx.mk             | 2 +-
> package/sunxi-mali-prop/sunxi-mali-prop.mk       | 2 +-
> package/sunxi-mali/sunxi-mali.mk                 | 2 +-
> package/sunxi-tools/sunxi-tools.mk               | 2 +-
> package/tinymembench/tinymembench.mk             | 2 +-
> package/tslib/tslib.mk                           | 2 +-
> package/xl2tp/xl2tp.mk                           | 2 +-
> package/yajl/yajl.mk                             | 2 +-
> 39 files changed, 39 insertions(+), 39 deletions(-)

Thomas, did you see my comments on Mischa's v3 earlier today?
 Do you plan to make these changes, do you expect Mischa or someone else to do them? 
Do you consider it more to be a follow-up patch?

Best regards,
Thomas

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [Buildroot] [PATCH 03/16] packages: convert Github http:// users to the github helper
  2013-12-05 19:14   ` Thomas De Schampheleire
@ 2013-12-05 19:19     ` Thomas Petazzoni
  2013-12-05 20:44       ` Thomas De Schampheleire
  0 siblings, 1 reply; 24+ messages in thread
From: Thomas Petazzoni @ 2013-12-05 19:19 UTC (permalink / raw)
  To: buildroot

Dear Thomas De Schampheleire,

On Thu, 05 Dec 2013 20:14:56 +0100, Thomas De Schampheleire wrote:

> Thomas, did you see my comments on Mischa's v3 earlier today?

Hu, did you really read this new patch series? I've split the patch into
3 patches as you requested, and I've moved the macro to
pkg-download.mk, as you requested.

>  Do you plan to make these changes, do you expect Mischa or someone else to do them? 

See above.

> Do you consider it more to be a follow-up patch?

See the cover letter for the patch series:

"""
According to Thomas DS comment, I've split Mischa's patch adding the
github helper into three patches: one adding the helper, one adding
the documentation, one converting a bunch of packages to the new
helper. Note that not all packages are converted, but this can be done
through followup commits: we really want this ARC and Microblaze stuff
to get merged now.
"""

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [Buildroot] [PATCH 03/16] packages: convert Github http:// users to the github helper
  2013-12-05 19:19     ` Thomas Petazzoni
@ 2013-12-05 20:44       ` Thomas De Schampheleire
  0 siblings, 0 replies; 24+ messages in thread
From: Thomas De Schampheleire @ 2013-12-05 20:44 UTC (permalink / raw)
  To: buildroot

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote:
>Dear Thomas De Schampheleire,
>
>On Thu, 05 Dec 2013 20:14:56 +0100, Thomas De Schampheleire wrote:
>
>> Thomas, did you see my comments on Mischa's v3 earlier today?
>
>Hu, did you really read this new patch series? I've split the patch into
>3 patches as you requested, and I've moved the macro to
>pkg-download.mk, as you requested.
>
>>  Do you plan to make these changes, do you expect Mischa or someone else to do them? 
>
>See above.
>
>> Do you consider it more to be a follow-up patch?
>
>See the cover letter for the patch series:
>
>"""
>According to Thomas DS comment, I've split Mischa's patch adding the
>github helper into three patches: one adding the helper, one adding
>the documentation, one converting a bunch of packages to the new
>helper. Note that not all packages are converted, but this can be done
>through followup commits: we really want this ARC and Microblaze stuff
>to get merged now.
>"""

Hmm, for some reason I did not have the cover letter in
my k9 client, surely there's a glitch in it. 
I did see the rest of the series though, and the fact that
you split up the patch. I should have been more clear
that I was mostly missing some patches to be converted. 
But that is now clarified in the comment above.
I'll provide acks tomorrow...

Best regards,
Thomas

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [Buildroot] [PATCH 01/16] infra: introduce github helper function
  2013-12-05 17:20 ` [Buildroot] [PATCH 01/16] infra: introduce github helper function Thomas Petazzoni
@ 2013-12-06  8:05   ` Thomas De Schampheleire
  0 siblings, 0 replies; 24+ messages in thread
From: Thomas De Schampheleire @ 2013-12-06  8:05 UTC (permalink / raw)
  To: buildroot

On Thu, Dec 5, 2013 at 6:20 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> From: Mischa Jonker <Mischa.Jonker@synopsys.com>
>
> In order to make it easier to cope with changes in github download-URL's,
> this patch introduces the github helper function. It generates the site
> URL of a github repository. It's usage is $(call github,user,pkg,version).
>
> [Thomas: extracted from Mischa original commit, macro moved to
> pkg-download.mk]
>
> Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
>  package/pkg-download.mk | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/package/pkg-download.mk b/package/pkg-download.mk
> index 8e4a1ec..758b211 100644
> --- a/package/pkg-download.mk
> +++ b/package/pkg-download.mk
> @@ -55,6 +55,9 @@ notdomain=$(patsubst $(call domain,$(1),$(2))$(call domainseparator,$(2))%,%,$(c
>  # default domainseparator is /, specify alternative value as first argument
>  domainseparator=$(if $(1),$(1),/)
>
> +# github(user,package,version): returns site of github repository
> +github = https://github.com/$(1)/$(2)/tarball/$(3)
> +
>  ################################################################################
>  # The DOWNLOAD_* helpers are in charge of getting a working copy
>  # of the source repository for their corresponding SCM,

Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [Buildroot] [PATCH 02/16] docs: document the new github helper function
  2013-12-05 17:20 ` [Buildroot] [PATCH 02/16] docs: document the new " Thomas Petazzoni
@ 2013-12-06  8:07   ` Thomas De Schampheleire
  0 siblings, 0 replies; 24+ messages in thread
From: Thomas De Schampheleire @ 2013-12-06  8:07 UTC (permalink / raw)
  To: buildroot

On Thu, Dec 5, 2013 at 6:20 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> From: Mischa Jonker <Mischa.Jonker@synopsys.com>
>
> [Thomas: splitted from Mischa original commit]
>
> Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
>  docs/manual/adding-packages-generic.txt | 5 +++--
>  docs/manual/adding-packages-tips.txt    | 5 +++--
>  2 files changed, 6 insertions(+), 4 deletions(-)
>
> diff --git a/docs/manual/adding-packages-generic.txt b/docs/manual/adding-packages-generic.txt
> index fb7a9e5..d82ab61 100644
> --- a/docs/manual/adding-packages-generic.txt
> +++ b/docs/manual/adding-packages-generic.txt
> @@ -230,7 +230,9 @@ information is (assuming the package name is +libfoo+) :
>    URL or a local filesystem path. HTTP, FTP and SCP are supported URL
>    types for retrieving package tarballs. Git, Subversion, Mercurial,
>    and Bazaar are supported URL types for retrieving packages directly
> -  from source code management systems. A filesystem path may be used
> +  from source code management systems. There is a helper function to make
> +  it easier to download source tarballs from github (refer to
> +  xref:github-download-url[] for details). A filesystem path may be used
>    to specify either a tarball or a directory containing the package
>    source code. See +LIBFOO_SITE_METHOD+ below for more details on how
>    retrieval works. +
> @@ -244,7 +246,6 @@ information is (assuming the package name is +libfoo+) :
>    Examples: +
>      +LIBFOO_SITE=http://www.libfoosoftware.org/libfoo+ +
>      +LIBFOO_SITE=http://svn.xiph.org/trunk/Tremor/+ +
> -    +LIBFOO_SITE=git://github.com/kergoth/tslib.git+ +
>      +LIBFOO_SITE=/opt/software/libfoo.tar.gz+ +
>      +LIBFOO_SITE=$(TOPDIR)/../src/libfoo/+
>
> diff --git a/docs/manual/adding-packages-tips.txt b/docs/manual/adding-packages-tips.txt
> index 00244fe..73c25be 100644
> --- a/docs/manual/adding-packages-tips.txt
> +++ b/docs/manual/adding-packages-tips.txt
> @@ -41,11 +41,12 @@ How to add a package from github
>
>  Packages on github often don't have a download area with release tarballs.
>  However, it is possible to download tarballs directly from the repository
> -on github.
> +on github. As github is known to have changed download mechanisms in the
> +past, the 'github' helper function should be used as shown below.
>
>  ------------------------
>  FOO_VERSION = v1.0 # tag or full commit ID
> -FOO_SITE = http://github.com/<user>/<package>/tarball/$(FOO_VERSION)
> +FOO_SITE = $(call github,<user>,<package>,$(FOO_VERSION))
>  ------------------------
>
>  .Notes

Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [Buildroot] [PATCH 03/16] packages: convert Github http:// users to the github helper
  2013-12-05 17:20 ` [Buildroot] [PATCH 03/16] packages: convert Github http:// users to the github helper Thomas Petazzoni
  2013-12-05 19:14   ` Thomas De Schampheleire
@ 2013-12-06 10:01   ` Thomas De Schampheleire
  1 sibling, 0 replies; 24+ messages in thread
From: Thomas De Schampheleire @ 2013-12-06 10:01 UTC (permalink / raw)
  To: buildroot

On Thu, Dec 5, 2013 at 6:20 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> From: Mischa Jonker <Mischa.Jonker@synopsys.com>
>
> [Thomas: taken from Mischa original github patch.]
>
> Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
>  package/a10disp/a10disp.mk                       | 2 +-
>  package/civetweb/civetweb.mk                     | 2 +-
>  package/cpuload/cpuload.mk                       | 2 +-
>  package/fb-test-app/fb-test-app.mk               | 2 +-
>  package/input-event-daemon/input-event-daemon.mk | 2 +-
>  package/jsmin/jsmin.mk                           | 2 +-
>  package/knock/knock.mk                           | 2 +-
>  package/libcec/libcec.mk                         | 2 +-
>  package/libcofi/libcofi.mk                       | 2 +-
>  package/libiqrf/libiqrf.mk                       | 2 +-
>  package/liblog4c-localtime/liblog4c-localtime.mk | 2 +-
>  package/libsha1/libsha1.mk                       | 2 +-
>  package/libsoc/libsoc.mk                         | 2 +-
>  package/libtpl/libtpl.mk                         | 2 +-
>  package/linenoise/linenoise.mk                   | 2 +-
>  package/lua-ev/lua-ev.mk                         | 2 +-
>  package/luacrypto/luacrypto.mk                   | 2 +-
>  package/luaexpatutils/luaexpatutils.mk           | 2 +-
>  package/luasql/luasql.mk                         | 2 +-
>  package/mongrel2/mongrel2.mk                     | 2 +-
>  package/mtdev2tuio/mtdev2tuio.mk                 | 2 +-
>  package/neardal/neardal.mk                       | 2 +-
>  package/omap-u-boot-utils/omap-u-boot-utils.mk   | 2 +-
>  package/on2-8170-modules/on2-8170-modules.mk     | 2 +-
>  package/python-ipy/python-ipy.mk                 | 2 +-
>  package/qjson/qjson.mk                           | 2 +-
>  package/rpi-firmware/rpi-firmware.mk             | 2 +-
>  package/rpi-userland/rpi-userland.mk             | 2 +-
>  package/socketcand/socketcand.mk                 | 2 +-
>  package/sqlcipher/sqlcipher.mk                   | 2 +-
>  package/sunxi-boards/sunxi-boards.mk             | 2 +-
>  package/sunxi-cedarx/sunxi-cedarx.mk             | 2 +-
>  package/sunxi-mali-prop/sunxi-mali-prop.mk       | 2 +-
>  package/sunxi-mali/sunxi-mali.mk                 | 2 +-
>  package/sunxi-tools/sunxi-tools.mk               | 2 +-
>  package/tinymembench/tinymembench.mk             | 2 +-
>  package/tslib/tslib.mk                           | 2 +-
>  package/xl2tp/xl2tp.mk                           | 2 +-
>  package/yajl/yajl.mk                             | 2 +-
>  39 files changed, 39 insertions(+), 39 deletions(-)
>

Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
[tested by downloading all touched packages in a clean repo]

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [Buildroot] [PULL REQUEST 00/16] ARC and Microblaze toolchain updates
  2013-12-05 17:20 [Buildroot] [PULL REQUEST 00/16] ARC and Microblaze toolchain updates Thomas Petazzoni
                   ` (15 preceding siblings ...)
  2013-12-05 17:20 ` [Buildroot] [PATCH 16/16] gdb: add host-texinfo dependency " Thomas Petazzoni
@ 2013-12-06 21:50 ` Peter Korsgaard
  16 siblings, 0 replies; 24+ messages in thread
From: Peter Korsgaard @ 2013-12-06 21:50 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Hello Peter,
 > Can you please pull the following patches? They have been around for a
 > while, and I've tested them successfully: the Microblaze LE,
 > Microblaze BE and ARC toolchains. It fixes a big number of build
 > issues on Microblaze especially, like OpenSSL, or Nettle.

 > According to Thomas DS comment, I've split Mischa's patch adding the
 > github helper into three patches: one adding the helper, one adding
 > the documentation, one converting a bunch of packages to the new
 > helper. Note that not all packages are converted, but this can be done
 > through followup commits: we really want this ARC and Microblaze stuff
 > to get merged now.

 > Thanks a lot!

Committed series, thanks all!

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2013-12-06 21:50 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-05 17:20 [Buildroot] [PULL REQUEST 00/16] ARC and Microblaze toolchain updates Thomas Petazzoni
2013-12-05 17:20 ` [Buildroot] [PATCH 01/16] infra: introduce github helper function Thomas Petazzoni
2013-12-06  8:05   ` Thomas De Schampheleire
2013-12-05 17:20 ` [Buildroot] [PATCH 02/16] docs: document the new " Thomas Petazzoni
2013-12-06  8:07   ` Thomas De Schampheleire
2013-12-05 17:20 ` [Buildroot] [PATCH 03/16] packages: convert Github http:// users to the github helper Thomas Petazzoni
2013-12-05 19:14   ` Thomas De Schampheleire
2013-12-05 19:19     ` Thomas Petazzoni
2013-12-05 20:44       ` Thomas De Schampheleire
2013-12-06 10:01   ` Thomas De Schampheleire
2013-12-05 17:20 ` [Buildroot] [PATCH 04/16] gdb: arc: Use git instead of website Thomas Petazzoni
2013-12-05 17:20 ` [Buildroot] [PATCH 05/16] binutils: " Thomas Petazzoni
2013-12-05 17:20 ` [Buildroot] [PATCH 06/16] gcc: arc: Download from github instead of Synopsys website Thomas Petazzoni
2013-12-05 17:20 ` [Buildroot] [PATCH 07/16] uclibc: arc: Use git instead of website Thomas Petazzoni
2013-12-05 17:20 ` [Buildroot] [PATCH 08/16] Revert "arc: Add option for ARC-specific download site" Thomas Petazzoni
2013-12-05 17:20 ` [Buildroot] [PATCH 09/16] binutils: add microblaze internal toolchain Thomas Petazzoni
2013-12-05 17:20 ` [Buildroot] [PATCH 10/16] gcc: " Thomas Petazzoni
2013-12-05 17:20 ` [Buildroot] [PATCH 11/16] glibc: " Thomas Petazzoni
2013-12-05 17:20 ` [Buildroot] [PATCH 12/16] gdb: " Thomas Petazzoni
2013-12-05 17:20 ` [Buildroot] [PATCH 13/16] toolchain: enable microblaze toolchain Thomas Petazzoni
2013-12-05 17:20 ` [Buildroot] [PATCH 14/16] defconfigs: update microblaze defconfigs to use new toolchain Thomas Petazzoni
2013-12-05 17:20 ` [Buildroot] [PATCH 15/16] binutils: add missing dependencies for Git versions Thomas Petazzoni
2013-12-05 17:20 ` [Buildroot] [PATCH 16/16] gdb: add host-texinfo dependency " Thomas Petazzoni
2013-12-06 21:50 ` [Buildroot] [PULL REQUEST 00/16] ARC and Microblaze toolchain updates Peter Korsgaard

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