aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* build: fix build on Mac OS X 10.9Felix Fietkau2013-10-281-0/+12
| | | | | | | | Add a wrapper around the clang gcc emulation to fix -print-file-name=<lib> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38560 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipkg-make-index: use more backwards-compatible openssl call for SHA256Steven Barth2013-10-171-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38440 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: drop FIT option until we actually need itLuka Perkov2013-10-171-1/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38439 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add menuconfig option for building FIT imagesLuka Perkov2013-10-161-0/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38431 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: move mkits.sh script to more common placeLuka Perkov2013-10-161-0/+115
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38430 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: add support for SHA256 verificationSteven Barth2013-10-041-0/+2
| | | | | | | based on a patch by Evan Hunt <each@isc.org> Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38302 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/gen-dependencies.sh: use the cross readelf (#12940)Felix Fietkau2013-09-291-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38259 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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