aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* scripts: unset GREP_OPTIONS in env and feeds (fixes #16924)Felix Fietkau2014-06-302-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41407
* scripts/ubinize-image.sh: fix ubinize-image.sh when used with --kernelJohn Crispin2014-06-291-0/+1
| | | | | | | | | r41359 broke support for building ubinized images which do include a kernel volume. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 41368
* make UbinizeImage work nicely without a kernel volumeImre Kaloz2014-06-271-10/+4
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 41359
* scripts/ubinize-image.sh: fix parameter handlingJohn Crispin2014-06-261-24/+27
| | | | | | | | | | ubinize-image.sh previously used ${var:offset:length} substitutions which are not valid in standard shell. Replace the existing parameter matching by a case ... esac expression. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 41347
* scripts/metadata.pl: avoid adding depends and select for the same symbolFelix Fietkau2014-06-121-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41160
* kernel: add a NAND_SUPPORT symbolJohn Crispin2014-06-111-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41122
* scripts: add ubinize-image.sh to generate ubi imagesJohn Crispin2014-06-111-0/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | This is a wrapper for the ubinize tool which integrates auto-generation of the ubinize.cfg for common volume layouts with and without a kernel volume. It supports auto-detecting the rootfs-type and decides whether or not to include a rootfs_data volume based on whether the rootfs is ubifs or not (and thus is read-only and needs rootfs_data ubifs overlay). The script allows to create layouts as found in all current ubinize{,-overlay}.cfg files using ubinize-image.sh --no-kernel root.{ubifs,squashfs} output.ubi $UBI_OPTS It also includes support for adding ubootenv and ubootenv2 volumes typically used by U-Boot for storing its environment in UBI using the "--uboot-env" parameter. See also https://gitorious.org/openwrt-oxnas/openwrt-oxnas/source/target/linux/ oxnas/image/Makefile Signed-off-by: Daniel Golle <daniel@makrotopia.org> create mode 100755 scripts/ubinize-image.sh SVN-Revision: 41121
* build: add a feature flag for low-memory systemsFelix Fietkau2014-06-021-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40980
* scripts/bundle-libraries: fall back to only copying binaries if ldd is ↵Felix Fietkau2014-06-021-21/+20
| | | | | | | | unavailable (e.g. non-linux system) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40967
* metadata.pl: suppress profile config.in code for targets that have ↵Felix Fietkau2014-06-011-1/+4
| | | | | | | | subtargets (fixes #14480) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40896
* scripts/metadata.pl: fix ignoring missing host dependenciesFelix Fietkau2014-03-131-1/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39917
* scripts/metadata.pl: remove sdk specific config symbol overrideFelix Fietkau2014-03-131-8/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39916
* scripts/config: make wildcard include with no results non-fatalFelix Fietkau2014-03-102-0/+14
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39862
* scripts/kconfig.pl: Indicate which file we couldn't openJohn Crispin2014-01-191-1/+1
| | | | | | Signed-off-by: Daniel Colascione <dancol@dancol.org> SVN-Revision: 39327
* scripts/download.pl: prefer the GNU mirror redirect over the primary site ↵Felix Fietkau2013-12-131-1/+1
| | | | | | | | (#14603) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39045
* add a feature flag for device tree supportImre Kaloz2013-11-221-0/+1
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 38893
* scripts/gen-dependencies.sh: prevent zero-length dep.* files from ↵Felix Fietkau2013-11-191-1/+1
| | | | | | | | accumulating in tmp/ Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38860
* 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> SVN-Revision: 38560
* ipkg-make-index: use more backwards-compatible openssl call for SHA256Steven Barth2013-10-171-1/+1
| | | | SVN-Revision: 38440
* build: drop FIT option until we actually need itLuka Perkov2013-10-171-1/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38439
* build: add menuconfig option for building FIT imagesLuka Perkov2013-10-161-0/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38431
* build: move mkits.sh script to more common placeLuka Perkov2013-10-161-0/+115
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38430
* 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> SVN-Revision: 38302
* scripts/gen-dependencies.sh: use the cross readelf (#12940)Felix Fietkau2013-09-291-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38259
* 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> SVN-Revision: 38214
* 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> SVN-Revision: 38172
* 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> SVN-Revision: 37884
* scripts/checkpatch.pl: Fix whitespace errorsVasilis Tsiligiannis2013-08-311-20/+20
| | | | | | Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr> SVN-Revision: 37864
* 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> SVN-Revision: 37863
* scripts/checkpatch.pl: Remove checks for __setup's documentationVasilis Tsiligiannis2013-08-311-26/+0
| | | | | | Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr> SVN-Revision: 37862
* scripts/checkpatch.pl: Remove check for deprecated featuresVasilis Tsiligiannis2013-08-311-37/+0
| | | | | | Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr> SVN-Revision: 37861
* scripts/checkpatch.pl: Introduce 'checkpatch.pl' scriptVasilis Tsiligiannis2013-08-311-0/+3553
| | | | | | Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr> SVN-Revision: 37860
* 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> SVN-Revision: 37679
* 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> SVN-Revision: 37678
* 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> SVN-Revision: 37491
* scripts/metadata.pl: emit dependencies for package/kernel/linuxFelix Fietkau2013-07-191-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37433
* scripts/gen-dependencies.sh: clean up temp filesFelix Fietkau2013-07-191-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37430
* 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 SVN-Revision: 37397
* gen-dependencies.sh: sort kmod dependenciesFelix Fietkau2013-07-181-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37390
* build: implement kernel module dependency trackingFelix Fietkau2013-07-181-0/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37386
* metadata.pl: use alphabetical order for menuconfig categories, also fixes ↵Jo-Philipp Wich2013-07-161-1/+1
| | | | | | random ordering of symbols in .config SVN-Revision: 37369
* 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> SVN-Revision: 37323
* 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> SVN-Revision: 37213
* 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> SVN-Revision: 37091
* 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> SVN-Revision: 36860
* feeds: fix check for core packages that are not in the package/ toplevel ↵Jo-Philipp Wich2013-05-291-1/+10
| | | | | | directory SVN-Revision: 36763
* 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> SVN-Revision: 36755
* scripts: dl_cleanup.py: properly detect file names with <date>-<githash> ↵Jo-Philipp Wich2013-05-261-1/+1
| | | | | | version string SVN-Revision: 36729
* build: add config symbols for different ARM arch levelsFelix Fietkau2013-05-131-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36620
* scripts/remote-gdb: add support for debugging core filesFelix Fietkau2013-05-091-2/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36596