Commit Graph

476 Commits (db5b2b03af4e19b7adcebc60834bce5d5e45487e)

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