summaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* scripts/ipkg-make-index.sh: use bash instead of /bin/sh to fix use of [[ ]]nbd2012-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 ↵nbd2012-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:jow2012-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)nbd2012-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 ldjow2012-05-011-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31549 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: rework verbosity level selectionnbd2012-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')mirko2012-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 themmirko2012-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 localmirrorsblogic2012-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 namesnbd2012-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 enablednbd2012-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 profilingnbd2012-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 enablednbd2012-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"nbd2012-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 urlnbd2012-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, ↵nbd2012-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 outputflorian2012-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 ↵jow2012-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 resolvejow2012-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 wrapperjow2012-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 ↵jow2012-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 == destjow2012-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_NLSjow2012-01-191-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29782 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] ext-toolchain.sh: fix typojow2012-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 .configjow2012-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 supportjow2012-01-181-9/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29772 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] ext-toolchain.sh:jow2012-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 specsjow2012-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 toolchainsjow2012-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 ↵jow2012-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 boardjuhosg2011-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 formatnico2011-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 ↵nbd2011-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 ↵nbd2011-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)nbd2011-11-191-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29260 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mconf: Fix compile warning:mb2011-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 ↵nbd2011-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 ↵jow2011-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 ↵nbd2011-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 ↵blogic2011-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/localmirrorsblogic2011-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 versionsjow2011-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 ↵nbd2011-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 ↵jow2011-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 filesjow2011-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.0hauke2011-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 metadatanbd2011-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 feedsjow2011-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 ↵nbd2011-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 pathhcg2011-05-131-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26885 3c298f89-4303-0410-b956-a3cf2f4a3e73