Commit Graph

362 Commits

Author SHA1 Message Date
Jo-Philipp Wich
fe60046a26 ext-toolchain.sh: CONFIG_NLS -> CONFIG_BUILD_NLS
SVN-Revision: 29782
2012-01-19 00:03:52 +00:00
Jo-Philipp Wich
ee62b0d751 ext-toolchain.sh: fix typo
SVN-Revision: 29781
2012-01-19 00:01:54 +00:00
Jo-Philipp Wich
796231d95c ext-toolchain.sh: add option to write .config Add a new --config option to generate a .config from a given toolchain, this allows for easy integration of external toolchains, e.g.
./scripts/ext-toolchain.sh --toolchain /opt/mips-2011.03 --cflags "-muclibc" --config atheros

to setup a ready-to-compile atheros target using the external CodeSourcery toolchain.

SVN-Revision: 29780
2012-01-18 23:46:06 +00:00
Jo-Philipp Wich
989c73848f ext-toolchain.sh: properly handle toolchains without sysroot support
SVN-Revision: 29772
2012-01-18 04:03:15 +00:00
Jo-Philipp Wich
f20b6c3ff9 ext-toolchain.sh: - use GCC's own idea of the target name (-dumpmachine) - display help if called without args - add copyright foo - remove some leftover flag handling code
SVN-Revision: 29769
2012-01-18 03:32:30 +00:00
Jo-Philipp Wich
6df3af8a36 add patch-specs.sh, a utility for modifying GCC specs The patch-specs.sh utility dumps the GCC specs of a given toolchain and modifies them to always include $STAGING_DIR in the link and compiler command lines, this makes most -I and -L flags unnecessary and lets the compiler automatically find libraries and headers in the staging dir, also solves the majority of -rpath issues.
SVN-Revision: 29767
2012-01-18 03:11:45 +00:00
Jo-Philipp Wich
7a563f122f add ext-toolchain.sh, a utility for external toolchains The ext-toolchain.sh utility script implements various external toolchain tasks: * Testing of available features, like c++, soft-float or ipv6 support * Finding the libc implementation (uclibc or eglibc/glibc) * Inferring the GNU target name * Finding shared objects for packaging (libc, libpthread, ...) * Finding executables for packaging (ldd, gdbserver, ...) * Generating wrapper scripts for toolchain commands
SVN-Revision: 29765
2012-01-18 03:03:24 +00:00
Jo-Philipp Wich
73b4974397 metadata.pl: filter direct recursive depends like "select PACKAGE_kmod-ipv6 if PACKAGE_kmod-ipv6"
SVN-Revision: 29695
2012-01-08 15:49:20 +00:00
Gabor Juhos
6c28efff9c scripts: add a script for generating fwupgrade config for the OM2P board
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 29396
2011-12-01 22:49:03 +00:00
Nicolas Thill
140dfb485f scripts: add script to generate combined extended image format
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 29358
2011-11-30 07:43:58 +00:00
Felix Fietkau
a97304cf61 scripts/env: improve the wording of the question when starting repository (patch by Rolf Leggewie)
SVN-Revision: 29262
2011-11-19 17:15:53 +00:00
Felix Fietkau
6b929e2687 scripts/env: make mv and cp operations more robust (treat dotfiles appropriately) (based on patch by Rolf Leggewie)
SVN-Revision: 29261
2011-11-19 17:15:50 +00:00
Felix Fietkau
b9eb659364 scripts/env: fix indentation (patch by Rolf Leggewie)
SVN-Revision: 29260
2011-11-19 17:15:45 +00:00
Michael Büsch
50a7ff97ef mconf: Fix compile warning: "warning: conflicting types for ‘sym_set_all_changed’"
SVN-Revision: 29190
2011-11-16 17:27:36 +00:00
Felix Fietkau
5e48d47dfe scripts/config: merge fixes for various issues, including recursive dependency detection/handling (patch by mbm)
SVN-Revision: 28658
2011-10-28 14:09:12 +00:00
Jo-Philipp Wich
ad6c4198a9 getver.sh: cope with varying "git log" line formats to reliably extract the git-svn rev (#10268)
SVN-Revision: 28604
2011-10-26 14:54:57 +00:00
Felix Fietkau
e925dbf704 scripts/feeds: override the OPENWRT_BUILD variable when calling internal targets (based on patch from #10212)
SVN-Revision: 28503
2011-10-21 13:03:37 +00:00
John Crispin
ad250089aa allow targets to define a default subtarget when using automatic subtarget detection from r27407
SVN-Revision: 27444
2011-07-04 11:21:37 +00:00
John Crispin
4d8b9fafcb ignore empty lines in scripts/localmirrors
SVN-Revision: 27416
2011-07-03 19:33:24 +00:00
Jo-Philipp Wich
0649dfdfb6 download.pl: cope with potential two-digit linux versions
SVN-Revision: 27376
2011-07-03 15:00:24 +00:00
Felix Fietkau
bcf4757508 add support for hidden packages that get selected/built but do not show up in menuconfig
SVN-Revision: 27344
2011-07-02 06:49:09 +00:00
Jo-Philipp Wich
e745fc762b metadata.pl: fix handling of multiple conditional depends that reference the same package (exposed by previous hotplug2 changes), also kill duplicate dependency specs while we're at it
SVN-Revision: 27267
2011-06-23 19:28:16 +00:00
Jo-Philipp Wich
11dcad2834 scripts/config/.gitignore omits source files scripts/config/.gitignore aims to avoid checking binaries in to git. Unfortunately it also omits conf.c, confdata.c, and all source files in lxdialog. An OpenWRT tree pulled from a git repository will not build, and I suspect this was not the intention.
Signed-off-by: Denton Gentry <denny@geekhold.com>

SVN-Revision: 27244
2011-06-20 10:41:02 +00:00
Hauke Mehrtens
e04f68fb77 Fix CONFIG_LINUX_ for linux 3.0
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 27184
2011-06-15 21:11:05 +00:00
Felix Fietkau
6e43f65dc4 remove the now unused Target-Kernel field from the target metadata
SVN-Revision: 27033
2011-05-30 23:07:53 +00:00
Jo-Philipp Wich
a02ba6ccc2 Add support for git-svn package feeds Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
SVN-Revision: 26988
2011-05-24 09:30:24 +00:00
Felix Fietkau
984ab9a139 metadata: do not emit feature flag selects for targets which have subtargets - fixes a buildbot error cause by ssb not being blacklisted for lantiq falcon
SVN-Revision: 26926
2011-05-17 12:54:45 +00:00
Hamish Guthrie
7b53059401 Correct libc path
SVN-Revision: 26885
2011-05-13 11:52:40 +00:00
Felix Fietkau
459762ace2 add a new package metadata variable MDEPENDS for specifying local menuconfig dependencies that do not propagate to other packages
SVN-Revision: 26491
2011-04-05 19:03:51 +00:00
John Crispin
e42e2b3e9c path expansion was broken due to a badly quoted *
Signed-of-by: Benjamin Cama <benoar@dolka.fr>

SVN-Revision: 26391
2011-04-01 11:07:27 +00:00
Felix Fietkau
1dbabd309b scripts/diffconfig.sh: handle CONFIG_ALL, CONFIG_DEVEL and CONFIG_TOOLCHAINOPTS properly
SVN-Revision: 26349
2011-03-28 23:25:18 +00:00
Felix Fietkau
1cc0bcfffc base-files: relink uclibc and libgcc libraries to remove leftovers of the statically linked initial libgcc saves a few kb and gets rid of unused not exported functions as well should also improve the reliability of mklibs
SVN-Revision: 25800
2011-03-01 05:40:38 +00:00
Jo-Philipp Wich
073c5e0e74 add config.rpath and link it in autotools.mk if missing, some packages might need it, especially users of lib-link.m4 or iconv.m4
SVN-Revision: 25753
2011-02-27 15:39:27 +00:00
Jo-Philipp Wich
3edf9c3544 Never write errors to stdout from ipkg-make-index.sh
Since the output of ipkg-make-index.sh is unconditionally used to create
the Packages file, sending the errors into this file is unacceptable
(both because they are not shown to users and because they make an
invalid Packages file).

For incorrect invocation, write to stderr.
For errors from which, send to /dev/null with stdout.

Signed-off-by: Kevin Locke <klocke@digitalenginesoftware.com>

SVN-Revision: 25677
2011-02-23 22:58:58 +00:00
Jo-Philipp Wich
a9c7feb0f7 download.pl: adjust kernel download urls for longterm and testing releases
SVN-Revision: 25589
2011-02-19 15:41:00 +00:00
Felix Fietkau
8d0cf8fde2 metadata: fix handling of multiple build dependencies with different conditions
SVN-Revision: 25505
2011-02-13 02:52:22 +00:00
Felix Fietkau
b0359432ae scripts/diffconfig.sh: use the new kconfig mode to remove some more unnecessary entries in the generated output
SVN-Revision: 25233
2011-01-29 02:35:28 +00:00
Felix Fietkau
b760b5fcf7 scripts/kconfig.pl: add a mode to generate a config diff that ignores added undefined config values
SVN-Revision: 25232
2011-01-29 02:35:24 +00:00
Felix Fietkau
024dc6ea5f add scripts/diffconfig.sh: a tool for making reduced .config files these files contain only the target selection and options that differ from the default settings this makes it much easier to review .config files
SVN-Revision: 25231
2011-01-29 02:22:45 +00:00
Felix Fietkau
b0f60f8023 scripts/config: add an option for making the conf tool write to a different file
SVN-Revision: 25230
2011-01-29 02:22:40 +00:00
Felix Fietkau
8740549c57 mpc85xx: add a new 'spe_fpu' feature flag for the FPU used on freescale powerpc cpus The SPE FPU is ABI-incompatible with the regular powerpc FPU, this needs to be reflected in the toolchain target name. Fixes floating point crashes in user space
SVN-Revision: 25018
2011-01-16 01:25:06 +00:00
Jo-Philipp Wich
65fad8645d download.pl: pass --no-check-certificate to wget
SVN-Revision: 24686
2010-12-18 20:54:53 +00:00
Michael Büsch
58255d44e2 deptest: Also accept stamps that are broken links.
SVN-Revision: 24350
2010-12-08 16:08:14 +00:00
Felix Fietkau
3945267a99 scripts/feeds: support checking out git trees with different branches
SVN-Revision: 24285
2010-12-06 16:57:25 +00:00
Michael Büsch
bdfe80df4c deptest: Make stamps be symlinks to logs.
SVN-Revision: 24277
2010-12-06 10:49:37 +00:00
Imre Kaloz
4052849677 switch from ext2 to ext4 (w/o) journaling
SVN-Revision: 24084
2010-11-22 12:12:39 +00:00
Michael Büsch
bf274946af deptest: Capitalize failure message. Makes it easier to spot in the logs.
SVN-Revision: 23855
2010-11-04 11:30:10 +00:00
Michael Büsch
100fc4c7ce deptest: Do not clobber the base build and staging dirs
SVN-Revision: 23835
2010-11-03 18:48:03 +00:00
Michael Büsch
55081c6a19 deptest: --force also overrides blacklist stamps
SVN-Revision: 23827
2010-11-03 15:18:53 +00:00
Michael Büsch
ae6b08d22b deptest: Add --force to force a test
SVN-Revision: 23826
2010-11-03 15:01:03 +00:00