Commit Graph

393 Commits (cc59e71f8435164b6c73d24cb09ffe8ee3cad18d)

Author SHA1 Message Date
Imre Kaloz 84b43f112a AR71xx/9xxx based routers are the most common these days, select that as the default target
SVN-Revision: 33590
2012-09-28 20:54:35 +00:00
Jo-Philipp Wich c70e919ae8 fix library bundling when host libraries reside in /lib/tls/ or similar
SVN-Revision: 33353
2012-09-09 22:37:32 +00:00
Jo-Philipp Wich 183f625a48 add a helper script to bundle required libraries for host utilities
SVN-Revision: 33195
2012-08-15 13:28:23 +00:00
Felix Fietkau 2335304a08 build: ensure that reordering of KCONFIG lines are handled properly and that the final result does not depend on the package scan order
SVN-Revision: 32788
2012-07-22 21:00:07 +00:00
Felix Fietkau 3df534502c scripts/feeds: redirect stderr of the which call to /dev/null to avoid potentially confusing error messages on some systems
SVN-Revision: 32499
2012-06-25 00:27:03 +00:00
Jo-Philipp Wich 3f8fb64e60 gen-dependencies.sh: only include lib*.so* files in dependency list, to match the filtering of provides lists
SVN-Revision: 32272
2012-06-12 22:02:41 +00:00
Felix Fietkau 7cb42738e6 package/index: filter out the libc package from the index
SVN-Revision: 32187
2012-06-11 01:29:11 +00:00
Felix Fietkau 6ca6d317b3 build: add checks for missing package dependencies
SVN-Revision: 32185
2012-06-11 00:57:36 +00:00
Felix Fietkau 03babf3641 target: add a feature flag for RTC support
SVN-Revision: 31777
2012-05-17 15:28:09 +00:00
Felix Fietkau a243cb1735 scripts/ipkg-make-index.sh: use bash instead of /bin/sh to fix use of [[ ]]
SVN-Revision: 31708
2012-05-13 16:29:39 +00:00
Felix Fietkau f1fd082441 build: prevent the virtual "kernel" package from leaking into the package index to make dependency checks fail on kernel config mismatch
SVN-Revision: 31704
2012-05-13 12:31:53 +00:00
Jo-Philipp Wich 12728ea66b download.pl: - cleanup cache handling code - use alternative m// and s/// delimiters to get rid of tedious slash escaping - use multi-argument form of system() where possible to avoid quoting & escaping issues - avoid a temporary variable
SVN-Revision: 31677
2012-05-11 18:17:15 +00:00
Felix Fietkau 85f1a2c67a add further countermeasures against the git core.autocrlf option (fixes #9075)
SVN-Revision: 31650
2012-05-08 13:30:54 +00:00
Jo-Philipp Wich 643babfc3c ext-toolchain.sh: don't pass CFLAGS when wrapping ld
SVN-Revision: 31549
2012-05-01 22:45:55 +00:00
Felix Fietkau 34ffb526a2 build: rework verbosity level selection
V=99 and V=1 are now deprecated in favor of a new verbosity class system,
though the old flags are still supported.
You can set the V variable on the command line (or OPENWRT_VERBOSE in the
environment) to one or more of the following characters:

- s: stdout+stderr (equal to the old V=99)
- c: commands (for build systems that suppress commands by default, e.g. kbuild)
- w: warnings/errors only (equal to the old V=1)

SVN-Revision: 31484
2012-04-26 17:53:56 +00:00
Mirko Vogt 1f489e4084 re-enable shallow git clones ('--depth 1')
SVN-Revision: 31469
2012-04-24 18:19:16 +00:00
Mirko Vogt 2ebcd4707c include revisions of feeds when listing them
SVN-Revision: 31467
2012-04-24 12:56:18 +00:00
John Crispin 0c4bcae7a1 allow arbitary folder layout when using localmirrors
Make the download script follow symlinks and search subfolders when looking for
a file in a local download mirror.

Signed-off-by: Tathagata Das <tathagata@alumnux.com>

SVN-Revision: 31240
2012-04-10 14:11:45 +00:00
Felix Fietkau 571bd159a1 kernel: fix stripping of modules with duplicate symbol names
SVN-Revision: 31031
2012-03-19 21:09:47 +00:00
Felix Fietkau 7b609a31be kernel: improve profiling support, keep static symbols when profiling is enabled
SVN-Revision: 30964
2012-03-17 13:03:14 +00:00
Felix Fietkau 236dd9d9a2 kernel: keep more symbols in the kernel modules when doing profiling
SVN-Revision: 30762
2012-03-01 15:13:26 +00:00
Felix Fietkau a8ec8ce1ac kernel: do not rename module symbols with kallsyms enabled
SVN-Revision: 30759
2012-03-01 09:58:03 +00:00
Felix Fietkau 548155ab7d Revert "scripts/download.pl: fix sourceforge url"
To use the new url, the project name would need to be appended multiple times,
let's hope the old redirect will continue to work in the future

SVN-Revision: 30730
2012-02-26 09:29:53 +00:00
Felix Fietkau 4dc4ebe0c8 scripts/download.pl: fix sourceforge url
SVN-Revision: 30726
2012-02-25 20:44:02 +00:00
Felix Fietkau c2590fe930 strip kernel modules more aggressively: make all global symbols local, rename all symbols in the symbol table to make them compress better
SVN-Revision: 30662
2012-02-20 17:38:26 +00:00
Florian Fainelli e50315d61c env: colorize git output
SVN-Revision: 30602
2012-02-16 19:24:34 +00:00
Jo-Philipp Wich 1a6ccdc0cf patch-specs.sh: gcc 3.4.6 has an additional "(OpenWrt-2.0)" after the version tag, cope with that
SVN-Revision: 29948
2012-01-29 20:19:06 +00:00
Jo-Philipp Wich 0c3a383974 download.pl: remove ftp.geo.kernel.org mirror, it does not resolve
SVN-Revision: 29947
2012-01-29 19:28:12 +00:00
Jo-Philipp Wich c21b5cc34a ext-toolchain.sh: rework generated gcc wrapper Only append -L and -Wl,-rpath-link flags if the command line contains -l, -L, -shared or -static flags; this is needed to suppress "-rpath-link: linker input file unused because linking not done" on each cc invocation.
SVN-Revision: 29946
2012-01-29 18:53:12 +00:00
Jo-Philipp Wich d5cf09642c patch-specs.sh: fallback to ext-toolchain.sh --wrap if spec file patching is not possible (gcc < 4.3.0)
SVN-Revision: 29945
2012-01-29 17:42:58 +00:00
Jo-Philipp Wich 86ddf7c7a8 ext-toolchain.sh: support --wrap with src == dest
SVN-Revision: 29944
2012-01-29 17:42:10 +00:00
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