summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-12-15Rework autotools infrastructure on top of the generic infrastructureThomas Petazzoni
Now that the previous commit implemented a generic package infrastructure, we make the autotools infrastructure inherit from the generic one so that the code is not duplicated. The new AUTOTARGETS macro works by defining what should be done at the configure, build and install steps of a package and then calls the GENTARGETS macro of the generic package infrastructure. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15Define TARGET_MAKE_ENV similarly to HOST_MAKE_ENVThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15Add generic package infrastructureThomas Petazzoni
This new infrastructure allows to write simpler .mk files for packages not using the autotools as their build system, by factorizing many common steps (download, extract, patching), and will more easily allow Buildroot-wide changes in how the packages are handled. The main macro is called GENTARGETS and works similarly to the AUTOTARGETS macro that already exists for autotools-based packages. However, the set of variables to be defined before calling the macro is different. Refer to the documentation for details. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15Merge branch 'avr32-fixes' of git://git.busybox.net/~tpetazzoni/git/buildrootPeter Korsgaard
2009-12-15gcc: do not pass --with-pkgversion to gcc < 4.3Thomas Petazzoni
Commit 09c181f2891276c458de327d241151bab38bde0f added new options passed to gcc configure to set --with-pkgversion and --with-bugurl, to gcc >= gcc 4.3. To check this, it was checking that the GCC_VERSION string does not contain 4.2. Unfortunately, the test is bogus. It does a findstring on x4.2. (with a final dot) but compares the result with x4.2 (without the final dot). The result is that even with 4.2 versions, the test was true, leading --with-pkgversion and --with-bugurl being passed to gcc's configure script. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15update avr32 defconfigs after uclibc avr32 version removalThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15uclibc: get rid of avr32 special version since upstream worksThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15toolchain/uClibc: avr32 patch should apply to 0.9.30.1Peter Korsgaard
avr32 uses 0.9.30.1, not 0.9.30. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-15uclibc: add prctl syscall fix for AVR32 architectureHans-Christian Egtvedt
This patch fixes the prctl syscall for the AVR32 architecture, since this architecture assumes you handle varargs in a proper way, always. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-15toolchain/uClibc: 0.9.30.x config: enable arch specific string routines if ↵Peter Korsgaard
available Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-15Merge branch 'remove-external-toolchain' of ↵Peter Korsgaard
git://git.busybox.net/~tpetazzoni/git/buildroot
2009-12-14remove unused AVR32 specific uClibc configurationThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14update AVR32 defconfigsThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14Update non-AVR32 defconfigsThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14binutils: remove external source patchesThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14uclibc: remove external sources patchesThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14gdb: remove external sources patchesThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14gcc: remove external sources patchesThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14Remove external source toolchain optionsThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14Use BR2_TOOLCHAIN_BUILDROOT instead of BR2_TOOLCHAIN_SOURCEThomas Petazzoni
The BR2_TOOLCHAIN_SOURCE option is removed in a future commit. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14uclibc: remove support for external source toolchainsThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14uclibc: do not allow selection of non-avr32 versions on AVR32Thomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14gdb: do not allow selection of non-avr32 versions on AVR32Thomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14binutils: remove support for external source toolchainsThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14binutils: do not allow selection of non-avr32 versions on AVR32Thomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14gcc: remove GCC_OFFICIAL_VERSION and just use GCC_VERSION insteadThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14gcc: remove support for external source toolchainsThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14gcc: improve configuration for snapshot versionsThomas Petazzoni
Make the selection of a snapshot version a normal gcc version choice, and make sure BR2_GCC_VERSION is properly defined. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14gcc: on avr32, only allow avr32 gcc versionsThomas Petazzoni
Remove references to BR2_EXT_GCC_VERSION_* configuration options, and only allows special avr32 gcc versions on the AVR32 architecture. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14uclibc: add avr32 special versionThomas Petazzoni
* Add a new 0.9.30-avr32-2.1.5 version of uClibc in Config.in * Add a patch for 0.9.20-avr32-2.1.5 * Select a different UCLIBC_SITE for avr32 versions in uclibc.mk * Add the LINKRELAX=y configuration option to the uClibc .config file in uclibc.mk Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14gdb: add avr32 special versonThomas Petazzoni
* Add a new gdb version for AVR32 in Config.in * Use a special mirror for this gdb version in gdb.mk * Do not try to apply patches when the patch directory does not exist in gdb.mk Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14gcc: add 4.2.2-avr32-2.1.5 patchesThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14gcc: add avr32 special versionThomas Petazzoni
* Add new gcc version 4.2.2-avr32-2.1.5 in Config.in * Select the Atmel mirror to download gcc with avr32 in their version name, in gcc-uclibc-*.mk * Do not apply patches if the patch directory is empty, in gcc-uclibc-*.mk Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14binutils: add avr32 special versionThomas Petazzoni
* Add a new binutils version 2.18-avr32-1.0.1 to the Config.in * Use a different site to download avr32 binutils version in binutils.mk * Only apply patches from the patch directory if it exists in binutils.mk Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14remove BR2_KERNEL_HURD from defconfig filesThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14gcc: remove hurd specific detailsThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14kernel-headers: bump 2.6.31.x / 2.6.32.x stable versionsPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-14package/qt: bump versionPeter Korsgaard
I know 4.6.0 is out, but I don't have a setup to test it at the moment, so lets stick with 4.5.x for now. There's apparently no .tar.bz2 of 4.5.3. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-14package/qt: fix download URLPeter Korsgaard
get.qtsoftware.com doesn't seem to work any more. The links on the Qt website now points to get.qt.nokia.com, so use that instead. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-14package/qt: add font selectionPeter Korsgaard
Commit f98547622 (make sure to install all Qt-fonts and true-type-fonts) changed Qt to install all .qpf fonts to the target instead of only a hardcoded subset. Some of those fonts are unfortunately quite big (1-2MB) and are not always needed (japanese, unicode). Instead add a font selection in Kconfig similar to how it is done for pixel depths, and default to the subset we were previously using. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-14qt: tweak gui kconfigPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-14package/mtd-utils: fix git build after gitweb updatePeter Korsgaard
Reported by Daniel Mack <daniel@caiaq.de> The gitweb installation of infradead.org has been updated, and gitweb >= 1.6.6-rc1 adds the first 7 characters of the git SHA1 to the snapshot tarball directory name. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-13Makefile: fix build if CDPATH is set in environmentPeter Korsgaard
Reported by Bjørn Forsman <bjorn.forsman@gmail.com>. If CDPATH is set in the environment, cd <dir> will print the absolute path of <dir>, causing various trouble (The most critical being BASE_DIR ending up as <path> <path> which breaks basically everything). Fix it by clearing CDPATH. Notice that export doesn't affect the environment of $(shell ..) calls, so explicitly throw away any output from cd in the BASE_DIR shell call. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-12busybox: bump 1.15.x stable versionPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-12package: Added libdvdnav package (dependency of gst-plugins-bad)Lionel Landwerlin
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-12Makefile: document configure cache handlingPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-12docs: Clean up punctuation, grammar, usage, and typos.grante
Closes #795. Signed-off-by: Grant Edwards <grant.b.edwards@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-12Makefile: drop config cache on .config changesPeter Korsgaard
The config cache might contain invalid values when .config is changed (E.G. when adding/removing libraries), so drop it so config checks are rerun for new packages (existing package still won't be rebuilt). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-11gcc: native toolchain needs BR2_HAVE_DEVFILESPeter Korsgaard
Native toolchain doesn't make much sense without include / .a files. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-11Added libdvdread package (dependency of gst-plugins-bad)Lionel Landwerlin
[Peter: use official upstream, add url to kconfig, fix AUTORARGETS path] Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>