Commit graph

276 commits

Author SHA1 Message Date
Felix Fietkau
0fc0346e0a deptest: handle packages from feeds
SVN-Revision: 16099
2009-05-26 19:50:49 +00:00
Felix Fietkau
f40ea986e9 add a somewhat hackish script for automatic dependency testing
SVN-Revision: 16097
2009-05-26 19:12:00 +00:00
Felix Fietkau
1428bca7f5 scripts/feeds: ignore virtual packages
SVN-Revision: 15706
2009-05-08 10:39:32 +00:00
Felix Fietkau
0db826eded scripts/feeds: fix a warning (#4474)
SVN-Revision: 15600
2009-05-04 18:50:58 +00:00
Nicolas Thill
54d622a815 add a workaround to rstrip restoring exec perms when they got changed by sstrip
SVN-Revision: 15312
2009-04-21 01:10:21 +00:00
Felix Fietkau
34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
2009-04-17 14:09:46 +00:00
Mirko Vogt
9af0ab6efa 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
SVN-Revision: 15187
2009-04-10 11:41:18 +00:00
Florian Fainelli
9c470b63b3 cygwin also needs to be passed LIBS=-lncurses to link lxdialog successfully
SVN-Revision: 15183
2009-04-10 10:08:47 +00:00
Gabor Juhos
2f26f545cd ipkg-make-index: remove leading './' from the Filename field
SVN-Revision: 15069
2009-03-29 08:46:04 +00:00
Jose Vasconcellos
6e22a2bb4f Add check for IXP42x A0 stepping.
SVN-Revision: 15013
2009-03-24 12:24:06 +00:00
Felix Fietkau
9a3368ebca kconfig.pl: interpret =n as undefined symbol
SVN-Revision: 15003
2009-03-24 01:34:23 +00:00
Felix Fietkau
59848db7da kconfig.pl: add support for custom prefixes instead of CONFIG_
SVN-Revision: 15002
2009-03-24 01:34:14 +00:00
Felix Fietkau
08b7cbe44e fix host dependencies for packages that depend on their own host build
SVN-Revision: 14952
2009-03-20 12:47:13 +00:00
Hamish Guthrie
1b216aa20a Add FEATURE ramdisk to be able to select the use of INITRAMFS for a sub-target
SVN-Revision: 14939
2009-03-18 15:57:18 +00:00
Felix Fietkau
ddcfaeb1e5 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
SVN-Revision: 14905
2009-03-17 02:20:34 +00:00
Felix Fietkau
72faa09dff move cflags default setting to target makefiles
SVN-Revision: 14866
2009-03-14 03:17:06 +00:00
Felix Fietkau
d38153a847 get rid of an illegal characters warning with packages that contain uppercase characters
SVN-Revision: 14810
2009-03-09 15:06:30 +00:00
Felix Fietkau
7f4bc03adb kconfig.pl: throw warnings into stderr instead of stdout
SVN-Revision: 14807
2009-03-09 15:05:32 +00:00
Felix Fietkau
daf7406075 fix a package metadata parsing bug
SVN-Revision: 14735
2009-03-03 14:03:37 +00:00
Ralph Hempel
f9d0fb8a16 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 )
SVN-Revision: 14728
2009-03-02 17:38:08 +00:00
Ralph Hempel
89181213dc check for correct make version ( thanks to Thomas )
SVN-Revision: 14727
2009-03-02 17:34:34 +00:00
Ralph Hempel
91042e02a7 strip relocatable binaries (not depending on the extension) ( thanks to Thomas )
SVN-Revision: 14726
2009-03-02 17:33:02 +00:00
Ralph Hempel
6ae7a0f94f 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)
SVN-Revision: 14703
2009-03-01 09:35:53 +00:00
Ralph Hempel
77df307183 add multiple download mirrors
SVN-Revision: 14573
2009-02-20 10:16:47 +00:00
Nicolas Thill
177b22a541 feeds: extend 'search' to lookup in source package names too
SVN-Revision: 14537
2009-02-17 03:44:43 +00:00
Nicolas Thill
8a253e1ac1 adam2flash: fix 'Interrupted system call' error when flashing (closes: #4490, thanks oliver)
SVN-Revision: 14344
2009-02-01 17:36:07 +00:00
Lars-Peter Clausen
f42bf4d6cf Reset condition for each dependeny when generating mconf files. Previously all dependencys listed after a conditional dependency had the same condition.
SVN-Revision: 14335
2009-02-01 01:16:01 +00:00
Florian Fainelli
9924d9ce36 brcmImage.pl should be set executable
SVN-Revision: 14265
2009-01-29 15:15:21 +00:00
Florian Fainelli
c2c0d74f67 generate images for old CFE based boards like the Davolink DV201
SVN-Revision: 14264
2009-01-29 14:56:45 +00:00
Jose Vasconcellos
9a74dd2faa Added support WRV54G.
SVN-Revision: 14186
2009-01-25 20:42:03 +00:00
Felix Fietkau
ca8486a632 improve support for building on mac os x by improving detection of missing components
SVN-Revision: 14180
2009-01-25 19:00:43 +00:00
Jose Vasconcellos
f30bf8cbd4 Fix to wait for internal http server to complete transfer. Rework and simplify command line options.
SVN-Revision: 14098
2009-01-18 18:38:32 +00:00
Jose Vasconcellos
435790e112 Fix parsing of password option; set timeout for writing.
SVN-Revision: 14046
2009-01-15 22:05:10 +00:00
Felix Fietkau
7502d4bd61 add support for build-only packages which do not appear in menuconfig
SVN-Revision: 14009
2009-01-13 02:02:56 +00:00
Lars-Peter Clausen
a77f3b6656 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.
SVN-Revision: 13877
2009-01-05 20:02:59 +00:00
Felix Fietkau
e5905aebb7 fix recursive dependencies that might be caused by using conditional dependencies
SVN-Revision: 13813
2009-01-02 02:49:02 +00:00
Felix Fietkau
5918719e1e 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

SVN-Revision: 13782
2008-12-31 14:52:10 +00:00
Florian Fainelli
d8df4c38a8 Also move jungo-image.py to scripts/flashing
SVN-Revision: 13675
2008-12-17 13:50:04 +00:00
Florian Fainelli
dd4eef0468 Move flashing scripts to scripts/flashing/
SVN-Revision: 13674
2008-12-17 13:35:14 +00:00
Florian Fainelli
36b3feca06 Add flashing script for adsl2mue (#3994)
SVN-Revision: 13673
2008-12-17 13:29:39 +00:00
Mirko Vogt
b49a749114 increased SCAN_DEPTH for feeds/ by 1
SVN-Revision: 13572
2008-12-09 23:37:21 +00:00
Peter Denison
4fad1b5898 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
SVN-Revision: 13550
2008-12-08 20:13:23 +00:00
Peter Denison
33c19a498a Added jungo-image.py script for backing up and flashing Jungo-based routers such as MI424-WR, USR8200 and WRV54G
SVN-Revision: 13486
2008-12-02 20:00:34 +00:00
Lars-Peter Clausen
ac44b053c8 Fix indention.
SVN-Revision: 13321
2008-11-22 22:53:38 +00:00
Lars-Peter Clausen
38824a1351 Add support for negative conditional dependencies. Also add the condition of conditional dependencies to dependencies which are inherited form the conditional dependency.
SVN-Revision: 13319
2008-11-22 22:44:35 +00:00
Steven Barth
af42e36df0 Detect changed feed urls and rebase working copies if needed. (Patch by xMff)
SVN-Revision: 13138
2008-11-07 14:01:22 +00:00
Felix Fietkau
fa6b452873 menuconfig: don't generate inconsistencies when ~/.openwrt/defconfig specifies a default target
SVN-Revision: 13008
2008-10-18 20:16:59 +00:00
Felix Fietkau
df90f52b5a add support for conditional depends to the feeds script
SVN-Revision: 13004
2008-10-18 19:36:44 +00:00
Felix Fietkau
02052624df scripts/env: fix file syncing on env switch
SVN-Revision: 12925
2008-10-08 19:15:26 +00:00
Felix Fietkau
ece4ca493b don't print warnings for undefined DEFAULT_* symbols on menuconfig. generate those in config-target.in instead of config-package.in
SVN-Revision: 12871
2008-10-06 16:34:28 +00:00
Felix Fietkau
009e41906f fix infinite recursion in metadata.pl
SVN-Revision: 12851
2008-10-04 16:22:24 +00:00
Felix Fietkau
b0e7c7ba79 implement conditional dependencies for menuconfig and build deps
SVN-Revision: 12820
2008-10-01 21:26:19 +00:00
Felix Fietkau
033d2f6ca6 scripts/feeds: allow multiple alternative urls for a single feed. this will be useful for maintaining release branch forks of /packages
SVN-Revision: 12746
2008-09-27 22:57:58 +00:00
Felix Fietkau
625b692c1f use #!/usr/bin/env perl instead of #!/usr/bin/perl in openwrt scripts (fixes #2998)
SVN-Revision: 12674
2008-09-23 18:29:44 +00:00
Lars-Peter Clausen
5ac7398565 Restore config after running scripts/env diff.
SVN-Revision: 12632
2008-09-18 20:45:12 +00:00
Steven Barth
551bee5fa6 Fixed dependency handling for feeds
SVN-Revision: 12615
2008-09-16 20:25:36 +00:00
Felix Fietkau
973d7e80d7 fix ./scripts/env for newer git versions
SVN-Revision: 12502
2008-09-02 15:48:40 +00:00
Lars-Peter Clausen
2552e9362b Add @GNOME download source.
SVN-Revision: 12469
2008-09-01 21:46:17 +00:00
Felix Fietkau
1063f8d415 fix ./scripts/env delete
SVN-Revision: 12399
2008-08-27 14:13:47 +00:00
Felix Fietkau
d58dd061fe some more s/git-/git /
SVN-Revision: 12380
2008-08-24 14:16:49 +00:00
Felix Fietkau
2311fc9850 replace the deprecated git-* command calls with git *
SVN-Revision: 12379
2008-08-24 13:40:21 +00:00
Nicolas Thill
0bb4b7d761 don't display the "Image configuration" menu entry when there's nothing to pre-configure (when using the SDK for example)
SVN-Revision: 12366
2008-08-22 04:18:35 +00:00
Nicolas Thill
718fd729df add "Architecture" field to opkg status file (closes: #3901)
SVN-Revision: 12349
2008-08-20 14:09:19 +00:00
Felix Fietkau
a74bb3b417 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
SVN-Revision: 12328
2008-08-17 09:05:01 +00:00
Felix Fietkau
696b05e031 fix uninitialized variable in metadata.pm (#3860)
SVN-Revision: 12325
2008-08-16 17:00:50 +00:00
Travis Kemen
99dd3e13fc make opkg the default package manager, disable busybox ipkg from building by default
SVN-Revision: 12319
2008-08-16 06:35:14 +00:00
Florian Fainelli
067a1fe3b6 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>

SVN-Revision: 12246
2008-08-08 21:30:08 +00:00
Felix Fietkau
1391134579 and another one
SVN-Revision: 12217
2008-08-06 16:14:53 +00:00
Felix Fietkau
88b0d6785e fix a small typo
SVN-Revision: 12216
2008-08-06 16:13:38 +00:00
Felix Fietkau
131ba6fed7 add script for managing 'build environments' (.config+files/), including documentation
SVN-Revision: 12212
2008-08-06 14:30:46 +00:00
Felix Fietkau
01046ae4b2 fix a small bug in the recursive dependency lookup for generated menuconfig files
SVN-Revision: 12107
2008-08-04 23:43:13 +00:00
Felix Fietkau
9cda3fb084 scripts/feeds: properly handle virtual packages as well, use the first available provider by default
SVN-Revision: 12103
2008-08-04 22:22:43 +00:00
Felix Fietkau
bcf75aca7b scripts/feeds: fix some installation warnings for locally installed packages
SVN-Revision: 12102
2008-08-04 22:22:29 +00:00
Felix Fietkau
311553c77b fix scripts/feeds dependency lookup: process deps for all virtual packages of a src package that belongs to the package that the user wants to install
SVN-Revision: 12101
2008-08-04 22:03:28 +00:00
Imre Kaloz
e0a748c051 generate zImage for the ADI Sidewinder, too
SVN-Revision: 11901
2008-07-22 06:15:07 +00:00
Imre Kaloz
1f68c4745d generate patched zImage for the Pronghorn, too
SVN-Revision: 11623
2008-07-02 23:25:52 +00:00
Matteo Croce
f5e550f438 use the european kernel.org mirror too
SVN-Revision: 11448
2008-06-12 14:48:32 +00:00
Felix Fietkau
ab504da309 fix missing package compile/installation issue
SVN-Revision: 11441
2008-06-11 18:48:37 +00:00
Felix Fietkau
46e3535d08 fix some previously ignored build dependencies (for example, uci->lua)
SVN-Revision: 11429
2008-06-11 01:36:08 +00:00
Felix Fietkau
51bc4434dd consider virtual dependencies (generated by using PROVIDES:=) when generating the build dependencies (fixes python build dependency errors)
SVN-Revision: 11428
2008-06-10 21:10:02 +00:00
Imre Kaloz
c5657f08d5 add new target feature option for fpu
SVN-Revision: 11337
2008-06-03 09:29:58 +00:00
Imre Kaloz
d62feeaac1 add support for the Gateworks Cambria
SVN-Revision: 10973
2008-04-28 22:20:49 +00:00
Nicolas Thill
ddc57879ec add a gpio feature for devices supporting the generic GPIO interface
SVN-Revision: 10879
2008-04-20 09:46:45 +00:00
Nicolas Thill
c7b3dff10c install dependencies after installing package to avoid deep recursion and mass memory consuption
SVN-Revision: 10823
2008-04-13 22:36:51 +00:00
Nicolas Thill
4e319c572f install build-depends packages as well
SVN-Revision: 10793
2008-04-12 09:37:44 +00:00
Imre Kaloz
08f82d001d add support for the IXDPG425
SVN-Revision: 10756
2008-04-07 10:48:45 +00:00
Felix Fietkau
7e2fc31830 fix error message in scripts/feeds when indexes are missing
SVN-Revision: 10736
2008-04-05 14:32:08 +00:00
Felix Fietkau
1d3ed2fca0 fix a recursive symlink issue with scripts/feeds and src-link
SVN-Revision: 10714
2008-04-02 21:27:21 +00:00
Rod Whitby
6ec9c45b88 arm-magic.sh: added tw5334 machine id
SVN-Revision: 10652
2008-03-25 06:10:58 +00:00
Ralph Hempel
585997f8d2 fix package/symlinks target, will call scripts/feeds update / install introduce new package/symlinks-install and package/symlinks-clean targets - package/symlink-install will re-create the index files and the symlinks for all ./feeds (no update from repositories is performed) - package/symlink-clean will delete all installed symlinks (keeping the ./feeds untouched)
SVN-Revision: 10634
2008-03-20 17:08:24 +00:00
Ralph Hempel
c15ca4fb80 adding the possibility of local file cache specify file://path_to_file_cache within localmirrors file to add new local file cache
SVN-Revision: 10617
2008-03-18 21:07:22 +00:00
Ralph Hempel
0e158467a4 fix multiple update (cpy), added index generation (allows to re-create the index without updating the complete package) possible to specify the feed(s) which should be updated added -h switch to most of the commands
SVN-Revision: 10614
2008-03-18 15:50:29 +00:00
Rod Whitby
60dd242ab9 Added a new mach id
SVN-Revision: 10593
2008-03-12 12:35:17 +00:00
Andy Boyett
197fafaff6 Increased to five download attempts in download.pl
SVN-Revision: 10486
2008-02-18 21:05:24 +00:00
Ralph Hempel
2dd0677c86 - added package list function -r list packages of specified feed -s list the feed names only and their URL - refresh of usage text
-d-This line, and those below, will be ignored--

M    feeds

SVN-Revision: 10322
2008-01-30 09:22:05 +00:00
Gabor Juhos
5b3951bfbb add feature flag for the cpio.gz support
SVN-Revision: 10311
2008-01-29 13:56:43 +00:00
Felix Fietkau
214601c012 cleanups, small fixes and improvements for the feeds script
SVN-Revision: 10281
2008-01-27 15:09:03 +00:00
Felix Fietkau
e01479aca0 scripts/feeds: Add support for git feeds.
Invokes 'git clone' on initial feed-update and 'git pull' later on.

Signed-off-by: Michel Marti <mcdmx@users.sf.net>

SVN-Revision: 10280
2008-01-27 15:08:58 +00:00
Felix Fietkau
e7d27627fd the attached patch adds the -a option to the feeds install command. Therefore following command option should work now
./scripts/feeds install -a
./scripts/feeds install -a -p xwrt

To-do:
- The next step should be to replace the current make package/symlinks implementation with ./scripts/feeds install -a .
  ( the locations of the packages within ./packages are different with both methods )
- The current feed script is not able to handle "Provides" statements properly. The dependencies will be installed only if they are real package names and not aliases (provides) .

Note:
This patch also includes the previous patch reg. directory (ClearCase) support from 30.12.07.

br/R

Signed-off-by: ralph <ralph.hempel@infineon.com>

SVN-Revision: 10252
2008-01-25 11:33:20 +00:00
Imre Kaloz
ed57d3042b add support for the Netgear WG302v1/WAG302v1
SVN-Revision: 10197
2008-01-14 22:36:09 +00:00