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
Michael Büsch
7a8066735d
Add usb gadget feature flag
...
SVN-Revision: 22798
2010-08-25 17:35:34 +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
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
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
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
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
56bc02a305
add preinit modularization work by Daniel Dickinson (cshore)
...
SVN-Revision: 19331
2010-01-25 17:11:17 +00:00
Lars-Peter Clausen
db06ca593b
Add support for building ubifs images.
...
SVN-Revision: 19097
2010-01-11 01:10: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
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
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
ec7621ebf9
add nommu target feature flag
...
SVN-Revision: 17347
2009-08-21 22:32:03 +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
Imre Kaloz
48cd8188ef
missing changes for pcie handling
...
SVN-Revision: 16294
2009-06-02 09:54:45 +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
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
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
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
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
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
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
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
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
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
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
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
Gabor Juhos
5b3951bfbb
add feature flag for the cpio.gz support
...
SVN-Revision: 10311
2008-01-29 13:56:43 +00:00
Felix Fietkau
6e03b9ce43
add config symbols for the kernel version
...
SVN-Revision: 9520
2007-11-10 15:22:53 +00:00
Felix Fietkau
41815ee5c8
add feature flag for display support. will be used as dependency for x.org
...
SVN-Revision: 9448
2007-10-25 21:08:46 +00:00
Felix Fietkau
aef9b313b1
remove the dummy profile that was created on targets that have subtargets
...
SVN-Revision: 9383
2007-10-21 06:44:06 +00:00
Felix Fietkau
86a906bed2
reorganize subtargets, sort subtargets below top level targets
...
SVN-Revision: 9378
2007-10-20 19:10:06 +00:00
Felix Fietkau
80b7ff39f9
fix duplicate dependencies
...
SVN-Revision: 9311
2007-10-14 05:25:50 +00:00
Felix Fietkau
e2e8d55dcc
allow targets to select/deselect config symbols
...
SVN-Revision: 9150
2007-10-05 21:44:43 +00:00
Felix Fietkau
97b6135462
add a packaging method that installs files into a subdirectory of bin/ instead of an ipkg
...
SVN-Revision: 9060
2007-09-29 01:21:56 +00:00
Felix Fietkau
f8dfc57573
add initial version of a package feeds management script
...
SVN-Revision: 8973
2007-09-23 02:39:01 +00:00
Eugene Konev
dd44ecc578
fix image preconfiguration
...
SVN-Revision: 8921
2007-09-21 17:01:46 +00:00
Felix Fietkau
fb68d6c468
define extra config symbols for targets containing multiple subtargets
...
SVN-Revision: 8724
2007-09-09 22:39:10 +00:00
Felix Fietkau
a9d683ca91
major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets
...
SVN-Revision: 8694
2007-09-08 19:55:42 +00:00
Felix Fietkau
56231056ea
strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles.
...
SVN-Revision: 8653
2007-09-06 16:27:37 +00:00
Felix Fietkau
e01cb5c7f2
fix a dependency bug
...
SVN-Revision: 8275
2007-07-31 11:28:22 +00:00
Felix Fietkau
49e628f765
next round of build system cleanup - convert package/ to new structure
...
SVN-Revision: 8236
2007-07-30 18:22:01 +00:00
Felix Fietkau
1a12e151ee
fix a prereq bug
...
SVN-Revision: 8183
2007-07-26 16:14:14 +00:00
Felix Fietkau
35d116c85b
more dependency fixes
...
SVN-Revision: 8115
2007-07-23 02:41:33 +00:00
Florian Fainelli
19a52ea35d
Add a USES_TGZ config.in variable, so that RB1xx profiles can use it
...
SVN-Revision: 8039
2007-07-18 14:11:44 +00:00
Felix Fietkau
b9fd180547
allow kconfig symbols to be shared between packages
...
SVN-Revision: 8029
2007-07-18 11:53:25 +00:00
Felix Fietkau
8e42553971
dynamically enable/disable kernel config options for kmod packages based on build system config
...
SVN-Revision: 8026
2007-07-18 11:31:01 +00:00
Felix Fietkau
de2aa28c4c
properly support dependencies on packages that just use Build/DefaultTargets
...
SVN-Revision: 7983
2007-07-15 23:36:02 +00:00
Felix Fietkau
7b16475eb7
fixes for recursive package scanning
...
SVN-Revision: 7982
2007-07-15 23:16:47 +00:00
Felix Fietkau
0ed9124016
fix PACKAGES:= for target profiles in target.mk
...
SVN-Revision: 7907
2007-07-10 20:36:25 +00:00
Felix Fietkau
90237dd18c
Make UCI preconfiguration optional and disabled by default
...
SVN-Revision: 7095
2007-05-05 10:06:10 +00:00
Felix Fietkau
b04ef81416
some cleanups in the metadata.pl script; allow target profiles to add overrides for menuconfig
...
SVN-Revision: 6648
2007-03-23 14:48:47 +00:00
Felix Fietkau
2c62bddcfe
Add an 'Image Configuration' menu to menuconfig Packages can export a list of config options with labels and data types through the metadata. The selected config values will be exported to the target filesystem in /etc/uci-defaults and applied on the first boot.
...
SVN-Revision: 6572
2007-03-16 03:02:31 +00:00
Felix Fietkau
d14f611eb1
disable the automatic config reset if 'Advanced configuration options' is selected
...
SVN-Revision: 6506
2007-03-04 16:02:41 +00:00
Felix Fietkau
eea7bb328d
force a config reset when the user changes the target platform in menuconfig
...
SVN-Revision: 6503
2007-03-04 14:04:33 +00:00
Felix Fietkau
804bfa954d
ignore profiles with custom kernel configs in the image builder itself
...
SVN-Revision: 6342
2007-02-22 04:03:35 +00:00
Felix Fietkau
ccd12544f6
disable the image builder in menuconfig for profiles with custom kernel configs
...
SVN-Revision: 6341
2007-02-22 03:56:54 +00:00
Felix Fietkau
5281d134cd
rename the Profile template that the image builder uses to prevent name conflicts with the template that the kernel uses
...
SVN-Revision: 6336
2007-02-22 02:27:01 +00:00
Felix Fietkau
218aad6e2f
Menuconfig will not treat 'select FOO' as a real dependency thus if BAR depends on FOO and FOO depends on other config options, these dependencies will not be checked. To fix this, we simply emit all of FOO's depends (only real dependencies, no select) for BAR as well.
...
SVN-Revision: 6293
2007-02-12 23:50:40 +00:00
Felix Fietkau
69d76bb482
make spca5xx depend on video device support in the kernel
...
SVN-Revision: 6153
2007-01-21 02:02:01 +00:00
Felix Fietkau
2fb06d46d9
Add WL-700gE support (based on work by jr) Includes kernel/diag patch and a new target profile
...
SVN-Revision: 6142
2007-01-20 12:35:00 +00:00
Felix Fietkau
84a0696c1e
add descriptions to the broadcom target profiles and export them to the target metadata (not presented in menuconfig yet)
...
SVN-Revision: 6137
2007-01-20 02:30:36 +00:00
Felix Fietkau
28b503b47f
include the default profile in target.mk as well - required for the image builder on certain targets
...
SVN-Revision: 6098
2007-01-14 21:44:13 +00:00
Felix Fietkau
06e88a80c7
merge the scripts dealing with package/target metadata to remove some redundant code
...
SVN-Revision: 6088
2007-01-13 14:05:14 +00:00