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