1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-07 11:30:17 +02:00
Commit Graph

464 Commits

Author SHA1 Message Date
jow
1379b2edd2 [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
jow
145008f98d [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
jow
5a89e8c08e [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
jow
e23aeca7d2 [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
jow
33451c5fb0 [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
jow
734e33097a [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
jow
8270d590f1 [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
jow
d89596d6e5 [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
jow
1ca901eda3 [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
jow
03ce5416aa [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
jow
9c517fdaa2 [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
jow
be99e06ec8 [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
jow
6080beadaf [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
juhosg
528cc2801f 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
nico
bf0e67e554 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
nbd
921bb0da77 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
nbd
2759bfac85 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
nbd
58bb930698 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
mb
fe6f248cdc 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
nbd
e722031640 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
jow
3c2fe43ac7 [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
nbd
7ff6d75e22 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
blogic
d92e2b4207 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
blogic
8ec391bb0b 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
jow
2aa5b50fe0 [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
nbd
205e89a75a 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
jow
8d146101a3 [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
jow
12de8ef256 [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
1bd54fdefa 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
nbd
7fca3ea90d 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
jow
da928e0fd6 [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
nbd
deede16e22 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
hcg
c7cd3155e0 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
nbd
db273bc36e 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
blogic
70df49d541 [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
nbd
db09a6adee 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
nbd
d082297902 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
jow
f4ea439183 [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
jow
c5cbe120d8 [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
jow
b5fbb296ba [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
nbd
e10871bad0 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
nbd
5fcc04663e 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
nbd
25960d9281 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
nbd
2bbf258ee4 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
nbd
14218d590b 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
nbd
89a10d913b 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
jow
3373d2dda9 [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
mb
70bf949e54 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
nbd
01f7581424 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
mb
0bc2052eae 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