John Crispin
28a563dec3
scripts: add ubinize-image.sh to generate ubi images
...
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
11 years ago
Felix Fietkau
b24897ee5c
build: add a feature flag for low-memory systems
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40980
11 years ago
Felix Fietkau
aab9ffeacc
scripts/bundle-libraries: fall back to only copying binaries if ldd is unavailable (e.g. non-linux system)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40967
11 years ago
Felix Fietkau
2c4bde9c8f
metadata.pl: suppress profile config.in code for targets that have subtargets ( fixes #14480 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40896
11 years ago
Felix Fietkau
e9abf9f8a0
scripts/metadata.pl: fix ignoring missing host dependencies
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39917
11 years ago
Felix Fietkau
52dcb1f411
scripts/metadata.pl: remove sdk specific config symbol override
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39916
11 years ago
Felix Fietkau
81013f6bbe
scripts/config: make wildcard include with no results non-fatal
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39862
11 years ago
John Crispin
2f5f498969
scripts/kconfig.pl: Indicate which file we couldn't open
...
Signed-off-by: Daniel Colascione <dancol@dancol.org>
SVN-Revision: 39327
11 years ago
Felix Fietkau
27fe688c5f
scripts/download.pl: prefer the GNU mirror redirect over the primary site ( #14603 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39045
11 years ago
Imre Kaloz
f3e2331e18
add a feature flag for device tree support
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38893
11 years ago
Felix Fietkau
13f5ebaf8e
scripts/gen-dependencies.sh: prevent zero-length dep.* files from accumulating in tmp/
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38860
11 years ago
Felix Fietkau
1879c5f8e7
build: fix build on Mac OS X 10.9
...
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
11 years ago
Steven Barth
f22196e4e9
ipkg-make-index: use more backwards-compatible openssl call for SHA256
...
SVN-Revision: 38440
11 years ago
Luka Perkov
59eb6137dd
build: drop FIT option until we actually need it
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38439
11 years ago
Luka Perkov
cc1b164634
build: add menuconfig option for building FIT images
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38431
11 years ago
Luka Perkov
acdb0ac35c
build: move mkits.sh script to more common place
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38430
11 years ago
Steven Barth
8b7b7cabf2
opkg: add support for SHA256 verification
...
based on a patch by Evan Hunt <each@isc.org>
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 38302
11 years ago
Felix Fietkau
b14e0d008c
scripts/gen-dependencies.sh: use the cross readelf ( #12940 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38259
11 years ago
Felix Fietkau
e0189ccef4
build: include the cpu type as part of the toolchain/target directory name
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38214
11 years ago
Luka Perkov
49722e7dcb
feeds: enable cloning of specific git commit
...
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
11 years ago
Florian Fainelli
a1267290ed
scripts/feeds: ensure that --ff is enabled
...
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
11 years ago
Vasilis Tsiligiannis
e532d65373
scripts/checkpatch.pl: Fix whitespace errors
...
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
SVN-Revision: 37864
11 years ago
Vasilis Tsiligiannis
957c2576cc
scripts/{cleanfile,cleanpatch}: Add scripts for cleaning up file and patch whitespaces
...
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
SVN-Revision: 37863
11 years ago
Vasilis Tsiligiannis
a35b5dc2f7
scripts/checkpatch.pl: Remove checks for __setup's documentation
...
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
SVN-Revision: 37862
11 years ago
Vasilis Tsiligiannis
23ea2cb10e
scripts/checkpatch.pl: Remove check for deprecated features
...
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
SVN-Revision: 37861
11 years ago
Vasilis Tsiligiannis
c724c76f65
scripts/checkpatch.pl: Introduce 'checkpatch.pl' script
...
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
SVN-Revision: 37860
11 years ago
Felix Fietkau
1d3067892b
build: process transitive dependencies after local dependencies
...
This improves duplicate dependency detection
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37679
11 years ago
Felix Fietkau
0249f7510c
build: suppress conditional dependencies if there are unconditional dependencies on the same symbol
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37678
11 years ago
Felix Fietkau
94439c2b5d
kernel: add a new global config symbol for enabling rfkill support (can be enabled by default via target feature flag)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37491
11 years ago
Felix Fietkau
14b307c10e
scripts/metadata.pl: emit dependencies for package/kernel/linux
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37433
11 years ago
Felix Fietkau
1ffa67e0c6
scripts/gen-dependencies.sh: clean up temp files
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37430
11 years ago
Jo-Philipp Wich
b2f2233306
scripts: change metadata.pm and metadata.pl to not emit "default m if ALL" Kconfig instructions for hidden packages
...
SVN-Revision: 37397
11 years ago
Felix Fietkau
ccebc5a091
gen-dependencies.sh: sort kmod dependencies
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37390
11 years ago
Felix Fietkau
18840ae808
build: implement kernel module dependency tracking
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37386
11 years ago
Jo-Philipp Wich
24f345dbe4
metadata.pl: use alphabetical order for menuconfig categories, also fixes random ordering of symbols in .config
...
SVN-Revision: 37369
12 years ago
Mirko Vogt
53d4d18f07
remove broken mirrors for linux kernel
...
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
12 years ago
Felix Fietkau
40b3db713d
scripts/download.pl: use HTTP instead of FTP for the default GNU site
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37213
12 years ago
John Crispin
89d41d95bf
metadata.pl: fixpath exclusion of kernel packages
...
module and build deps did not work for kernel modules
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37091
12 years ago
Jonas Gorski
9f7ef8d5f0
target: split jffs2 NAND out of jffs2
...
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
12 years ago
Jo-Philipp Wich
103b69e250
feeds: fix check for core packages that are not in the package/ toplevel directory
...
SVN-Revision: 36763
12 years ago
Felix Fietkau
6f4cb088a0
build: clean up stale files from a previous build when installing a package build to the staging dir
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36755
12 years ago
Jo-Philipp Wich
1c9bc8822d
scripts: dl_cleanup.py: properly detect file names with <date>-<githash> version string
...
SVN-Revision: 36729
12 years ago
Felix Fietkau
eea89fea6a
build: add config symbols for different ARM arch levels
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36620
12 years ago
Felix Fietkau
0fb3475ecc
scripts/remote-gdb: add support for debugging core files
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36596
12 years ago
Felix Fietkau
ed30c90e2d
scripts/remote-gdb: fix path when built for musl
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36595
12 years ago
Felix Fietkau
f935d800bf
scripts/config: fix an option processing error that caused duplication in diffconfig.sh output ( #13384 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36522
12 years ago
Felix Fietkau
45339e03de
scripts/config: warn on deprected "depends" syntax instead of throwing a syntax error
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36375
12 years ago
Felix Fietkau
9d5510a500
build: add new menuconfig code based on linux 3.9
...
SVN-Revision: 36361
12 years ago
Felix Fietkau
96bb7c123b
build: consistently use 'depends on' instead of 'depends'
...
make the syntax more compatible with kernel menuconfig
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36351
12 years ago
Florian Fainelli
9e1d2c15d9
buildroot: allow enabling MIPS16 user-space build
...
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>
SVN-Revision: 36202
12 years ago