Florian Fainelli
6851911ccd
[scripts] env: colorize git output
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 19:24:34 +00:00
Jo-Philipp Wich
c10c357a74
[scripts] patch-specs.sh: gcc 3.4.6 has an additional "(OpenWrt-2.0)" after the version tag, cope with that
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-29 20:19:06 +00:00
Jo-Philipp Wich
acd9bb6f8d
[scripts] download.pl: remove ftp.geo.kernel.org mirror, it does not resolve
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-29 19:28:12 +00:00
Jo-Philipp Wich
8f49540aa7
[scripts] 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-29 18:53:12 +00:00
Jo-Philipp Wich
2c6847fa45
[scripts] patch-specs.sh: fallback to ext-toolchain.sh --wrap if spec file patching is not possible (gcc < 4.3.0)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-29 17:42:58 +00:00
Jo-Philipp Wich
5da516bb55
[scripts] ext-toolchain.sh: support --wrap with src == dest
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-29 17:42:10 +00:00
Jo-Philipp Wich
c071f2b90b
[scripts] ext-toolchain.sh: CONFIG_NLS -> CONFIG_BUILD_NLS
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29782 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-19 00:03:52 +00:00
Jo-Philipp Wich
f24b74fc72
[scripts] ext-toolchain.sh: fix typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29781 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-19 00:01:54 +00:00
Jo-Philipp Wich
4926d6074e
[scripts] 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 23:46:06 +00:00
Jo-Philipp Wich
838e920855
[scripts] ext-toolchain.sh: properly handle toolchains without sysroot support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 04:03:15 +00:00
Jo-Philipp Wich
20a5105819
[scripts] 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 03:32:30 +00:00
Jo-Philipp Wich
c9fe1a096b
[scripts] 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 03:11:45 +00:00
Jo-Philipp Wich
39407a1e6e
[scripts] 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 03:03:24 +00:00
Jo-Philipp Wich
c4e84eb3f8
[scripts] metadata.pl: filter direct recursive depends like "select PACKAGE_kmod-ipv6 if PACKAGE_kmod-ipv6"
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-08 15:49:20 +00:00
Gabor Juhos
e5d1afc6e3
scripts: add a script for generating fwupgrade config for the OM2P board
...
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:49:03 +00:00
Nicolas Thill
98ad18d6f0
scripts: add script to generate combined extended image format
...
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-30 07:43:58 +00:00
Felix Fietkau
96285ef8bd
scripts/env: improve the wording of the question when starting repository (patch by Rolf Leggewie)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-19 17:15:53 +00:00
Felix Fietkau
e9d65e1e2b
scripts/env: make mv and cp operations more robust (treat dotfiles appropriately) (based on patch by Rolf Leggewie)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29261 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-19 17:15:50 +00:00
Felix Fietkau
eeba5feb8d
scripts/env: fix indentation (patch by Rolf Leggewie)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-19 17:15:45 +00:00
Michael Büsch
f1f34a5169
mconf: Fix compile warning:
...
"warning: conflicting types for ‘sym_set_all_changed’"
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-16 17:27:36 +00:00
Felix Fietkau
141e0902dc
scripts/config: merge fixes for various issues, including recursive dependency detection/handling (patch by mbm)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28658 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-28 14:09:12 +00:00
Jo-Philipp Wich
80c2325031
[scripts] getver.sh: cope with varying "git log" line formats to reliably extract the git-svn rev ( #10268 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-26 14:54:57 +00:00
Felix Fietkau
f7606791e3
scripts/feeds: override the OPENWRT_BUILD variable when calling internal targets (based on patch from #10212 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-21 13:03:37 +00:00
John Crispin
076d58c2cb
allow targets to define a default subtarget when using automatic subtarget detection from r27407
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-04 11:21:37 +00:00
John Crispin
2e3b0f7f91
ignore empty lines in scripts/localmirrors
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 19:33:24 +00:00
Jo-Philipp Wich
32523a2688
[scripts] download.pl: cope with potential two-digit linux versions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:00:24 +00:00
Felix Fietkau
c163347f4b
add support for hidden packages that get selected/built but do not show up in menuconfig
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 06:49:09 +00:00
Jo-Philipp Wich
70f62578d9
[scripts] 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
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27267 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-23 19:28:16 +00:00
Jo-Philipp Wich
aa3bc1d684
[PATCH] 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-20 10:41:02 +00:00
Hauke Mehrtens
a4194f58c6
Fix CONFIG_LINUX_ for linux 3.0
...
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27184 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-15 21:11:05 +00:00
Felix Fietkau
f07b8453db
remove the now unused Target-Kernel field from the target metadata
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-30 23:07:53 +00:00
Jo-Philipp Wich
4f4013df57
[PATCH] Add support for git-svn package feeds
...
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-24 09:30:24 +00:00
Felix Fietkau
f7beb0c7a6
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
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-17 12:54:45 +00:00
Hamish Guthrie
2a22d86e63
Correct libc path
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-13 11:52:40 +00:00
Felix Fietkau
d269a8077e
add a new package metadata variable MDEPENDS for specifying local menuconfig dependencies that do not propagate to other packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-05 19:03:51 +00:00
John Crispin
4cde95913b
[scripts/env]
...
path expansion was broken due to a badly quoted *
Signed-of-by: Benjamin Cama <benoar@dolka.fr>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26391 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-01 11:07:27 +00:00
Felix Fietkau
7252c35ef1
scripts/diffconfig.sh: handle CONFIG_ALL, CONFIG_DEVEL and CONFIG_TOOLCHAINOPTS properly
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-28 23:25:18 +00:00
Felix Fietkau
ee7fa78bed
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-01 05:40:38 +00:00
Jo-Philipp Wich
7fcc8371c6
[buildroot] 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
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-27 15:39:27 +00:00
Jo-Philipp Wich
0081e14ade
[PATCH 1/2] 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25677 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-23 22:58:58 +00:00
Jo-Philipp Wich
dc90adbe1f
[scripts] download.pl: adjust kernel download urls for longterm and testing releases
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-19 15:41:00 +00:00
Felix Fietkau
f9db725f5c
metadata: fix handling of multiple build dependencies with different conditions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 02:52:22 +00:00
Felix Fietkau
4d75ce69d2
scripts/diffconfig.sh: use the new kconfig mode to remove some more unnecessary entries in the generated output
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25233 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-29 02:35:28 +00:00
Felix Fietkau
c7c7837117
scripts/kconfig.pl: add a mode to generate a config diff that ignores added undefined config values
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-29 02:35:24 +00:00
Felix Fietkau
73ea5d23f2
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25231 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-29 02:22:45 +00:00
Felix Fietkau
a6091580c3
scripts/config: add an option for making the conf tool write to a different file
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-29 02:22:40 +00:00
Felix Fietkau
a916879574
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-16 01:25:06 +00:00
Jo-Philipp Wich
4ccce484c2
[scripts] download.pl: pass --no-check-certificate to wget
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-18 20:54:53 +00:00
Michael Büsch
a329e45c13
deptest: Also accept stamps that are broken links.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24350 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 16:08:14 +00:00
Felix Fietkau
40786544ee
scripts/feeds: support checking out git trees with different branches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-06 16:57:25 +00:00
Michael Büsch
1a715e419f
deptest: Make stamps be symlinks to logs.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-06 10:49:37 +00:00
Imre Kaloz
c1725149e1
switch from ext2 to ext4 (w/o) journaling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 12:12:39 +00:00
Michael Büsch
ad339e0d82
deptest: Capitalize failure message. Makes it easier to spot in the logs.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-04 11:30:10 +00:00
Michael Büsch
b914812321
deptest: Do not clobber the base build and staging dirs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-03 18:48:03 +00:00
Michael Büsch
208df9da51
deptest: --force also overrides blacklist stamps
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23827 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-03 15:18:53 +00:00
Michael Büsch
a1b02b7ee0
deptest: Add --force to force a test
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-03 15:01:03 +00:00
Michael Büsch
99abe56d08
deptest: Install of host tools has to be forced for every test, because the host staging dir is cleaned prior a test.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-03 14:58:32 +00:00
Michael Büsch
31d0d69841
deptest: Add option for lean test
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23821 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-03 14:44:31 +00:00
Michael Büsch
b964989f75
deptest: Add sanity check to avoid trouble with illegal package names
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-03 12:49:38 +00:00
Michael Büsch
e0ef43b324
deptest: Support specifying certain packages to test on the commandline.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-03 12:41:28 +00:00
Michael Büsch
286a9a67ee
deptest: Add optional blacklisting
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-03 01:10:52 +00:00
Michael Büsch
9e13ee5627
deptest: Check for .config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-03 00:27:50 +00:00
Michael Büsch
01a4d924f0
deptest: Install the kernel at init stage
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-03 00:24:12 +00:00
Michael Büsch
6249f03131
deptest: Better detection of base directory
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-02 23:22:34 +00:00
Michael Büsch
686a035a49
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.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-02 22:48:29 +00:00
Michael Büsch
d4d4d268ba
deptest: Also create "failed" stamps. This makes it easier to check what failed after the script finished.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-02 22:36:32 +00:00
Michael Büsch
e81f40a3ad
deptest: Add shbang
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-02 21:58:24 +00:00
Michael Büsch
26dd03e83f
deptest: Fix indent
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-02 21:57:03 +00:00
Florian Fainelli
176fcbe9d8
[feeds] 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-24 12:36:51 +00:00
Michael Büsch
ed2fe1cf2d
Fix typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23524 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-18 21:43:50 +00:00
Jo-Philipp Wich
76b017e355
[scripts] remote-gdb: fix parsing of arch and libc from given path as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-12 03:07:07 +00:00
Jo-Philipp Wich
461f29cb46
[scripts] remote-gdb:
...
- fix parsing of arch-libc tuples
- automatically add sysroot to executable if needed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-12 01:15:55 +00:00
Jo-Philipp Wich
f91962bddd
[scripts] metadata.pl: don't emit LINUX_2_6 selects anymore
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23375 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-10 12:27:44 +00:00
Jo-Philipp Wich
1115bcc62c
[scripts] patch-kernel.sh: utilize --force ( #7745 ), also use the PATCH env var and fallback to "patch" if unset
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-08 09:21:01 +00:00
Jo-Philipp Wich
36dc978a0e
[scripts] feeds: restore previously active feed after install_package(), fixes install all case for packages with inter-feed dependencies
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-02 02:37:27 +00:00
Felix Fietkau
32b6ebf57c
fix build dependencies on packages with multiple variants but no selected virtual packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-20 20:17:28 +00:00
Michael Büsch
12eda380d1
dl_cleanup: Add support for GIT-SHASUM
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-18 19:19:34 +00:00
Jo-Philipp Wich
69c9cad2a1
[buildroot] 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-12 20:49:54 +00:00
Jo-Philipp Wich
d069b1594f
[scripts] metadata.pl: fix handling of HOST_BUILD_DEPENDS if a package is referenced that only exists as source pkg, e.g. libtool
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-06 01:43:20 +00:00
Felix Fietkau
e3b691c96c
add a command for printing a cleaned up make target database - will be used to analyze package dependencies at some point
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-01 17:51:36 +00:00
Felix Fietkau
3320327bad
scripts/feeds: fix a bug in the metadata caching change
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-26 21:40:16 +00:00
Felix Fietkau
85bd82d06f
scripts/feeds: switch to the right feed metadata when installing a package to fix dependency handling (patch by matthijs from #5891 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-26 15:13:47 +00:00
Felix Fietkau
5ec934567a
scripts/feeds: cache feed metadata instead of re-reading it on every get_feed() call
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-26 15:13:42 +00:00
Michael Büsch
55bd749a6c
Add usb gadget feature flag
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-25 17:35:34 +00:00
Michael Büsch
aa03772b7f
Fix dl_cleanup.py
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-10 15:08:02 +00:00
Felix Fietkau
3d492106cd
scripts/env: fix initialization of files/ when creating a new environment (patch from #7603 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-21 17:49:52 +00:00
Imre Kaloz
81db1e7929
upgrade the config.* scripts
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-20 13:21:00 +00:00
Hamish Guthrie
96e9790a87
Revert r22094 and r22095
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-08 16:15:57 +00:00
Hamish Guthrie
2f2cf51c25
Added --non-interactive flag to svn package downloads
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-08 15:44:24 +00:00
Hamish Guthrie
79e21b2ea4
add --trust-server-cert to svn checkout of feeds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-08 15:27:33 +00:00
Felix Fietkau
341feb2a3f
set the default target to brcm47xx, now that brcm-2.4 is gone
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 23:47:25 +00:00
Florian Fainelli
d4ca5e4999
[scripts] make flashing scripts executable
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 22:18:15 +00:00
Nicolas Thill
8b1974bdad
buildsystem: rename tgz/TGZ "feature" and matching options to targz/TARGZ
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-28 14:47:43 +00:00
Felix Fietkau
ddfb8c51db
metadata.pl: fix recursive handling of conditional dependencies
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-22 15:39:20 +00:00
Felix Fietkau
da1d443c2c
fix timestamp checks for build system paths which have '.svn' in their directory name
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-14 22:21:15 +00:00
Nicolas Thill
18b6a66394
target/ixp4xx: fix image building after r20834 ( closes : #7157 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-14 14:36:41 +00:00
Florian Fainelli
8c0fa2b8a9
[rdc] 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 23:35:21 +00:00
Jo-Philipp Wich
eb5d7e74b5
[scripts] remote-gdb:
...
* use sysroot instead of solib search paths
* don't query arch if there's only one choice
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 21:10:56 +00:00
Felix Fietkau
6ac33df3ad
scripts/metadata.pl: fix handling of multiple conditional depends on the same package
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20085 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 15:51:40 +00:00
Jo-Philipp Wich
3e0dc48650
[scripts] 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 )
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-01 18:01:33 +00:00
Jo-Philipp Wich
6c48ebd0a4
[scripts] remote-gdb: change library paths after r19849, swap usr/lib/ and lib/
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-24 23:51:50 +00:00
Jo-Philipp Wich
93aae29643
[scripts] remote-gdb: add build_dir/target-*/debug-* to solib-search-path
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-24 22:56:36 +00:00
Lars-Peter Clausen
76f39fa3a7
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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-15 20:03:18 +00:00
Travis Kemen
6bc3f81729
add geodns addresses for the kernel, closes #6574
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-13 01:07:44 +00:00
Hauke Mehrtens
2fcc620c06
preinit: fix #6596
...
Setting LAN IP Address in menuconfig is ignored
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-29 20:30:21 +00:00
Felix Fietkau
b90f1fe190
kconfig.pl: fix handling of multiple kmod-* package referencing the same KCONFIG symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19366 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-28 19:27:43 +00:00
Felix Fietkau
fd4ddfd240
add preinit modularization work by Daniel Dickinson (cshore)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19331 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-25 17:11:17 +00:00
Felix Fietkau
a41a411af7
metadata: allow build variants to contain "-"
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-23 08:28:15 +00:00
Lars-Peter Clausen
2710572b04
Add support for building ubifs images.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-11 01:10:45 +00:00
Michael Büsch
7a9a0ea725
dl_cleanup: Show it to the user, if file extension or version pattern is unknown
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19085 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-09 18:58:28 +00:00
Michael Büsch
3239b197f1
dl_cleanup: Add regex for foo_1_2_3
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-09 18:45:05 +00:00
Michael Büsch
97d8f16046
dl_cleanup: Allow removing items from blacklist
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-09 18:31:29 +00:00
Michael Büsch
5497d9adef
dl_cleanup: Add linux and gcc to blacklist
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-09 18:19:29 +00:00
Michael Büsch
eec44e4549
dl_cleanup: Add dry-run option
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-09 18:06:54 +00:00
Florian Fainelli
bab9153d71
[scripts] adjust svn:ignore for cygwin builds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-05 11:06:21 +00:00
Lars-Peter Clausen
ef8c9c1555
[scripts] update-package-md5sum: A tool to update the md5sum of openwrt packages.
...
Useful when upgrading a set of packages.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-03 17:06:06 +00:00
Michael Büsch
980f02f41e
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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-03 13:26:30 +00:00
Felix Fietkau
b97c4008bd
scripts/combined-image.sh: remove the use of mktemp to make it more portable
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-24 10:34:37 +00:00
Felix Fietkau
efa764f2f0
menuconfig: allow wildcard includes to return no match ( #6339 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-11 04:41:56 +00:00
Felix Fietkau
d8c10735b7
add a simple script for symlinking one tree into another for doing builds with separate build dirs, but the same source dir
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-10 20:52:45 +00:00
Felix Fietkau
cdd55b59a1
metadata.pl: fix menuconfig code for package features
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-12 00:06:35 +00:00
Felix Fietkau
8075ad2ef5
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18357 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-10 22:00:54 +00:00
Felix Fietkau
565d7138d9
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 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18306 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-05 01:24:30 +00:00
Jo-Philipp Wich
40d72d7e35
[scripts] add "remote-gdb", a helper script to connect the local host gdb with a running gdbserver on the target
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18153 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-25 17:45:57 +00:00
Felix Fietkau
b57af5044a
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18056 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-17 22:11:21 +00:00
Nicolas Thill
3b3361a35d
[scripts] getver: don't use "-r COMMITTED" arg which needs network access to the repository, use the "Last Changed Rev:" line instead
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-05 09:30:53 +00:00
Nicolas Thill
2881359719
[scripts] metadata.pl: fix a bug where dependency flags (@ and +) from a dependency were inherited by others
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-03 20:01:22 +00:00
Felix Fietkau
b4305b62bb
metadata.pl: do not strip whitespaces from multiline data
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17827 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-02 22:02:31 +00:00
Nicolas Thill
b36c9d3cec
[scripts] getver: get svn rev from last commit so that we have consistent revision numbers between git and svn
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17781 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-28 12:26:47 +00:00
Felix Fietkau
12bda702b9
make scripts/ipkg more portable by using printf instead of echo -n
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17729 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-26 08:34:18 +00:00
Jo-Philipp Wich
c48f9d29f0
[scripts] use mktemp instead of tempfile in combined-image.sh to make it work on OS X
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-22 15:07:12 +00:00
Jo-Philipp Wich
92bc60d8f3
[atheros] 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17668 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-22 01:09:04 +00:00
Felix Fietkau
57efc68581
scripts/feeds: fix an error message
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-31 14:28:24 +00:00
Felix Fietkau
6852fee1ce
add hg support to getver.sh (patch from #5763 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-28 12:51:01 +00:00
Imre Kaloz
bd5e69da17
fix breakage introduced with [17394]
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-25 11:56:27 +00:00
Florian Fainelli
c1952691e1
[scripts] do not check for a specific Cygwin version, rather check the operating system name directly, thanks AndyI
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-25 09:16:03 +00:00
Felix Fietkau
8bcb57d80d
add nommu target feature flag
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17347 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-21 22:32:03 +00:00
Felix Fietkau
39bbd5babc
add a heavily cleaned up version of ubicom32 toolchain support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-21 22:31:47 +00:00
Geoff Levand
0963266b1d
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17306 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-18 23:07:45 +00:00
Lars-Peter Clausen
114f4d0023
Workaround a bug(?) in tar in debian squeeze, which causes the build process to
...
fail without any reason.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-08 21:17:58 +00:00
Imre Kaloz
9f305ca455
missing changes for pcie handling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-02 09:54:45 +00:00
Felix Fietkau
3ae711a215
deptest: use a separate build dir for host packages to prevent hardcoded path screwups
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16162 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-28 23:49:13 +00:00
Felix Fietkau
f819e09975
deptest: handle packages from feeds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-26 19:50:49 +00:00
Felix Fietkau
fa455f0cf9
add a somewhat hackish script for automatic dependency testing
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-26 19:12:00 +00:00
Felix Fietkau
63629ed8a0
scripts/feeds: ignore virtual packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-08 10:39:32 +00:00
Felix Fietkau
3d033c11f4
scripts/feeds: fix a warning ( #4474 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-04 18:50:58 +00:00
Nicolas Thill
902e698c99
add a workaround to rstrip restoring exec perms when they got changed by sstrip
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-21 01:10:21 +00:00
Felix Fietkau
5bdd866100
get rid of $Id$ - it has never helped us and it has broken too many patches ;)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +00:00
Mirko Vogt
a7cdeaabce
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-10 11:41:18 +00:00
Florian Fainelli
2d495c3e5f
[scripts] cygwin also needs to be passed LIBS=-lncurses to link lxdialog successfully
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15183 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-10 10:08:47 +00:00
Gabor Juhos
18f34c5569
[scripts] ipkg-make-index: remove leading './' from the Filename field
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-29 08:46:04 +00:00
Jose Vasconcellos
f3f03147f5
Add check for IXP42x A0 stepping.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-24 12:24:06 +00:00
Felix Fietkau
8100c1727e
kconfig.pl: interpret =n as undefined symbol
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-24 01:34:23 +00:00
Felix Fietkau
433f4998a9
kconfig.pl: add support for custom prefixes instead of CONFIG_
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-24 01:34:14 +00:00
Felix Fietkau
ea7ad3a4f7
fix host dependencies for packages that depend on their own host build
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-20 12:47:13 +00:00
Hamish Guthrie
8b4b882158
Add FEATURE ramdisk to be able to select the use of INITRAMFS for a sub-target
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-18 15:57:18 +00:00
Felix Fietkau
353386a643
move host build in packages into a separate namespace: package/<name>/host/<target>
...
this allows dependencies between host and target packages, and saves unnecessary host builds for packages that contain both variants
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 02:20:34 +00:00
Felix Fietkau
019e6e2d31
move cflags default setting to target makefiles
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-14 03:17:06 +00:00
Felix Fietkau
e68450dc6e
get rid of an illegal characters warning with packages that contain uppercase characters
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-09 15:06:30 +00:00
Felix Fietkau
251b27b00f
kconfig.pl: throw warnings into stderr instead of stdout
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-09 15:05:32 +00:00
Felix Fietkau
df83a95b78
fix a package metadata parsing bug
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03 14:03:37 +00:00
Ralph Hempel
d65de43cd5
ensure that the timestamp script will follow the path even if it is link
...
( in our case the build directory might be a link to a ClearCase dynamic view )
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-02 17:38:08 +00:00
Ralph Hempel
21a5888e86
check for correct make version
...
( thanks to Thomas )
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-02 17:34:34 +00:00
Ralph Hempel
d499c25b04
strip relocatable binaries (not depending on the extension)
...
( thanks to Thomas )
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-02 17:33:02 +00:00
Ralph Hempel
ce1f09a463
added source distribution to package dump, used by our SDK (include source distributions for offline usage)
...
added bugfix for sub-targets
added bugfix for help info
(thanks to Thomas)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-01 09:35:53 +00:00
Ralph Hempel
40c23796b7
add multiple download mirrors
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-20 10:16:47 +00:00
Nicolas Thill
2c4b52a3b4
[scrips] feeds: extend 'search' to lookup in source package names too
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14537 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-17 03:44:43 +00:00
Nicolas Thill
63e941c916
[scripts] adam2flash: fix 'Interrupted system call' error when flashing ( closes : #4490 , thanks oliver)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-01 17:36:07 +00:00
Lars-Peter Clausen
0597dd6bd8
Reset condition for each dependeny when generating mconf files. Previously all
...
dependencys listed after a conditional dependency had the same condition.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-01 01:16:01 +00:00
Florian Fainelli
cea1ae3cbe
[scripts] brcmImage.pl should be set executable
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14265 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-29 15:15:21 +00:00
Florian Fainelli
a476b91064
[brcm63xx] generate images for old CFE based boards like the Davolink DV201
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-29 14:56:45 +00:00
Jose Vasconcellos
37bf4d46cc
Added support WRV54G.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-25 20:42:03 +00:00
Felix Fietkau
62a6e10227
improve support for building on mac os x by improving detection of missing components
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-25 19:00:43 +00:00
Jose Vasconcellos
230a78bd37
Fix to wait for internal http server to complete transfer.
...
Rework and simplify command line options.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-18 18:38:32 +00:00
Jose Vasconcellos
53729b100e
Fix parsing of password option; set timeout for writing.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-15 22:05:10 +00:00
Felix Fietkau
042d715f2b
add support for build-only packages which do not appear in menuconfig
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-13 02:02:56 +00:00
Lars-Peter Clausen
bbfb0bf0be
If a package is part of a virtual dependency and also listed as a normal
...
dependency ensure that the dependency is always unconditional. Such a case
happens if for example a package has a build dependency and the build dependency
provides a virtual install dependency of the package.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-05 20:02:59 +00:00
Felix Fietkau
fbf0f923ed
fix recursive dependencies that might be caused by using conditional dependencies
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-02 02:49:02 +00:00
Felix Fietkau
89662da4f1
scripts/feeds update:
...
* Fix feed update via git.
* Add support for bzr and hg.
* Proper escaping of command line arguments handed to system.
* Reduced code duplication.
Patch by Justus Winter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13782 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-31 14:52:10 +00:00
Florian Fainelli
cf3aab18a7
Also move jungo-image.py to scripts/flashing
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-17 13:50:04 +00:00
Florian Fainelli
1498aea446
Move flashing scripts to scripts/flashing/
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-17 13:35:14 +00:00
Florian Fainelli
99eca9efa2
Add flashing script for adsl2mue ( #3994 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-17 13:29:39 +00:00
Mirko Vogt
ab00ad48d5
increased SCAN_DEPTH for feeds/ by 1
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-09 23:37:21 +00:00
Peter Denison
32489e8529
Updated jungo-image.py script (from Jose):
...
Fix http server issues when imagefile is on different directory
Fix computation of flash size
Obtain MAC address in a more portable way
Add percent display when dumping flash (instead of dots)
Set default to display progress information; added --quiet option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-08 20:13:23 +00:00
Peter Denison
950ee5e1cd
Added jungo-image.py script for backing up and flashing Jungo-based routers
...
such as MI424-WR, USR8200 and WRV54G
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-02 20:00:34 +00:00
Lars-Peter Clausen
8055e35d5d
Fix indention.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-22 22:53:38 +00:00
Lars-Peter Clausen
4a97d0e7a2
Add support for negative conditional dependencies.
...
Also add the condition of conditional dependencies to dependencies which are
inherited form the conditional dependency.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-22 22:44:35 +00:00
Steven Barth
eaa9cd922f
Detect changed feed urls and rebase working copies if needed. (Patch by xMff)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-07 14:01:22 +00:00
Felix Fietkau
6d784c2ba2
menuconfig: don't generate inconsistencies when ~/.openwrt/defconfig specifies a default target
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-18 20:16:59 +00:00
Felix Fietkau
e011924511
add support for conditional depends to the feeds script
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-18 19:36:44 +00:00
Felix Fietkau
3be34e3543
scripts/env: fix file syncing on env switch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-08 19:15:26 +00:00
Felix Fietkau
0137b51476
don't print warnings for undefined DEFAULT_* symbols on menuconfig. generate those in config-target.in instead of config-package.in
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-06 16:34:28 +00:00
Felix Fietkau
6496ba1779
fix infinite recursion in metadata.pl
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-04 16:22:24 +00:00
Felix Fietkau
3eeaccee03
implement conditional dependencies for menuconfig and build deps
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-01 21:26:19 +00:00
Felix Fietkau
6907bedd84
scripts/feeds: allow multiple alternative urls for a single feed. this will be useful for maintaining release branch forks of /packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-27 22:57:58 +00:00
Felix Fietkau
0f823928b6
use #!/usr/bin/env perl instead of #!/usr/bin/perl in openwrt scripts ( fixes #2998 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-23 18:29:44 +00:00
Lars-Peter Clausen
15e550487e
Restore config after running scripts/env diff.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-18 20:45:12 +00:00
Steven Barth
d85c243ab1
Fixed dependency handling for feeds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-16 20:25:36 +00:00
Felix Fietkau
efaf261162
fix ./scripts/env for newer git versions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-02 15:48:40 +00:00
Lars-Peter Clausen
96b13eef6b
Add @GNOME download source.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12469 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-01 21:46:17 +00:00