Florian Fainelli
8f5a397e4d
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-02 18:25:10 +00:00
Vasilis Tsiligiannis
69e11f1a53
scripts/checkpatch.pl: Fix whitespace errors
...
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-31 11:16:49 +00:00
Vasilis Tsiligiannis
5153d22bde
scripts/{cleanfile,cleanpatch}: Add scripts for cleaning up file and patch whitespaces
...
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-31 11:16:44 +00:00
Vasilis Tsiligiannis
ec09b7b756
scripts/checkpatch.pl: Remove checks for __setup's documentation
...
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-31 11:15:06 +00:00
Vasilis Tsiligiannis
21fbf2d125
scripts/checkpatch.pl: Remove check for deprecated features
...
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-31 11:15:03 +00:00
Vasilis Tsiligiannis
2c143cc093
scripts/checkpatch.pl: Introduce 'checkpatch.pl' script
...
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-31 11:14:53 +00:00
Felix Fietkau
ef5da32acb
build: process transitive dependencies after local dependencies
...
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
2013-08-04 12:17:26 +00:00
Felix Fietkau
e84c4d5b0a
build: suppress conditional dependencies if there are unconditional 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
2013-08-04 12:17:22 +00:00
Felix Fietkau
17e4d34085
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-21 11:55:30 +00:00
Felix Fietkau
580b2a70a0
scripts/metadata.pl: emit dependencies for package/kernel/linux
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-19 12:49:21 +00:00
Felix Fietkau
8ce0b53794
scripts/gen-dependencies.sh: clean up temp files
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37430 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-19 10:41:56 +00:00
Jo-Philipp Wich
2df2035f95
scripts: change metadata.pm and metadata.pl to not emit "default m if ALL" Kconfig instructions for hidden packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-18 13:11:46 +00:00
Felix Fietkau
d32395794d
gen-dependencies.sh: sort kmod dependencies
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-18 11:57:36 +00:00
Felix Fietkau
de904cbdf8
build: implement kernel module dependency tracking
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-18 10:47:05 +00:00
Jo-Philipp Wich
e9abe75648
metadata.pl: use alphabetical order for menuconfig categories, also fixes random ordering of symbols in .config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-16 10:35:40 +00:00
Mirko Vogt
525118266d
[scripts/downloads.pl] 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-14 21:26:35 +00:00
Felix Fietkau
f56e626514
scripts/download.pl: use HTTP instead of FTP for the default GNU site
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-09 12:52:12 +00:00
John Crispin
1597b80022
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-29 19:37:11 +00:00
Jonas Gorski
982f0f3386
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-05 20:58:03 +00:00
Jo-Philipp Wich
018abd325e
feeds: fix check for core packages that are not in the package/ toplevel directory
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36763 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-29 18:17:07 +00:00
Felix Fietkau
08f8c7edaf
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-29 10:31:45 +00:00
Jo-Philipp Wich
7f76ac5f43
scripts: dl_cleanup.py: properly detect file names with <date>-<githash> version string
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36729 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-26 17:28:11 +00:00
Felix Fietkau
b3ab992d66
build: add config symbols for different ARM arch levels
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-13 15:04:58 +00:00
Felix Fietkau
e358500854
scripts/remote-gdb: add support for debugging core files
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-09 20:50:58 +00:00
Felix Fietkau
1e025a57b3
scripts/remote-gdb: fix path when built for musl
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-09 20:50:54 +00:00
Felix Fietkau
b49e42cbdd
scripts/config: fix an option processing error that caused duplication in 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
2013-05-02 14:06:10 +00:00
Felix Fietkau
a707ec7ca3
scripts/config: warn on deprected "depends" syntax instead of throwing a 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
2013-04-22 12:53:32 +00:00
Felix Fietkau
e1c27ce985
build: add new menuconfig code based on linux 3.9
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36361 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-18 12:05:16 +00:00
Felix Fietkau
ab8468d344
build: consistently use 'depends on' instead of 'depends'
...
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
2013-04-17 15:36:41 +00:00
Florian Fainelli
e861f11c45
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-05 12:36:12 +00:00
Felix Fietkau
cf3d83fe4a
build: BSD compile fixes
...
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
2013-03-07 17:32:29 +00:00
Luka Perkov
394130b00e
scripts: update GNU mirrors
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-28 23:49:36 +00:00
Jonas Gorski
4749135974
scripts/symlink-tree.sh: print warnings/errors to stderr
...
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
2013-02-21 11:45:27 +00:00
Jonas Gorski
7464caad2a
scripts/ipkg: print warnings/errors to stderr
...
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
2013-02-21 11:45:25 +00:00
Jo-Philipp Wich
5d7f822b66
buildroot: allow specifying libc personality for external toolchains
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-20 15:06:10 +00:00
Gabor Juhos
b4f4f60ee3
Add xz compressed packages to known extensions of dl_cleanup
...
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
2013-02-17 21:37:14 +00:00
Jo-Philipp Wich
1f66b53038
scripts: bundle-libraries.sh: support mixing 32bit and 64bit binaries
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 15:54:27 +00:00
Florian Fainelli
edb46bb434
[toolchain] remove support for ubicom32
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-30 10:53:55 +00:00
Florian Fainelli
24cc4007ce
[buildroot] add preliminary support for musl
...
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
2012-11-23 20:02:29 +00:00
Gabor Juhos
0ca317b379
scripts/om-fwupgradecfg-gen.sh: add support for the MR600
...
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
2012-11-18 09:32:36 +00:00
Gabor Juhos
e16546fc1f
scripts: rename om2p-fwupgradecfg-gen.sh to more generic om-fwupgradecfg-gen.sh
...
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
2012-11-14 14:18:33 +00:00
Imre Kaloz
505a81f173
[ixp4xx:] add support for the Tonze AP-422/425
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-11 21:04:30 +00:00
Imre Kaloz
3cacce55ae
[ixp4xx]: fix machtype handling above 4096
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-11 11:07:59 +00:00
Jo-Philipp Wich
4e02c3b90a
scripts: fix remote-gdb script to cope with _eabi suffix in uClibc version
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-08 11:22:09 +00:00
Jonas Gorski
23586bad08
scrips/metadata.pl: fix broken targets with subtargets being selectable
...
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
2012-10-22 22:16:19 +00:00
Jo-Philipp Wich
bb31968b55
scripts/config: fix menuconfig segfault in text inputs when format patterns are entered by the user
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33773 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-14 17:11:57 +00:00
Imre Kaloz
e1396c49c0
AR71xx/9xxx based routers are the most common these days, select that as the default target
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-28 20:54:35 +00:00
Jo-Philipp Wich
cfac78fcdc
[scripts] fix library bundling when host libraries reside in /lib/tls/ or similar
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 22:37:32 +00:00
Jo-Philipp Wich
81fa3831f8
[scripts] add a helper script to bundle required libraries for host utilities
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-15 13:28:23 +00:00
Felix Fietkau
e5ddfdef84
build: ensure that reordering of KCONFIG lines are handled properly and that the final result does not depend on the package scan order
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-22 21:00:07 +00:00