Commit Graph

500 Commits (22e7a34e5015ce14f6646e6a0b8c8aefa4b42230)

Author SHA1 Message Date
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
Felix Fietkau a36f6fae22 fix ./scripts/env delete
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-27 14:13:47 +00:00
Felix Fietkau f58e3fe78b some more s/git-/git /
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-24 14:16:49 +00:00
Felix Fietkau a251aef656 replace the deprecated git-* command calls with git *
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-24 13:40:21 +00:00
Nicolas Thill 25539fe087 don't display the "Image configuration" menu entry when there's nothing to pre-configure (when using the SDK for example)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12366 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-22 04:18:35 +00:00
Nicolas Thill 2cb3a033d0 add "Architecture" field to opkg status file (closes: #3901)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-20 14:09:19 +00:00
Felix Fietkau a9bbf998e4 rename feeds.conf to feeds.conf.default, make feeds.conf override feeds.conf.default this makes it possible to change the feeds lists without having the version control system record it as a change
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-17 09:05:01 +00:00
Felix Fietkau 72c514fe88 fix uninitialized variable in metadata.pm (#3860)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-16 17:00:50 +00:00
Travis Kemen 55722b974e make opkg the default package manager, disable busybox ipkg from building by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-16 06:35:14 +00:00
Florian Fainelli 7c94fda85f scripts/feeds calls 'make' irrespective of the platform it is
running on. The attached patch changes the code to use gmake
if available (which should cover non-linux platforms, and is
the same logic used to adapt other programs in include/host.mk) (#3867)

Signed-off-by: Luigi Rizzo <rizzo@iet.unipi.it>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-08 21:30:08 +00:00
Felix Fietkau 1185dde951 and another one
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-06 16:14:53 +00:00
Felix Fietkau 6b28de3047 fix a small typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-06 16:13:38 +00:00
Felix Fietkau 99808838d2 add script for managing 'build environments' (.config+files/), including documentation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-06 14:30:46 +00:00
Felix Fietkau 7e91c8a04a fix a small bug in the recursive dependency lookup for generated menuconfig files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-04 23:43:13 +00:00
Felix Fietkau fce073c929 scripts/feeds: properly handle virtual packages as well, use the first available provider by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-04 22:22:43 +00:00
Felix Fietkau 763d1b4e13 scripts/feeds: fix some installation warnings for locally installed packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-04 22:22:29 +00:00