Commit Graph

75 Commits (6a4f17a03625c72b2d2835be84e6c971ed611930)

Author SHA1 Message Date
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 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
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
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 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
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
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
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 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 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
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
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
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
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
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
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
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
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
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 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
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
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 c857936b93 fix missing package compile/installation issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-11 18:48:37 +00:00
Felix Fietkau a3b3d0ca6a fix some previously ignored build dependencies (for example, uci->lua)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-11 01:36:08 +00:00
Felix Fietkau 03976cac7d consider virtual dependencies (generated by using PROVIDES:=) when generating the build dependencies (fixes python build dependency errors)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-10 21:10:02 +00:00
Imre Kaloz 1269cfb9c0 add new target feature option for fpu
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-03 09:29:58 +00:00
Nicolas Thill b21db46a8e add a gpio feature for devices supporting the generic GPIO interface
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-20 09:46:45 +00:00
Gabor Juhos c38a48d515 add feature flag for the cpio.gz support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10311 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-29 13:56:43 +00:00
Felix Fietkau 155a71a774 add config symbols for the kernel version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9520 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-10 15:22:53 +00:00
Felix Fietkau 0df9a1cdbf add feature flag for display support. will be used as dependency for x.org
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-25 21:08:46 +00:00
Felix Fietkau 0b79377a32 remove the dummy profile that was created on targets that have subtargets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-21 06:44:06 +00:00
Felix Fietkau b0e66dadd9 reorganize subtargets, sort subtargets below top level targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-20 19:10:06 +00:00
Felix Fietkau f62da699db fix duplicate dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9311 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-14 05:25:50 +00:00
Felix Fietkau 135a672b36 allow targets to select/deselect config symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-05 21:44:43 +00:00
Felix Fietkau 3eda02f389 add a packaging method that installs files into a subdirectory of bin/ instead of an ipkg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 01:21:56 +00:00
Felix Fietkau a2f0b50941 add initial version of a package feeds management script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-23 02:39:01 +00:00
Eugene Konev dbd4e0eee6 fix image preconfiguration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-21 17:01:46 +00:00
Felix Fietkau 2286814531 define extra config symbols for targets containing multiple subtargets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-09 22:39:10 +00:00
Felix Fietkau 6bcd07afdd 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 19:55:42 +00:00