Commit graph

421 commits

Author SHA1 Message Date
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
2013-06-05 20:58:03 +00:00
Jo-Philipp Wich
103b69e250 feeds: fix check for core packages that are not in the package/ toplevel directory
SVN-Revision: 36763
2013-05-29 18:17:07 +00:00
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
2013-05-29 10:31:45 +00:00
Jo-Philipp Wich
1c9bc8822d scripts: dl_cleanup.py: properly detect file names with <date>-<githash> version string
SVN-Revision: 36729
2013-05-26 17:28:11 +00:00
Felix Fietkau
eea89fea6a build: add config symbols for different ARM arch levels
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36620
2013-05-13 15:04:58 +00:00
Felix Fietkau
0fb3475ecc scripts/remote-gdb: add support for debugging core files
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36596
2013-05-09 20:50:58 +00:00
Felix Fietkau
ed30c90e2d scripts/remote-gdb: fix path when built for musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36595
2013-05-09 20:50:54 +00:00
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
2013-05-02 14:06:10 +00:00
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
2013-04-22 12:53:32 +00:00
Felix Fietkau
9d5510a500 build: add new menuconfig code based on linux 3.9
SVN-Revision: 36361
2013-04-18 12:05:16 +00:00
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
2013-04-17 15:36:41 +00:00
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
2013-04-05 12:36:12 +00:00
Felix Fietkau
1f77bfff96 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>

SVN-Revision: 35900
2013-03-07 17:32:29 +00:00
Luka Perkov
819472b2d0 scripts: update GNU mirrors
SVN-Revision: 35838
2013-02-28 23:49:36 +00:00
Jonas Gorski
2d8c5117c0 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>

SVN-Revision: 35718
2013-02-21 11:45:27 +00:00
Jonas Gorski
5449b24099 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>

SVN-Revision: 35717
2013-02-21 11:45:25 +00:00
Jo-Philipp Wich
9622f68581 buildroot: allow specifying libc personality for external toolchains
SVN-Revision: 35703
2013-02-20 15:06:10 +00:00
Gabor Juhos
65fc9eee18 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>

SVN-Revision: 35645
2013-02-17 21:37:14 +00:00
Jo-Philipp Wich
509f39a10a scripts: bundle-libraries.sh: support mixing 32bit and 64bit binaries
SVN-Revision: 35349
2013-01-28 15:54:27 +00:00
Florian Fainelli
4801705d83 remove support for ubicom32
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34432
2012-11-30 10:53:55 +00:00
Florian Fainelli
6b63716262 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>

SVN-Revision: 34314
2012-11-23 20:02:29 +00:00
Gabor Juhos
d325e622d2 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>

SVN-Revision: 34233
2012-11-18 09:32:36 +00:00
Gabor Juhos
7da001d068 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>

SVN-Revision: 34200
2012-11-14 14:18:33 +00:00
Imre Kaloz
527c473674 add support for the Tonze AP-422/425
SVN-Revision: 34165
2012-11-11 21:04:30 +00:00
Imre Kaloz
79289bdca5 fix machtype handling above 4096
SVN-Revision: 34141
2012-11-11 11:07:59 +00:00
Jo-Philipp Wich
26263535fe scripts: fix remote-gdb script to cope with _eabi suffix in uClibc version
SVN-Revision: 34118
2012-11-08 11:22:09 +00:00
Jonas Gorski
53c014e221 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.

SVN-Revision: 33892
2012-10-22 22:16:19 +00:00
Jo-Philipp Wich
5b38fdd704 scripts/config: fix menuconfig segfault in text inputs when format patterns are entered by the user
SVN-Revision: 33773
2012-10-14 17:11:57 +00:00
Imre Kaloz
84b43f112a AR71xx/9xxx based routers are the most common these days, select that as the default target
SVN-Revision: 33590
2012-09-28 20:54:35 +00:00
Jo-Philipp Wich
c70e919ae8 fix library bundling when host libraries reside in /lib/tls/ or similar
SVN-Revision: 33353
2012-09-09 22:37:32 +00:00
Jo-Philipp Wich
183f625a48 add a helper script to bundle required libraries for host utilities
SVN-Revision: 33195
2012-08-15 13:28:23 +00:00
Felix Fietkau
2335304a08 build: ensure that reordering of KCONFIG lines are handled properly and that the final result does not depend on the package scan order
SVN-Revision: 32788
2012-07-22 21:00:07 +00:00
Felix Fietkau
3df534502c scripts/feeds: redirect stderr of the which call to /dev/null to avoid potentially confusing error messages on some systems
SVN-Revision: 32499
2012-06-25 00:27:03 +00:00
Jo-Philipp Wich
3f8fb64e60 gen-dependencies.sh: only include lib*.so* files in dependency list, to match the filtering of provides lists
SVN-Revision: 32272
2012-06-12 22:02:41 +00:00
Felix Fietkau
7cb42738e6 package/index: filter out the libc package from the index
SVN-Revision: 32187
2012-06-11 01:29:11 +00:00
Felix Fietkau
6ca6d317b3 build: add checks for missing package dependencies
SVN-Revision: 32185
2012-06-11 00:57:36 +00:00
Felix Fietkau
03babf3641 target: add a feature flag for RTC support
SVN-Revision: 31777
2012-05-17 15:28:09 +00:00
Felix Fietkau
a243cb1735 scripts/ipkg-make-index.sh: use bash instead of /bin/sh to fix use of [[ ]]
SVN-Revision: 31708
2012-05-13 16:29:39 +00:00
Felix Fietkau
f1fd082441 build: prevent the virtual "kernel" package from leaking into the package index to make dependency checks fail on kernel config mismatch
SVN-Revision: 31704
2012-05-13 12:31:53 +00:00
Jo-Philipp Wich
12728ea66b download.pl: - cleanup cache handling code - use alternative m// and s/// delimiters to get rid of tedious slash escaping - use multi-argument form of system() where possible to avoid quoting & escaping issues - avoid a temporary variable
SVN-Revision: 31677
2012-05-11 18:17:15 +00:00
Felix Fietkau
85f1a2c67a add further countermeasures against the git core.autocrlf option (fixes #9075)
SVN-Revision: 31650
2012-05-08 13:30:54 +00:00
Jo-Philipp Wich
643babfc3c ext-toolchain.sh: don't pass CFLAGS when wrapping ld
SVN-Revision: 31549
2012-05-01 22:45:55 +00:00
Felix Fietkau
34ffb526a2 build: rework verbosity level selection
V=99 and V=1 are now deprecated in favor of a new verbosity class system,
though the old flags are still supported.
You can set the V variable on the command line (or OPENWRT_VERBOSE in the
environment) to one or more of the following characters:

- s: stdout+stderr (equal to the old V=99)
- c: commands (for build systems that suppress commands by default, e.g. kbuild)
- w: warnings/errors only (equal to the old V=1)

SVN-Revision: 31484
2012-04-26 17:53:56 +00:00
Mirko Vogt
1f489e4084 re-enable shallow git clones ('--depth 1')
SVN-Revision: 31469
2012-04-24 18:19:16 +00:00
Mirko Vogt
2ebcd4707c include revisions of feeds when listing them
SVN-Revision: 31467
2012-04-24 12:56:18 +00:00
John Crispin
0c4bcae7a1 allow arbitary folder layout when using localmirrors
Make the download script follow symlinks and search subfolders when looking for
a file in a local download mirror.

Signed-off-by: Tathagata Das <tathagata@alumnux.com>

SVN-Revision: 31240
2012-04-10 14:11:45 +00:00
Felix Fietkau
571bd159a1 kernel: fix stripping of modules with duplicate symbol names
SVN-Revision: 31031
2012-03-19 21:09:47 +00:00
Felix Fietkau
7b609a31be kernel: improve profiling support, keep static symbols when profiling is enabled
SVN-Revision: 30964
2012-03-17 13:03:14 +00:00
Felix Fietkau
236dd9d9a2 kernel: keep more symbols in the kernel modules when doing profiling
SVN-Revision: 30762
2012-03-01 15:13:26 +00:00
Felix Fietkau
a8ec8ce1ac kernel: do not rename module symbols with kallsyms enabled
SVN-Revision: 30759
2012-03-01 09:58:03 +00:00