aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* build: include the cpu type as part of the toolchain/target directory nameFelix Fietkau2013-09-261-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38214 3c298f89-4303-0410-b956-a3cf2f4a3e73
* feeds: enable cloning of specific git commitLuka Perkov2013-09-251-2/+8
| | | | | | | | | | Following syntax should be used to enable this feature: src-git custom git://openwrt/custom-feed^SHA_COMMIT_ID Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38172 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/feeds: ensure that --ff is enabledFlorian Fainelli2013-09-021-1/+1
| | | | | | | | | | | Users may have merge.ff set to false, which will force merge commits to be generated. The intent here is to have a fast-forward merge when possible, so let's make sure fast-forwards are enabled. Signed-off-by: John Szakmeister <john@szakmeister.net> Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37884 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/checkpatch.pl: Fix whitespace errorsVasilis Tsiligiannis2013-08-311-20/+20
| | | | | | Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37864 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/{cleanfile,cleanpatch}: Add scripts for cleaning up file and patch ↵Vasilis Tsiligiannis2013-08-312-0/+434
| | | | | | | | whitespaces Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37863 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/checkpatch.pl: Remove checks for __setup's documentationVasilis Tsiligiannis2013-08-311-26/+0
| | | | | | Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37862 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/checkpatch.pl: Remove check for deprecated featuresVasilis Tsiligiannis2013-08-311-37/+0
| | | | | | Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37861 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/checkpatch.pl: Introduce 'checkpatch.pl' scriptVasilis Tsiligiannis2013-08-311-0/+3553
| | | | | | Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37860 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: process transitive dependencies after local dependenciesFelix Fietkau2013-08-041-1/+7
| | | | | | | | This improves duplicate dependency detection Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37679 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: suppress conditional dependencies if there are unconditional ↵Felix Fietkau2013-08-041-0/+1
| | | | | | | | dependencies on the same symbol Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37678 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add a new global config symbol for enabling rfkill support (can be ↵Felix Fietkau2013-07-211-0/+1
| | | | | | | | enabled by default via target feature flag) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37491 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/metadata.pl: emit dependencies for package/kernel/linuxFelix Fietkau2013-07-191-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37433 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/gen-dependencies.sh: clean up temp filesFelix Fietkau2013-07-191-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37430 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts: change metadata.pm and metadata.pl to not emit "default m if ALL" ↵Jo-Philipp Wich2013-07-182-3/+7
| | | | | | Kconfig instructions for hidden packages git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37397 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gen-dependencies.sh: sort kmod dependenciesFelix Fietkau2013-07-181-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37390 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: implement kernel module dependency trackingFelix Fietkau2013-07-181-0/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37386 3c298f89-4303-0410-b956-a3cf2f4a3e73
* metadata.pl: use alphabetical order for menuconfig categories, also fixes ↵Jo-Philipp Wich2013-07-161-1/+1
| | | | | | random ordering of symbols in .config git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37369 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts/downloads.pl] remove broken mirrors for linux kernelMirko Vogt2013-07-141-4/+0
| | | | | | | | | ftp.de.kernel.org / ftp.fr.kernel.org don't resolv anymore, ftp.all.kernel.org is DNS round robin anyway Signed-off-by: Mirko Vogt <mirko@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37323 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/download.pl: use HTTP instead of FTP for the default GNU siteFelix Fietkau2013-07-091-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37213 3c298f89-4303-0410-b956-a3cf2f4a3e73
* metadata.pl: fixpath exclusion of kernel packagesJohn Crispin2013-06-291-1/+1
| | | | | | | | module and build deps did not work for kernel modules Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37091 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target: split jffs2 NAND out of jffs2Jonas Gorski2013-06-051-1/+2
| | | | | | | | | | | | Make jffs2_nand a separate option so this can be triggered without forcing jffs2 images for nor targets. Adds a new NAND_BLOCKSIZE variable that allows setting the generated layout in <page_size>:<block_size> pairs. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36860 3c298f89-4303-0410-b956-a3cf2f4a3e73
* feeds: fix check for core packages that are not in the package/ toplevel ↵Jo-Philipp Wich2013-05-291-1/+10
| | | | | | directory git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36763 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: clean up stale files from a previous build when installing a package ↵Felix Fietkau2013-05-291-0/+24
| | | | | | | | build to the staging dir Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36755 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts: dl_cleanup.py: properly detect file names with <date>-<githash> ↵Jo-Philipp Wich2013-05-261-1/+1
| | | | | | version string git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36729 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add config symbols for different ARM arch levelsFelix Fietkau2013-05-131-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36620 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/remote-gdb: add support for debugging core filesFelix Fietkau2013-05-091-2/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36596 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/remote-gdb: fix path when built for muslFelix Fietkau2013-05-091-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36595 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/config: fix an option processing error that caused duplication in ↵Felix Fietkau2013-05-021-3/+3
| | | | | | | | diffconfig.sh output (#13384) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36522 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/config: warn on deprected "depends" syntax instead of throwing a ↵Felix Fietkau2013-04-222-143/+158
| | | | | | | | syntax error Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36375 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add new menuconfig code based on linux 3.9Felix Fietkau2013-04-1834-3797/+5722
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36361 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: consistently use 'depends on' instead of 'depends'Felix Fietkau2013-04-171-7/+7
| | | | | | | | make the syntax more compatible with kernel menuconfig Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36351 3c298f89-4303-0410-b956-a3cf2f4a3e73
* buildroot: allow enabling MIPS16 user-space buildFlorian Fainelli2013-04-051-0/+1
| | | | | | | | | | | Enabling MIPS16 is made conditional on advertising the "mips16" feature for a specific target since it requires support from the CPU (HAS_MIPS16) and the actual use of MIPS16 for building packages (USE_MIPS16). Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36202 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: BSD compile fixesFelix Fietkau2013-03-072-0/+25
| | | | | | | | | | | | | | | | following patch allows to build images for Qemu ARM on OpenBSD 5.2 amd64 and FreeBSD 9.1 amd64. Mostly small pieces of code changes to get things right on the specific platform. Updated the README to describe better, which tools on the host are required. Added some kind of prepare scripts to install needed tools on BSD via packages. Signed-off-by: Waldemar Brodkorb <mail@waldemar-brodkorb.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35900 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts: update GNU mirrorsLuka Perkov2013-02-281-4/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35838 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/symlink-tree.sh: print warnings/errors to stderrJonas Gorski2013-02-211-3/+3
| | | | | | | | Makes warnings/errors visible when building with V=w/V=1. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35718 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/ipkg: print warnings/errors to stderrJonas Gorski2013-02-211-16/+16
| | | | | | | | Makes warnings/errors visible when building with V=w/V=1. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35717 3c298f89-4303-0410-b956-a3cf2f4a3e73
* buildroot: allow specifying libc personality for external toolchainsJo-Philipp Wich2013-02-201-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35703 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add xz compressed packages to known extensions of dl_cleanupGabor Juhos2013-02-171-1/+5
| | | | | | | | | Add .tar.xz, .txz, and .orig.tar.xz as known extensions to dl_cleanup.py. Signed-off-by: Ian Leonard <antonlacon@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35645 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts: bundle-libraries.sh: support mixing 32bit and 64bit binariesJo-Philipp Wich2013-01-281-6/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35349 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] remove support for ubicom32Florian Fainelli2012-11-301-2/+0
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34432 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] add preliminary support for muslFlorian Fainelli2012-11-231-2/+3
| | | | | | | | Musl is an alternative C-library, see http://www.musl-libc.org for more infos. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34314 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/om-fwupgradecfg-gen.sh: add support for the MR600Gabor Juhos2012-11-181-9/+27
| | | | | | | 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/trunk@34233 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts: rename om2p-fwupgradecfg-gen.sh to more generic om-fwupgradecfg-gen.shGabor Juhos2012-11-141-1/+1
| | | | | | | | | 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/trunk@34200 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ixp4xx:] add support for the Tonze AP-422/425Imre Kaloz2012-11-111-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34165 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ixp4xx]: fix machtype handling above 4096Imre Kaloz2012-11-111-2/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34141 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts: fix remote-gdb script to cope with _eabi suffix in uClibc versionJo-Philipp Wich2012-11-081-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34118 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scrips/metadata.pl: fix broken targets with subtargets being selectableJonas Gorski2012-10-221-0/+1
| | | | | | | | | | r26926 moved all target features to subtargets if present, which had the side effect that broken targets are available for selection, just without any available subtargets (since they are still marked as broken). Fix this by explicitly letting the top level target also depend on broken. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33892 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/config: fix menuconfig segfault in text inputs when format patterns ↵Jo-Philipp Wich2012-10-141-1/+1
| | | | | | are entered by the user git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33773 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