Commit Graph

448 Commits (1879c5f8e74d14d23a5b440dd4bf85f6f5b7e908)

Author SHA1 Message Date
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
13 years ago
Jo-Philipp Wich 0c3a383974 download.pl: remove ftp.geo.kernel.org mirror, it does not resolve
SVN-Revision: 29947
13 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
13 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
13 years ago
Jo-Philipp Wich 86ddf7c7a8 ext-toolchain.sh: support --wrap with src == dest
SVN-Revision: 29944
13 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
14 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
14 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
14 years ago
Felix Fietkau b0f60f8023 scripts/config: add an option for making the conf tool write to a different file
SVN-Revision: 25230
14 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