summaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* 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
* add a new package metadata variable MDEPENDS for specifying local menuconfig ↵nbd2011-04-052-0/+3
| | | | | | dependencies that do not propagate to other packages git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26491 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts/env]blogic2011-04-011-2/+2
| | | | | | | | | | path expansion was broken due to a badly quoted * Signed-of-by: Benjamin Cama <benoar@dolka.fr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26391 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/diffconfig.sh: handle CONFIG_ALL, CONFIG_DEVEL and ↵nbd2011-03-281-0/+3
| | | | | | CONFIG_TOOLCHAINOPTS properly git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26349 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: relink uclibc and libgcc libraries to remove leftovers of the ↵nbd2011-03-011-0/+14
| | | | | | | | | 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25800 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] add config.rpath and link it in autotools.mk if missing, some ↵jow2011-02-271-0/+666
| | | | | | packages might need it, especially users of lib-link.m4 or iconv.m4 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25753 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [PATCH 1/2] Never write errors to stdout from ipkg-make-index.shjow2011-02-231-2/+2
| | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25677 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] download.pl: adjust kernel download urls for longterm and testing ↵jow2011-02-191-8/+16
| | | | | | releases git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25589 3c298f89-4303-0410-b956-a3cf2f4a3e73
* metadata: fix handling of multiple build dependencies with different conditionsnbd2011-02-131-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25505 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/diffconfig.sh: use the new kconfig mode to remove some more ↵nbd2011-01-291-1/+1
| | | | | | unnecessary entries in the generated output git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25233 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/kconfig.pl: add a mode to generate a config diff that ignores added ↵nbd2011-01-291-2/+8
| | | | | | undefined config values git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25232 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add scripts/diffconfig.sh: a tool for making reduced .config filesnbd2011-01-291-0/+8
| | | | | | | these files contain only the target selection and options that differ from the default settings this makes it much easier to review .config files git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25231 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/config: add an option for making the conf tool write to a different filenbd2011-01-291-2/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25230 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc85xx: add a new 'spe_fpu' feature flag for the FPU used on freescale ↵nbd2011-01-161-0/+1
| | | | | | | | | | 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25018 3c298f89-4303-0410-b956-a3cf2f4a3e73