Commit Graph

432 Commits (7d202aa4314a9cd0a565f24df559291fa4adc7cb)

Author SHA1 Message Date
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