aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* build: clean up stale files from a previous build when installing a package ↵Felix Fietkau2013-06-111-0/+24
| | | | | | | | | | build to the staging dir Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r36755 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36916 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: scripts/om-fwupgradecfg-gen.sh: add support for the MR600Gabor Juhos2012-11-251-9/+27
| | | | | | | | | Backport of r34233. Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34348 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: scripts: rename om2p-fwupgradecfg-gen.sh to more generic ↵Gabor Juhos2012-11-251-1/+1
| | | | | | | | | | | | | om-fwupgradecfg-gen.sh Backport of r34200. It will be used for non OM2P boards as well. Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34344 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: scripts: backport r34118Jo-Philipp Wich2012-11-081-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34119 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: fix menuconfig segfaults; backport of r33773Jo-Philipp Wich2012-10-141-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33774 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AR71xx/9xxx based routers are the most common these days, select that as the ↵Imre Kaloz2012-09-281-1/+1
| | | | | | default target git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33590 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] fix library bundling when host libraries reside in /lib/tls/ or ↵Jo-Philipp Wich2012-09-091-5/+1
| | | | | | similar git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33353 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] add a helper script to bundle required libraries for host utilitiesJo-Philipp Wich2012-08-151-0/+114
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33195 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: ensure that reordering of KCONFIG lines are handled properly and that ↵Felix Fietkau2012-07-222-1/+5
| | | | | | the final result does not depend on the package scan order git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32788 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/feeds: redirect stderr of the which call to /dev/null to avoid ↵Felix Fietkau2012-06-251-1/+1
| | | | | | potentially confusing error messages on some systems git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32499 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] gen-dependencies.sh: only include lib*.so* files in dependency ↵Jo-Philipp Wich2012-06-121-1/+1
| | | | | | list, to match the filtering of provides lists git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32272 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/index: filter out the libc package from the indexFelix Fietkau2012-06-111-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32187 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add checks for missing package dependenciesFelix Fietkau2012-06-111-0/+24
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32185 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target: add a feature flag for RTC supportFelix Fietkau2012-05-171-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31777 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/ipkg-make-index.sh: use bash instead of /bin/sh to fix use of [[ ]]Felix Fietkau2012-05-131-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31708 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: prevent the virtual "kernel" package from leaking into the package ↵Felix Fietkau2012-05-131-0/+3
| | | | | | index to make dependency checks fail on kernel config mismatch git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31704 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] download.pl:Jo-Philipp Wich2012-05-111-38/+41
| | | | | | | | | - 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31677 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add further countermeasures against the git core.autocrlf option (fixes #9075)Felix Fietkau2012-05-081-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31650 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] ext-toolchain.sh: don't pass CFLAGS when wrapping ldJo-Philipp Wich2012-05-011-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31549 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: rework verbosity level selectionFelix Fietkau2012-04-261-1/+1
| | | | | | | | | | | | | 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) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31484 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts/feeds] re-enable shallow git clones ('--depth 1')Mirko Vogt2012-04-241-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31469 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts/feeds] include revisions of feeds when listing themMirko Vogt2012-04-241-14/+37
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31467 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] allow arbitary folder layout when using localmirrorsJohn Crispin2012-04-101-1/+24
| | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31240 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix stripping of modules with duplicate symbol namesFelix Fietkau2012-03-191-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31031 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: improve profiling support, keep static symbols when profiling is enabledFelix Fietkau2012-03-171-1/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30964 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: keep more symbols in the kernel modules when doing profilingFelix Fietkau2012-03-011-3/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30762 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: do not rename module symbols with kallsyms enabledFelix Fietkau2012-03-011-0/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30759 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "scripts/download.pl: fix sourceforge url"Felix Fietkau2012-02-261-1/+1
| | | | | | | 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30730 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/download.pl: fix sourceforge urlFelix Fietkau2012-02-251-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30726 3c298f89-4303-0410-b956-a3cf2f4a3e73
* strip kernel modules more aggressively: make all global symbols local, ↵Felix Fietkau2012-02-202-20/+39
| | | | | | rename all symbols in the symbol table to make them compress better git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30662 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] env: colorize git outputFlorian Fainelli2012-02-161-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30602 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] patch-specs.sh: gcc 3.4.6 has an additional "(OpenWrt-2.0)" after ↵Jo-Philipp Wich2012-01-291-1/+1
| | | | | | the version tag, cope with that git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29948 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] download.pl: remove ftp.geo.kernel.org mirror, it does not resolveJo-Philipp Wich2012-01-291-2/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29947 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] ext-toolchain.sh: rework generated gcc wrapperJo-Philipp Wich2012-01-291-13/+44
| | | | | | | | 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29946 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] patch-specs.sh: fallback to ext-toolchain.sh --wrap if spec file ↵Jo-Philipp Wich2012-01-291-35/+61
| | | | | | patching is not possible (gcc < 4.3.0) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29945 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] ext-toolchain.sh: support --wrap with src == destJo-Philipp Wich2012-01-291-3/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29944 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] ext-toolchain.sh: CONFIG_NLS -> CONFIG_BUILD_NLSJo-Philipp Wich2012-01-191-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29782 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] ext-toolchain.sh: fix typoJo-Philipp Wich2012-01-191-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29781 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] ext-toolchain.sh: add option to write .configJo-Philipp Wich2012-01-181-3/+137
| | | | | | | | | | | | 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29780 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] ext-toolchain.sh: properly handle toolchains without sysroot supportJo-Philipp Wich2012-01-181-9/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29772 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] ext-toolchain.sh:Jo-Philipp Wich2012-01-181-21/+21
| | | | | | | | | | - 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29769 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] add patch-specs.sh, a utility for modifying GCC specsJo-Philipp Wich2012-01-181-0/+64
| | | | | | | | | | | 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29767 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] add ext-toolchain.sh, a utility for external toolchainsJo-Philipp Wich2012-01-181-0/+410
| | | | | | | | | | | | | 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29765 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] metadata.pl: filter direct recursive depends like "select ↵Jo-Philipp Wich2012-01-081-0/+1
| | | | | | PACKAGE_kmod-ipv6 if PACKAGE_kmod-ipv6" git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29695 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts: add a script for generating fwupgrade config for the OM2P boardGabor Juhos2011-12-011-0/+52
| | | | | | Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29396 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts: add script to generate combined extended image formatNicolas Thill2011-11-301-0/+61
| | | | | | Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29358 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/env: improve the wording of the question when starting repository ↵Felix Fietkau2011-11-191-1/+1
| | | | | | (patch by Rolf Leggewie) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29262 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/env: make mv and cp operations more robust (treat dotfiles ↵Felix Fietkau2011-11-191-0/+4
| | | | | | appropriately) (based on patch by Rolf Leggewie) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29261 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/env: fix indentation (patch by Rolf Leggewie)Felix Fietkau2011-11-191-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29260 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mconf: Fix compile warning:Michael Büsch2011-11-161-20/+20
| | | | | | | "warning: conflicting types for ‘sym_set_all_changed’" git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29190 3c298f89-4303-0410-b956-a3cf2f4a3e73