aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* scripts/config: merge fixes for various issues, including recursive ↵Felix Fietkau2011-10-287-40/+82
| | | | | | dependency detection/handling (patch by mbm) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28658 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] getver.sh: cope with varying "git log" line formats to reliably ↵Jo-Philipp Wich2011-10-261-1/+1
| | | | | | extract the git-svn rev (#10268) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28604 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/feeds: override the OPENWRT_BUILD variable when calling internal ↵Felix Fietkau2011-10-211-2/+2
| | | | | | targets (based on patch from #10212) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28503 3c298f89-4303-0410-b956-a3cf2f4a3e73
* allow targets to define a default subtarget when using automatic subtarget ↵John Crispin2011-07-041-0/+9
| | | | | | detection from r27407 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27444 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ignore empty lines in scripts/localmirrorsJohn Crispin2011-07-031-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27416 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] download.pl: cope with potential two-digit linux versionsJo-Philipp Wich2011-07-031-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27376 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add support for hidden packages that get selected/built but do not show up ↵Felix Fietkau2011-07-022-1/+4
| | | | | | in menuconfig git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27344 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] metadata.pl: fix handling of multiple conditional depends that ↵Jo-Philipp Wich2011-06-231-4/+4
| | | | | | reference the same package (exposed by previous hotplug2 changes), also kill duplicate dependency specs while we're at it git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27267 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [PATCH] scripts/config/.gitignore omits source filesJo-Philipp Wich2011-06-202-1/+6
| | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27244 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix CONFIG_LINUX_ for linux 3.0Hauke Mehrtens2011-06-151-1/+5
| | | | | | | Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27184 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove the now unused Target-Kernel field from the target metadataFelix Fietkau2011-05-301-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27033 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [PATCH] Add support for git-svn package feedsJo-Philipp Wich2011-05-241-0/+5
| | | | | | | Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26988 3c298f89-4303-0410-b956-a3cf2f4a3e73
* metadata: do not emit feature flag selects for targets which have subtargets ↵Felix Fietkau2011-05-171-1/+2
| | | | | | - fixes a buildbot error cause by ssb not being blacklisted for lantiq falcon git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26926 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Correct libc pathHamish Guthrie2011-05-131-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26885 3c298f89-4303-0410-b956-a3cf2f4a3e73