Commit graph

362 commits

Author SHA1 Message Date
Michael Büsch
050902efd7 deptest: Install of host tools has to be forced for every test, because the host staging dir is cleaned prior a test.
SVN-Revision: 23825
2010-11-03 14:58:32 +00:00
Michael Büsch
00e1797f14 deptest: Add option for lean test
SVN-Revision: 23821
2010-11-03 14:44:31 +00:00
Michael Büsch
1e317e8f43 deptest: Add sanity check to avoid trouble with illegal package names
SVN-Revision: 23819
2010-11-03 12:49:38 +00:00
Michael Büsch
57ccc7e834 deptest: Support specifying certain packages to test on the commandline.
SVN-Revision: 23818
2010-11-03 12:41:28 +00:00
Michael Büsch
0e2b397a8b deptest: Add optional blacklisting
SVN-Revision: 23811
2010-11-03 01:10:52 +00:00
Michael Büsch
ba91f56bf4 deptest: Check for .config
SVN-Revision: 23810
2010-11-03 00:27:50 +00:00
Michael Büsch
87fe1d36d3 deptest: Install the kernel at init stage
SVN-Revision: 23809
2010-11-03 00:24:12 +00:00
Michael Büsch
e37d386dfc deptest: Better detection of base directory
SVN-Revision: 23807
2010-11-02 23:22:34 +00:00
Michael Büsch
0cacb5855d 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.
SVN-Revision: 23806
2010-11-02 22:48:29 +00:00
Michael Büsch
0f21452ff8 deptest: Also create "failed" stamps. This makes it easier to check what failed after the script finished.
SVN-Revision: 23805
2010-11-02 22:36:32 +00:00
Michael Büsch
6bb89b547a deptest: Add shbang
SVN-Revision: 23804
2010-11-02 21:58:24 +00:00
Michael Büsch
12dfecd4be deptest: Fix indent
SVN-Revision: 23803
2010-11-02 21:57:03 +00:00
Florian Fainelli
0d74b45467 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>

SVN-Revision: 23616
2010-10-24 12:36:51 +00:00
Michael Büsch
b5cfdcd278 Fix typo
SVN-Revision: 23524
2010-10-18 21:43:50 +00:00
Jo-Philipp Wich
04c4b01fb4 remote-gdb: fix parsing of arch and libc from given path as well
SVN-Revision: 23407
2010-10-12 03:07:07 +00:00
Jo-Philipp Wich
9d50430238 remote-gdb: - fix parsing of arch-libc tuples - automatically add sysroot to executable if needed
SVN-Revision: 23406
2010-10-12 01:15:55 +00:00
Jo-Philipp Wich
80a79d3910 metadata.pl: don't emit LINUX_2_6 selects anymore
SVN-Revision: 23375
2010-10-10 12:27:44 +00:00
Jo-Philipp Wich
be2a1e14ba patch-kernel.sh: utilize --force (#7745), also use the PATCH env var and fallback to "patch" if unset
SVN-Revision: 23314
2010-10-08 09:21:01 +00:00
Jo-Philipp Wich
adcfdc46e0 feeds: restore previously active feed after install_package(), fixes install all case for packages with inter-feed dependencies
SVN-Revision: 23171
2010-10-02 02:37:27 +00:00
Felix Fietkau
7f80e26661 fix build dependencies on packages with multiple variants but no selected virtual packages
SVN-Revision: 23102
2010-09-20 20:17:28 +00:00
Michael Büsch
1460115836 dl_cleanup: Add support for GIT-SHASUM
SVN-Revision: 23084
2010-09-18 19:19:34 +00:00
Jo-Philipp Wich
064e7c8f00 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.
SVN-Revision: 23029
2010-09-12 20:49:54 +00:00
Jo-Philipp Wich
097d38615b metadata.pl: fix handling of HOST_BUILD_DEPENDS if a package is referenced that only exists as source pkg, e.g. libtool
SVN-Revision: 22946
2010-09-06 01:43:20 +00:00
Felix Fietkau
00d1e599d7 add a command for printing a cleaned up make target database - will be used to analyze package dependencies at some point
SVN-Revision: 22871
2010-09-01 17:51:36 +00:00
Felix Fietkau
198f027c4b scripts/feeds: fix a bug in the metadata caching change
SVN-Revision: 22819
2010-08-26 21:40:16 +00:00
Felix Fietkau
76d517b629 scripts/feeds: switch to the right feed metadata when installing a package to fix dependency handling (patch by matthijs from #5891)
SVN-Revision: 22815
2010-08-26 15:13:47 +00:00
Felix Fietkau
f9ff9d02f6 scripts/feeds: cache feed metadata instead of re-reading it on every get_feed() call
SVN-Revision: 22814
2010-08-26 15:13:42 +00:00
Michael Büsch
7a8066735d Add usb gadget feature flag
SVN-Revision: 22798
2010-08-25 17:35:34 +00:00
Michael Büsch
b0745dd8ce Fix dl_cleanup.py
SVN-Revision: 22578
2010-08-10 15:08:02 +00:00
Felix Fietkau
0e1337ea47 scripts/env: fix initialization of files/ when creating a new environment (patch from #7603)
SVN-Revision: 22336
2010-07-21 17:49:52 +00:00
Imre Kaloz
c1e57d12c8 upgrade the config.* scripts
SVN-Revision: 22312
2010-07-20 13:21:00 +00:00
Hamish Guthrie
1d2f157928 Revert r22094 and r22095
SVN-Revision: 22096
2010-07-08 16:15:57 +00:00
Hamish Guthrie
6a7c2c244f Added --non-interactive flag to svn package downloads
SVN-Revision: 22095
2010-07-08 15:44:24 +00:00
Hamish Guthrie
6615374f13 add --trust-server-cert to svn checkout of feeds
SVN-Revision: 22094
2010-07-08 15:27:33 +00:00
Felix Fietkau
bb44616ebe set the default target to brcm47xx, now that brcm-2.4 is gone
SVN-Revision: 21960
2010-06-26 23:47:25 +00:00
Florian Fainelli
27fc94ff52 make flashing scripts executable
SVN-Revision: 21958
2010-06-26 22:18:15 +00:00
Nicolas Thill
b3b591c000 buildsystem: rename tgz/TGZ "feature" and matching options to targz/TARGZ
SVN-Revision: 21238
2010-04-28 14:47:43 +00:00
Felix Fietkau
ceaa4bbe3c metadata.pl: fix recursive handling of conditional dependencies
SVN-Revision: 21088
2010-04-22 15:39:20 +00:00
Felix Fietkau
091934e7fb fix timestamp checks for build system paths which have '.svn' in their directory name
SVN-Revision: 20856
2010-04-14 22:21:15 +00:00
Nicolas Thill
841eff56d4 target/ixp4xx: fix image building after r20834 (closes: #7157)
SVN-Revision: 20854
2010-04-14 14:36:41 +00:00
Florian Fainelli
a1058204d0 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.

SVN-Revision: 20294
2010-03-18 23:35:21 +00:00
Jo-Philipp Wich
029b3f62ab remote-gdb: * use sysroot instead of solib search paths * don't query arch if there's only one choice
SVN-Revision: 20290
2010-03-18 21:10:56 +00:00
Felix Fietkau
63350fa59b scripts/metadata.pl: fix handling of multiple conditional depends on the same package
SVN-Revision: 20085
2010-03-09 15:51:40 +00:00
Jo-Philipp Wich
e2e39dae90 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)
SVN-Revision: 19936
2010-03-01 18:01:33 +00:00
Jo-Philipp Wich
ba29f08008 remote-gdb: change library paths after r19849, swap usr/lib/ and lib/
SVN-Revision: 19850
2010-02-24 23:51:50 +00:00
Jo-Philipp Wich
20a64a738c remote-gdb: add build_dir/target-*/debug-* to solib-search-path
SVN-Revision: 19845
2010-02-24 22:56:36 +00:00
Lars-Peter Clausen
900de42186 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.

SVN-Revision: 19643
2010-02-15 20:03:18 +00:00
Travis Kemen
cf7a37f119 add geodns addresses for the kernel, closes #6574
SVN-Revision: 19621
2010-02-13 01:07:44 +00:00
Hauke Mehrtens
292b9782cd preinit: fix #6596 Setting LAN IP Address in menuconfig is ignored
SVN-Revision: 19384
2010-01-29 20:30:21 +00:00
Felix Fietkau
75e38a19cf kconfig.pl: fix handling of multiple kmod-* package referencing the same KCONFIG symbols
SVN-Revision: 19366
2010-01-28 19:27:43 +00:00
Felix Fietkau
56bc02a305 add preinit modularization work by Daniel Dickinson (cshore)
SVN-Revision: 19331
2010-01-25 17:11:17 +00:00
Felix Fietkau
ccb604a573 metadata: allow build variants to contain "-"
SVN-Revision: 19284
2010-01-23 08:28:15 +00:00
Lars-Peter Clausen
db06ca593b Add support for building ubifs images.
SVN-Revision: 19097
2010-01-11 01:10:45 +00:00
Michael Büsch
ff6010a732 dl_cleanup: Show it to the user, if file extension or version pattern is unknown
SVN-Revision: 19085
2010-01-09 18:58:28 +00:00
Michael Büsch
bee5dab1a1 dl_cleanup: Add regex for foo_1_2_3
SVN-Revision: 19084
2010-01-09 18:45:05 +00:00
Michael Büsch
9c54343555 dl_cleanup: Allow removing items from blacklist
SVN-Revision: 19083
2010-01-09 18:31:29 +00:00
Michael Büsch
274e372e4c dl_cleanup: Add linux and gcc to blacklist
SVN-Revision: 19082
2010-01-09 18:19:29 +00:00
Michael Büsch
4a2465a295 dl_cleanup: Add dry-run option
SVN-Revision: 19081
2010-01-09 18:06:54 +00:00
Florian Fainelli
aca9c9c81d adjust svn:ignore for cygwin builds
SVN-Revision: 19040
2010-01-05 11:06:21 +00:00
Lars-Peter Clausen
41a1a80059 update-package-md5sum: A tool to update the md5sum of openwrt packages. Useful when upgrading a set of packages.
SVN-Revision: 19019
2010-01-03 17:06:06 +00:00
Michael Büsch
16d107d5f9 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.
SVN-Revision: 19018
2010-01-03 13:26:30 +00:00
Felix Fietkau
919724ab50 scripts/combined-image.sh: remove the use of mktemp to make it more portable
SVN-Revision: 18920
2009-12-24 10:34:37 +00:00
Felix Fietkau
30992cceeb menuconfig: allow wildcard includes to return no match (#6339)
SVN-Revision: 18743
2009-12-11 04:41:56 +00:00
Felix Fietkau
04abaefe70 add a simple script for symlinking one tree into another for doing builds with separate build dirs, but the same source dir
SVN-Revision: 18734
2009-12-10 20:52:45 +00:00
Felix Fietkau
edeee3ac19 metadata.pl: fix menuconfig code for package features
SVN-Revision: 18386
2009-11-12 00:06:35 +00:00
Felix Fietkau
579d54038b 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
SVN-Revision: 18357
2009-11-10 22:00:54 +00:00
Felix Fietkau
ea63b88b10 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)
SVN-Revision: 18306
2009-11-05 01:24:30 +00:00
Jo-Philipp Wich
9df63ce253 add "remote-gdb", a helper script to connect the local host gdb with a running gdbserver on the target
SVN-Revision: 18153
2009-10-25 17:45:57 +00:00
Felix Fietkau
94cdcbde6d 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
SVN-Revision: 18056
2009-10-17 22:11:21 +00:00
Nicolas Thill
0aeed7e525 getver: don't use "-r COMMITTED" arg which needs network access to the repository, use the "Last Changed Rev:" line instead
SVN-Revision: 17864
2009-10-05 09:30:53 +00:00
Nicolas Thill
c9b0c63f07 metadata.pl: fix a bug where dependency flags (@ and +) from a dependency were inherited by others
SVN-Revision: 17840
2009-10-03 20:01:22 +00:00
Felix Fietkau
7bd8115c7e metadata.pl: do not strip whitespaces from multiline data
SVN-Revision: 17827
2009-10-02 22:02:31 +00:00
Nicolas Thill
6fa03d63d4 getver: get svn rev from last commit so that we have consistent revision numbers between git and svn
SVN-Revision: 17781
2009-09-28 12:26:47 +00:00
Felix Fietkau
25fadf0b07 make scripts/ipkg more portable by using printf instead of echo -n
SVN-Revision: 17729
2009-09-26 08:34:18 +00:00
Jo-Philipp Wich
f58536ff83 use mktemp instead of tempfile in combined-image.sh to make it work on OS X
SVN-Revision: 17674
2009-09-22 15:07:12 +00:00
Jo-Philipp Wich
f20af38322 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
SVN-Revision: 17668
2009-09-22 01:09:04 +00:00
Felix Fietkau
caf8074566 scripts/feeds: fix an error message
SVN-Revision: 17451
2009-08-31 14:28:24 +00:00
Felix Fietkau
cbb9a14d8a add hg support to getver.sh (patch from #5763)
SVN-Revision: 17432
2009-08-28 12:51:01 +00:00
Imre Kaloz
49e657f433 fix breakage introduced with [17394]
SVN-Revision: 17395
2009-08-25 11:56:27 +00:00
Florian Fainelli
32ab3b9692 do not check for a specific Cygwin version, rather check the operating system name directly, thanks AndyI
SVN-Revision: 17394
2009-08-25 09:16:03 +00:00
Felix Fietkau
ec7621ebf9 add nommu target feature flag
SVN-Revision: 17347
2009-08-21 22:32:03 +00:00
Felix Fietkau
aee9d6c31c add a heavily cleaned up version of ubicom32 toolchain support
SVN-Revision: 17346
2009-08-21 22:31:47 +00:00
Geoff Levand
7581681466 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>

SVN-Revision: 17306
2009-08-18 23:07:45 +00:00
Lars-Peter Clausen
4063d0c93f Workaround a bug(?) in tar in debian squeeze, which causes the build process to fail without any reason.
SVN-Revision: 16390
2009-06-08 21:17:58 +00:00
Imre Kaloz
48cd8188ef missing changes for pcie handling
SVN-Revision: 16294
2009-06-02 09:54:45 +00:00
Felix Fietkau
487570f387 deptest: use a separate build dir for host packages to prevent hardcoded path screwups
SVN-Revision: 16162
2009-05-28 23:49:13 +00:00
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