Commit Graph

669 Commits (98fb380d8855f7d6b94f3be791331adaa3d88a2a)

Author SHA1 Message Date
Jo-Philipp Wich 2490007142 script/remote-gdb: enable and keep command history
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 42609
10 years ago
Jo-Philipp Wich a720dd209f build: introduce per feed repository support
This changeset implements a new menuconfig option to generate separate
repositories for each enabled package feed instead of one monolithic one.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 42002
10 years ago
John Crispin 4e03bdd63c scripts/om-fwupgradecfg-gen.sh: add support for the OM5P
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 41771
10 years ago
Felix Fietkau 069e862ad5 scripts/abs2rel.pl: remove, it is unused
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41510
10 years ago
Felix Fietkau dcb5d00875 scripts: unset GREP_OPTIONS in env and feeds (fixes #16924)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41407
10 years ago
John Crispin d1898b84c6 scripts/ubinize-image.sh: fix ubinize-image.sh when used with --kernel
r41359 broke support for building ubinized images which do
include a kernel volume.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 41368
10 years ago
Imre Kaloz dc9ebfc9e6 make UbinizeImage work nicely without a kernel volume
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41359
10 years ago
John Crispin 0f39877bac scripts/ubinize-image.sh: fix parameter handling
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
10 years ago
Felix Fietkau 58bd3b0764 scripts/metadata.pl: avoid adding depends and select for the same symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41160
10 years ago
John Crispin ac5d5cbc79 kernel: add a NAND_SUPPORT symbol
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41122
10 years ago
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
10 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
10 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
10 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
10 years ago
Felix Fietkau e9abf9f8a0 scripts/metadata.pl: fix ignoring missing host dependencies
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39917
10 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
10 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
10 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
10 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
11 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
11 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
11 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
11 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
11 years ago
Jo-Philipp Wich 103b69e250 feeds: fix check for core packages that are not in the package/ toplevel directory
SVN-Revision: 36763
11 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
11 years ago
Jo-Philipp Wich 1c9bc8822d scripts: dl_cleanup.py: properly detect file names with <date>-<githash> version string
SVN-Revision: 36729
11 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
11 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
11 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
11 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
11 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
11 years ago
Felix Fietkau 9d5510a500 build: add new menuconfig code based on linux 3.9
SVN-Revision: 36361
11 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
11 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
11 years ago
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
11 years ago
Luka Perkov 819472b2d0 scripts: update GNU mirrors
SVN-Revision: 35838
11 years ago
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
11 years ago
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
11 years ago
Jo-Philipp Wich 9622f68581 buildroot: allow specifying libc personality for external toolchains
SVN-Revision: 35703
11 years ago
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
11 years ago
Jo-Philipp Wich 509f39a10a scripts: bundle-libraries.sh: support mixing 32bit and 64bit binaries
SVN-Revision: 35349
11 years ago
Florian Fainelli 4801705d83 remove support for ubicom32
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34432
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
Imre Kaloz 527c473674 add support for the Tonze AP-422/425
SVN-Revision: 34165
12 years ago
Imre Kaloz 79289bdca5 fix machtype handling above 4096
SVN-Revision: 34141
12 years ago
Jo-Philipp Wich 26263535fe scripts: fix remote-gdb script to cope with _eabi suffix in uClibc version
SVN-Revision: 34118
12 years ago
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
12 years ago
Jo-Philipp Wich 5b38fdd704 scripts/config: fix menuconfig segfault in text inputs when format patterns are entered by the user
SVN-Revision: 33773
12 years ago
Imre Kaloz 84b43f112a AR71xx/9xxx based routers are the most common these days, select that as the default target
SVN-Revision: 33590
12 years ago
Jo-Philipp Wich c70e919ae8 fix library bundling when host libraries reside in /lib/tls/ or similar
SVN-Revision: 33353
12 years ago
Jo-Philipp Wich 183f625a48 add a helper script to bundle required libraries for host utilities
SVN-Revision: 33195
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
Felix Fietkau 7cb42738e6 package/index: filter out the libc package from the index
SVN-Revision: 32187
12 years ago
Felix Fietkau 6ca6d317b3 build: add checks for missing package dependencies
SVN-Revision: 32185
12 years ago
Felix Fietkau 03babf3641 target: add a feature flag for RTC support
SVN-Revision: 31777
12 years ago
Felix Fietkau a243cb1735 scripts/ipkg-make-index.sh: use bash instead of /bin/sh to fix use of [[ ]]
SVN-Revision: 31708
12 years ago
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
12 years ago
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
12 years ago
Felix Fietkau 85f1a2c67a add further countermeasures against the git core.autocrlf option (fixes #9075)
SVN-Revision: 31650
12 years ago
Jo-Philipp Wich 643babfc3c ext-toolchain.sh: don't pass CFLAGS when wrapping ld
SVN-Revision: 31549
12 years ago
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
12 years ago
Mirko Vogt 1f489e4084 re-enable shallow git clones ('--depth 1')
SVN-Revision: 31469
12 years ago
Mirko Vogt 2ebcd4707c include revisions of feeds when listing them
SVN-Revision: 31467
12 years ago
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
12 years ago
Felix Fietkau 571bd159a1 kernel: fix stripping of modules with duplicate symbol names
SVN-Revision: 31031
12 years ago
Felix Fietkau 7b609a31be kernel: improve profiling support, keep static symbols when profiling is enabled
SVN-Revision: 30964
12 years ago
Felix Fietkau 236dd9d9a2 kernel: keep more symbols in the kernel modules when doing profiling
SVN-Revision: 30762
12 years ago
Felix Fietkau a8ec8ce1ac kernel: do not rename module symbols with kallsyms enabled
SVN-Revision: 30759
12 years ago
Felix Fietkau 548155ab7d Revert "scripts/download.pl: fix sourceforge url"
To use the new url, the project name would need to be appended multiple times,
let's hope the old redirect will continue to work in the future

SVN-Revision: 30730
12 years ago
Felix Fietkau 4dc4ebe0c8 scripts/download.pl: fix sourceforge url
SVN-Revision: 30726
12 years ago
Felix Fietkau c2590fe930 strip kernel modules more aggressively: make all global symbols local, rename all symbols in the symbol table to make them compress better
SVN-Revision: 30662
12 years ago
Florian Fainelli e50315d61c env: colorize git output
SVN-Revision: 30602
12 years ago
Jo-Philipp Wich 1a6ccdc0cf patch-specs.sh: gcc 3.4.6 has an additional "(OpenWrt-2.0)" after the version tag, cope with that
SVN-Revision: 29948
12 years ago
Jo-Philipp Wich 0c3a383974 download.pl: remove ftp.geo.kernel.org mirror, it does not resolve
SVN-Revision: 29947
12 years ago
Jo-Philipp Wich c21b5cc34a ext-toolchain.sh: rework generated gcc wrapper Only append -L and -Wl,-rpath-link flags if the command line contains -l, -L, -shared or -static flags; this is needed to suppress "-rpath-link: linker input file unused because linking not done" on each cc invocation.
SVN-Revision: 29946
12 years ago
Jo-Philipp Wich d5cf09642c patch-specs.sh: fallback to ext-toolchain.sh --wrap if spec file patching is not possible (gcc < 4.3.0)
SVN-Revision: 29945
12 years ago
Jo-Philipp Wich 86ddf7c7a8 ext-toolchain.sh: support --wrap with src == dest
SVN-Revision: 29944
12 years ago
Jo-Philipp Wich fe60046a26 ext-toolchain.sh: CONFIG_NLS -> CONFIG_BUILD_NLS
SVN-Revision: 29782
13 years ago
Jo-Philipp Wich ee62b0d751 ext-toolchain.sh: fix typo
SVN-Revision: 29781
13 years ago
Jo-Philipp Wich 796231d95c ext-toolchain.sh: add option to write .config Add a new --config option to generate a .config from a given toolchain, this allows for easy integration of external toolchains, e.g.
./scripts/ext-toolchain.sh --toolchain /opt/mips-2011.03 --cflags "-muclibc" --config atheros

to setup a ready-to-compile atheros target using the external CodeSourcery toolchain.

SVN-Revision: 29780
13 years ago
Jo-Philipp Wich 989c73848f ext-toolchain.sh: properly handle toolchains without sysroot support
SVN-Revision: 29772
13 years ago
Jo-Philipp Wich f20b6c3ff9 ext-toolchain.sh: - use GCC's own idea of the target name (-dumpmachine) - display help if called without args - add copyright foo - remove some leftover flag handling code
SVN-Revision: 29769
13 years ago
Jo-Philipp Wich 6df3af8a36 add patch-specs.sh, a utility for modifying GCC specs The patch-specs.sh utility dumps the GCC specs of a given toolchain and modifies them to always include $STAGING_DIR in the link and compiler command lines, this makes most -I and -L flags unnecessary and lets the compiler automatically find libraries and headers in the staging dir, also solves the majority of -rpath issues.
SVN-Revision: 29767
13 years ago
Jo-Philipp Wich 7a563f122f add ext-toolchain.sh, a utility for external toolchains The ext-toolchain.sh utility script implements various external toolchain tasks: * Testing of available features, like c++, soft-float or ipv6 support * Finding the libc implementation (uclibc or eglibc/glibc) * Inferring the GNU target name * Finding shared objects for packaging (libc, libpthread, ...) * Finding executables for packaging (ldd, gdbserver, ...) * Generating wrapper scripts for toolchain commands
SVN-Revision: 29765
13 years ago
Jo-Philipp Wich 73b4974397 metadata.pl: filter direct recursive depends like "select PACKAGE_kmod-ipv6 if PACKAGE_kmod-ipv6"
SVN-Revision: 29695
13 years ago
Gabor Juhos 6c28efff9c scripts: add a script for generating fwupgrade config for the OM2P board
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 29396
13 years ago
Nicolas Thill 140dfb485f scripts: add script to generate combined extended image format
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 29358
13 years ago
Felix Fietkau a97304cf61 scripts/env: improve the wording of the question when starting repository (patch by Rolf Leggewie)
SVN-Revision: 29262
13 years ago
Felix Fietkau 6b929e2687 scripts/env: make mv and cp operations more robust (treat dotfiles appropriately) (based on patch by Rolf Leggewie)
SVN-Revision: 29261
13 years ago
Felix Fietkau b9eb659364 scripts/env: fix indentation (patch by Rolf Leggewie)
SVN-Revision: 29260
13 years ago
Michael Büsch 50a7ff97ef mconf: Fix compile warning: "warning: conflicting types for ‘sym_set_all_changed’"
SVN-Revision: 29190
13 years ago
Felix Fietkau 5e48d47dfe scripts/config: merge fixes for various issues, including recursive dependency detection/handling (patch by mbm)
SVN-Revision: 28658
13 years ago
Jo-Philipp Wich ad6c4198a9 getver.sh: cope with varying "git log" line formats to reliably extract the git-svn rev (#10268)
SVN-Revision: 28604
13 years ago
Felix Fietkau e925dbf704 scripts/feeds: override the OPENWRT_BUILD variable when calling internal targets (based on patch from #10212)
SVN-Revision: 28503
13 years ago
John Crispin ad250089aa allow targets to define a default subtarget when using automatic subtarget detection from r27407
SVN-Revision: 27444
13 years ago
John Crispin 4d8b9fafcb ignore empty lines in scripts/localmirrors
SVN-Revision: 27416
13 years ago
Jo-Philipp Wich 0649dfdfb6 download.pl: cope with potential two-digit linux versions
SVN-Revision: 27376
13 years ago
Felix Fietkau bcf4757508 add support for hidden packages that get selected/built but do not show up in menuconfig
SVN-Revision: 27344
13 years ago
Jo-Philipp Wich e745fc762b metadata.pl: fix handling of multiple conditional depends that reference the same package (exposed by previous hotplug2 changes), also kill duplicate dependency specs while we're at it
SVN-Revision: 27267
13 years ago
Jo-Philipp Wich 11dcad2834 scripts/config/.gitignore omits source files scripts/config/.gitignore aims to avoid checking binaries in to git. Unfortunately it also omits conf.c, confdata.c, and all source files in lxdialog. An OpenWRT tree pulled from a git repository will not build, and I suspect this was not the intention.
Signed-off-by: Denton Gentry <denny@geekhold.com>

SVN-Revision: 27244
13 years ago
Hauke Mehrtens e04f68fb77 Fix CONFIG_LINUX_ for linux 3.0
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 27184
13 years ago
Felix Fietkau 6e43f65dc4 remove the now unused Target-Kernel field from the target metadata
SVN-Revision: 27033
13 years ago
Jo-Philipp Wich a02ba6ccc2 Add support for git-svn package feeds Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
SVN-Revision: 26988
13 years ago
Felix Fietkau 984ab9a139 metadata: do not emit feature flag selects for targets which have subtargets - fixes a buildbot error cause by ssb not being blacklisted for lantiq falcon
SVN-Revision: 26926
13 years ago
Hamish Guthrie 7b53059401 Correct libc path
SVN-Revision: 26885
13 years ago
Felix Fietkau 459762ace2 add a new package metadata variable MDEPENDS for specifying local menuconfig dependencies that do not propagate to other packages
SVN-Revision: 26491
13 years ago
John Crispin e42e2b3e9c path expansion was broken due to a badly quoted *
Signed-of-by: Benjamin Cama <benoar@dolka.fr>

SVN-Revision: 26391
13 years ago
Felix Fietkau 1dbabd309b scripts/diffconfig.sh: handle CONFIG_ALL, CONFIG_DEVEL and CONFIG_TOOLCHAINOPTS properly
SVN-Revision: 26349
13 years ago
Felix Fietkau 1cc0bcfffc base-files: relink uclibc and libgcc libraries to remove leftovers of the statically linked initial libgcc saves a few kb and gets rid of unused not exported functions as well should also improve the reliability of mklibs
SVN-Revision: 25800
13 years ago
Jo-Philipp Wich 073c5e0e74 add config.rpath and link it in autotools.mk if missing, some packages might need it, especially users of lib-link.m4 or iconv.m4
SVN-Revision: 25753
13 years ago
Jo-Philipp Wich 3edf9c3544 Never write errors to stdout from ipkg-make-index.sh
Since the output of ipkg-make-index.sh is unconditionally used to create
the Packages file, sending the errors into this file is unacceptable
(both because they are not shown to users and because they make an
invalid Packages file).

For incorrect invocation, write to stderr.
For errors from which, send to /dev/null with stdout.

Signed-off-by: Kevin Locke <klocke@digitalenginesoftware.com>

SVN-Revision: 25677
13 years ago
Jo-Philipp Wich a9c7feb0f7 download.pl: adjust kernel download urls for longterm and testing releases
SVN-Revision: 25589
13 years ago
Felix Fietkau 8d0cf8fde2 metadata: fix handling of multiple build dependencies with different conditions
SVN-Revision: 25505
13 years ago
Felix Fietkau b0359432ae scripts/diffconfig.sh: use the new kconfig mode to remove some more unnecessary entries in the generated output
SVN-Revision: 25233
13 years ago
Felix Fietkau b760b5fcf7 scripts/kconfig.pl: add a mode to generate a config diff that ignores added undefined config values
SVN-Revision: 25232
13 years ago
Felix Fietkau 024dc6ea5f add scripts/diffconfig.sh: a tool for making reduced .config files these files contain only the target selection and options that differ from the default settings this makes it much easier to review .config files
SVN-Revision: 25231
13 years ago
Felix Fietkau b0f60f8023 scripts/config: add an option for making the conf tool write to a different file
SVN-Revision: 25230
13 years ago
Felix Fietkau 8740549c57 mpc85xx: add a new 'spe_fpu' feature flag for the FPU used on freescale powerpc cpus The SPE FPU is ABI-incompatible with the regular powerpc FPU, this needs to be reflected in the toolchain target name. Fixes floating point crashes in user space
SVN-Revision: 25018
14 years ago
Jo-Philipp Wich 65fad8645d download.pl: pass --no-check-certificate to wget
SVN-Revision: 24686
14 years ago
Michael Büsch 58255d44e2 deptest: Also accept stamps that are broken links.
SVN-Revision: 24350
14 years ago
Felix Fietkau 3945267a99 scripts/feeds: support checking out git trees with different branches
SVN-Revision: 24285
14 years ago
Michael Büsch bdfe80df4c deptest: Make stamps be symlinks to logs.
SVN-Revision: 24277
14 years ago
Imre Kaloz 4052849677 switch from ext2 to ext4 (w/o) journaling
SVN-Revision: 24084
14 years ago
Michael Büsch bf274946af deptest: Capitalize failure message. Makes it easier to spot in the logs.
SVN-Revision: 23855
14 years ago
Michael Büsch 100fc4c7ce deptest: Do not clobber the base build and staging dirs
SVN-Revision: 23835
14 years ago
Michael Büsch 55081c6a19 deptest: --force also overrides blacklist stamps
SVN-Revision: 23827
14 years ago
Michael Büsch ae6b08d22b deptest: Add --force to force a test
SVN-Revision: 23826
14 years ago
Michael Büsch 050902efd7 deptest: Install of host tools has to be forced for every test, because the host staging dir is cleaned prior a test.
SVN-Revision: 23825
14 years ago
Michael Büsch 00e1797f14 deptest: Add option for lean test
SVN-Revision: 23821
14 years ago
Michael Büsch 1e317e8f43 deptest: Add sanity check to avoid trouble with illegal package names
SVN-Revision: 23819
14 years ago
Michael Büsch 57ccc7e834 deptest: Support specifying certain packages to test on the commandline.
SVN-Revision: 23818
14 years ago
Michael Büsch 0e2b397a8b deptest: Add optional blacklisting
SVN-Revision: 23811
14 years ago
Michael Büsch ba91f56bf4 deptest: Check for .config
SVN-Revision: 23810
14 years ago
Michael Büsch 87fe1d36d3 deptest: Install the kernel at init stage
SVN-Revision: 23809
14 years ago
Michael Büsch e37d386dfc deptest: Better detection of base directory
SVN-Revision: 23807
14 years ago
Michael Büsch 0cacb5855d deptest: Also make sure the toolchain is built in the initialization step. This makes it possible to run the script from within a fresh tree.
SVN-Revision: 23806
14 years ago
Michael Büsch 0f21452ff8 deptest: Also create "failed" stamps. This makes it easier to check what failed after the script finished.
SVN-Revision: 23805
14 years ago
Michael Büsch 6bb89b547a deptest: Add shbang
SVN-Revision: 23804
14 years ago
Michael Büsch 12dfecd4be deptest: Fix indent
SVN-Revision: 23803
14 years ago
Florian Fainelli 0d74b45467 add support for darcs-based feeds
The following patch adds support for darcs-based feeds.
It is tested and works well for my purpose.  I wish it
were committed upstream so that I can share my feed with
other users without converting it to svn/git/whatever.

Best regards,

Signed-off-by: Gabriel Kerneis <kerneis@pps.jussieu.fr>

SVN-Revision: 23616
14 years ago
Michael Büsch b5cfdcd278 Fix typo
SVN-Revision: 23524
14 years ago
Jo-Philipp Wich 04c4b01fb4 remote-gdb: fix parsing of arch and libc from given path as well
SVN-Revision: 23407
14 years ago
Jo-Philipp Wich 9d50430238 remote-gdb: - fix parsing of arch-libc tuples - automatically add sysroot to executable if needed
SVN-Revision: 23406
14 years ago
Jo-Philipp Wich 80a79d3910 metadata.pl: don't emit LINUX_2_6 selects anymore
SVN-Revision: 23375
14 years ago
Jo-Philipp Wich be2a1e14ba patch-kernel.sh: utilize --force (#7745), also use the PATCH env var and fallback to "patch" if unset
SVN-Revision: 23314
14 years ago
Jo-Philipp Wich adcfdc46e0 feeds: restore previously active feed after install_package(), fixes install all case for packages with inter-feed dependencies
SVN-Revision: 23171
14 years ago
Felix Fietkau 7f80e26661 fix build dependencies on packages with multiple variants but no selected virtual packages
SVN-Revision: 23102
14 years ago
Michael Büsch 1460115836 dl_cleanup: Add support for GIT-SHASUM
SVN-Revision: 23084
14 years ago
Jo-Philipp Wich 064e7c8f00 Implement an ARCH_PACKAGES variable which defaults to BOARD but can be overridden on a per-subtarget basis. This is intended for targets such as adm5120 and malta which support both big and little endianess and will replace the target specific exceptions in package-defaults and Image Builder.
SVN-Revision: 23029
14 years ago
Jo-Philipp Wich 097d38615b metadata.pl: fix handling of HOST_BUILD_DEPENDS if a package is referenced that only exists as source pkg, e.g. libtool
SVN-Revision: 22946
14 years ago
Felix Fietkau 00d1e599d7 add a command for printing a cleaned up make target database - will be used to analyze package dependencies at some point
SVN-Revision: 22871
14 years ago
Felix Fietkau 198f027c4b scripts/feeds: fix a bug in the metadata caching change
SVN-Revision: 22819
14 years ago
Felix Fietkau 76d517b629 scripts/feeds: switch to the right feed metadata when installing a package to fix dependency handling (patch by matthijs from #5891)
SVN-Revision: 22815
14 years ago
Felix Fietkau f9ff9d02f6 scripts/feeds: cache feed metadata instead of re-reading it on every get_feed() call
SVN-Revision: 22814
14 years ago
Michael Büsch 7a8066735d Add usb gadget feature flag
SVN-Revision: 22798
14 years ago
Michael Büsch b0745dd8ce Fix dl_cleanup.py
SVN-Revision: 22578
14 years ago
Felix Fietkau 0e1337ea47 scripts/env: fix initialization of files/ when creating a new environment (patch from #7603)
SVN-Revision: 22336
14 years ago
Imre Kaloz c1e57d12c8 upgrade the config.* scripts
SVN-Revision: 22312
14 years ago
Hamish Guthrie 1d2f157928 Revert r22094 and r22095
SVN-Revision: 22096
14 years ago
Hamish Guthrie 6a7c2c244f Added --non-interactive flag to svn package downloads
SVN-Revision: 22095
14 years ago
Hamish Guthrie 6615374f13 add --trust-server-cert to svn checkout of feeds
SVN-Revision: 22094
14 years ago
Felix Fietkau bb44616ebe set the default target to brcm47xx, now that brcm-2.4 is gone
SVN-Revision: 21960
14 years ago
Florian Fainelli 27fc94ff52 make flashing scripts executable
SVN-Revision: 21958
14 years ago
Nicolas Thill b3b591c000 buildsystem: rename tgz/TGZ "feature" and matching options to targz/TARGZ
SVN-Revision: 21238
14 years ago
Felix Fietkau ceaa4bbe3c metadata.pl: fix recursive handling of conditional dependencies
SVN-Revision: 21088
14 years ago
Felix Fietkau 091934e7fb fix timestamp checks for build system paths which have '.svn' in their directory name
SVN-Revision: 20856
14 years ago
Nicolas Thill 841eff56d4 target/ixp4xx: fix image building after r20834 (closes: #7157)
SVN-Revision: 20854
14 years ago
Florian Fainelli a1058204d0 rework board detection
Rework board detection, separate board specific code into its own file. As a
result we also change the way rdc images are generated.
Support for board which required binary tools, like AMIT are dropped. Patch by
Bernhard Loos.

SVN-Revision: 20294
14 years ago
Jo-Philipp Wich 029b3f62ab remote-gdb: * use sysroot instead of solib search paths * don't query arch if there's only one choice
SVN-Revision: 20290
14 years ago
Felix Fietkau 63350fa59b scripts/metadata.pl: fix handling of multiple conditional depends on the same package
SVN-Revision: 20085
14 years ago
Jo-Philipp Wich e2e39dae90 ipkg: strip directory entries from package file list when offline installing .ipk archives, this prevents opkg from removing directories like /usr later on when trying to uninstall preinstalled packages (partial fix for #6772)
SVN-Revision: 19936
14 years ago
Jo-Philipp Wich ba29f08008 remote-gdb: change library paths after r19849, swap usr/lib/ and lib/
SVN-Revision: 19850
14 years ago
Jo-Philipp Wich 20a64a738c remote-gdb: add build_dir/target-*/debug-* to solib-search-path
SVN-Revision: 19845
14 years ago
Lars-Peter Clausen 900de42186 Add audio feature flag.
There are targets which neither have usb host nor pci support but do have audio
capabilities. Those targets should expliclitly specifiy that they support audio
through the new feature flag. The audio feature flag is also implicitly selected
by the usb and pci feature flags.

SVN-Revision: 19643
14 years ago
Travis Kemen cf7a37f119 add geodns addresses for the kernel, closes #6574
SVN-Revision: 19621
14 years ago
Hauke Mehrtens 292b9782cd preinit: fix #6596 Setting LAN IP Address in menuconfig is ignored
SVN-Revision: 19384
15 years ago
Felix Fietkau 75e38a19cf kconfig.pl: fix handling of multiple kmod-* package referencing the same KCONFIG symbols
SVN-Revision: 19366
15 years ago
Felix Fietkau 56bc02a305 add preinit modularization work by Daniel Dickinson (cshore)
SVN-Revision: 19331
15 years ago
Felix Fietkau ccb604a573 metadata: allow build variants to contain "-"
SVN-Revision: 19284
15 years ago
Lars-Peter Clausen db06ca593b Add support for building ubifs images.
SVN-Revision: 19097
15 years ago
Michael Büsch ff6010a732 dl_cleanup: Show it to the user, if file extension or version pattern is unknown
SVN-Revision: 19085
15 years ago
Michael Büsch bee5dab1a1 dl_cleanup: Add regex for foo_1_2_3
SVN-Revision: 19084
15 years ago
Michael Büsch 9c54343555 dl_cleanup: Allow removing items from blacklist
SVN-Revision: 19083
15 years ago
Michael Büsch 274e372e4c dl_cleanup: Add linux and gcc to blacklist
SVN-Revision: 19082
15 years ago
Michael Büsch 4a2465a295 dl_cleanup: Add dry-run option
SVN-Revision: 19081
15 years ago
Florian Fainelli aca9c9c81d adjust svn:ignore for cygwin builds
SVN-Revision: 19040
15 years ago
Lars-Peter Clausen 41a1a80059 update-package-md5sum: A tool to update the md5sum of openwrt packages. Useful when upgrading a set of packages.
SVN-Revision: 19019
15 years ago
Michael Büsch 16d107d5f9 dl_cleanup: Utility to delete all but the very last version of the tarballs in the download directory. The tool does currently have a few false positives (probably below 1%), but this is harmless, because buildroot will just redownload them.
SVN-Revision: 19018
15 years ago
Felix Fietkau 919724ab50 scripts/combined-image.sh: remove the use of mktemp to make it more portable
SVN-Revision: 18920
15 years ago
Felix Fietkau 30992cceeb menuconfig: allow wildcard includes to return no match (#6339)
SVN-Revision: 18743
15 years ago
Felix Fietkau 04abaefe70 add a simple script for symlinking one tree into another for doing builds with separate build dirs, but the same source dir
SVN-Revision: 18734
15 years ago
Felix Fietkau edeee3ac19 metadata.pl: fix menuconfig code for package features
SVN-Revision: 18386
15 years ago
Felix Fietkau 579d54038b build system: introduce a new feature called build variants. it allows building a package multiple times in one pass with different build dirs, based on the same build settings. replaces templating hacks like the one used in the hostapd package
SVN-Revision: 18357
15 years ago
Felix Fietkau ea63b88b10 metadata: process dependencies for targets that have subtargets as well - hides the ramips target unless the user has requested to play with broken packages/targets (related to #6051)
SVN-Revision: 18306
15 years ago
Jo-Philipp Wich 9df63ce253 add "remote-gdb", a helper script to connect the local host gdb with a running gdbserver on the target
SVN-Revision: 18153
15 years ago
Felix Fietkau 94cdcbde6d add experimental support for a new menuconfig submenu "Package features". allows selection between multiple packages providing the same feature, which affects dependencies of other packages. will be used e.g. for choosing between DirectFB and X.org for libraries like GTK2
SVN-Revision: 18056
15 years ago
Nicolas Thill 0aeed7e525 getver: don't use "-r COMMITTED" arg which needs network access to the repository, use the "Last Changed Rev:" line instead
SVN-Revision: 17864
15 years ago
Nicolas Thill c9b0c63f07 metadata.pl: fix a bug where dependency flags (@ and +) from a dependency were inherited by others
SVN-Revision: 17840
15 years ago
Felix Fietkau 7bd8115c7e metadata.pl: do not strip whitespaces from multiline data
SVN-Revision: 17827
15 years ago
Nicolas Thill 6fa03d63d4 getver: get svn rev from last commit so that we have consistent revision numbers between git and svn
SVN-Revision: 17781
15 years ago
Felix Fietkau 25fadf0b07 make scripts/ipkg more portable by using printf instead of echo -n
SVN-Revision: 17729
15 years ago
Jo-Philipp Wich f58536ff83 use mktemp instead of tempfile in combined-image.sh to make it work on OS X
SVN-Revision: 17674
15 years ago
Jo-Philipp Wich f20af38322 Implement a preliminary combined image format. - add sysupgrade support for combined images by providing a platform.sh backend - use the mtd fis partition table rewrite facility to resize partitions on demand - generate generic combined images for the atheros target
SVN-Revision: 17668
15 years ago
Felix Fietkau caf8074566 scripts/feeds: fix an error message
SVN-Revision: 17451
15 years ago
Felix Fietkau cbb9a14d8a add hg support to getver.sh (patch from #5763)
SVN-Revision: 17432
15 years ago
Imre Kaloz 49e657f433 fix breakage introduced with [17394]
SVN-Revision: 17395
15 years ago
Florian Fainelli 32ab3b9692 do not check for a specific Cygwin version, rather check the operating system name directly, thanks AndyI
SVN-Revision: 17394
15 years ago
Felix Fietkau ec7621ebf9 add nommu target feature flag
SVN-Revision: 17347
15 years ago
Felix Fietkau aee9d6c31c add a heavily cleaned up version of ubicom32 toolchain support
SVN-Revision: 17346
15 years ago
Geoff Levand 7581681466 powerpc: Create a powerpc64 config feature
The config symbol TARGET_ps3 is used in the build files where
special handling for the 64 bit PowerPC processors is needed.
Introduce a new config feature powerpc64, and replace the use
of TARGET_ps3 with powerpc64.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>

SVN-Revision: 17306
15 years ago
Lars-Peter Clausen 4063d0c93f Workaround a bug(?) in tar in debian squeeze, which causes the build process to fail without any reason.
SVN-Revision: 16390
15 years ago
Imre Kaloz 48cd8188ef missing changes for pcie handling
SVN-Revision: 16294
15 years ago
Felix Fietkau 487570f387 deptest: use a separate build dir for host packages to prevent hardcoded path screwups
SVN-Revision: 16162
15 years ago
Felix Fietkau 0fc0346e0a deptest: handle packages from feeds
SVN-Revision: 16099
15 years ago
Felix Fietkau f40ea986e9 add a somewhat hackish script for automatic dependency testing
SVN-Revision: 16097
15 years ago
Felix Fietkau 1428bca7f5 scripts/feeds: ignore virtual packages
SVN-Revision: 15706
15 years ago
Felix Fietkau 0db826eded scripts/feeds: fix a warning (#4474)
SVN-Revision: 15600
15 years ago
Nicolas Thill 54d622a815 add a workaround to rstrip restoring exec perms when they got changed by sstrip
SVN-Revision: 15312
15 years ago
Felix Fietkau 34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
15 years ago
Mirko Vogt 9af0ab6efa use parent-dependencies for all dependencies of a package, not only those which are conditional deendencies (thanks to lars (also for this commit message :P)) fixes bug #4917
SVN-Revision: 15187
15 years ago