Commit Graph

127 Commits (01862981001a2739c39eb355a3b0bc458f8af164)

Author SHA1 Message Date
Michael Büsch 55bd749a6c Add usb gadget feature flag
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-25 17:35:34 +00:00
Felix Fietkau 341feb2a3f set the default target to brcm47xx, now that brcm-2.4 is gone
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 23:47:25 +00:00
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
Felix Fietkau 92558d67a4 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-06 16:27:37 +00:00
Felix Fietkau f7fdc4d2ee fix a dependency bug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-31 11:28:22 +00:00
Felix Fietkau 7f5129c7d9 next round of build system cleanup - convert package/ to new structure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 18:22:01 +00:00
Felix Fietkau ac8a4fb075 fix a prereq bug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8183 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-26 16:14:14 +00:00
Felix Fietkau 4205ec3e01 more dependency fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-23 02:41:33 +00:00
Florian Fainelli 36703bb8d8 Add a USES_TGZ config.in variable, so that RB1xx profiles can use it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-18 14:11:44 +00:00
Felix Fietkau 451983413c allow kconfig symbols to be shared between packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-18 11:53:25 +00:00
Felix Fietkau cbd55fe6d7 dynamically enable/disable kernel config options for kmod packages based on build system config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-18 11:31:01 +00:00
Felix Fietkau 4463126a21 properly support dependencies on packages that just use Build/DefaultTargets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-15 23:36:02 +00:00
Felix Fietkau ec15f6a3bd fixes for recursive package scanning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-15 23:16:47 +00:00
Felix Fietkau f200206c6c fix PACKAGES:= for target profiles in target.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-10 20:36:25 +00:00
Felix Fietkau 0545721438 Make UCI preconfiguration optional and disabled by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-05 10:06:10 +00:00
Felix Fietkau 1b3722a5f8 some cleanups in the metadata.pl script; allow target profiles to add overrides for menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-23 14:48:47 +00:00
Felix Fietkau 97276e7bf0 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 03:02:31 +00:00
Felix Fietkau 95d308680b disable the automatic config reset if 'Advanced configuration options' is selected
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 16:02:41 +00:00
Felix Fietkau fa0bde3110 force a config reset when the user changes the target platform in menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 14:04:33 +00:00
Felix Fietkau c6d265f356 ignore profiles with custom kernel configs in the image builder itself
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-22 04:03:35 +00:00
Felix Fietkau 76ba15fe00 disable the image builder in menuconfig for profiles with custom kernel configs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-22 03:56:54 +00:00
Felix Fietkau 6bf50a5091 rename the Profile template that the image builder uses to prevent name conflicts with the template that the kernel uses
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-22 02:27:01 +00:00
Felix Fietkau 73f9c65d77 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.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-12 23:50:40 +00:00
Felix Fietkau 1e61d2ea71 make spca5xx depend on video device support in the kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6153 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-21 02:02:01 +00:00
Felix Fietkau 599cf4f524 Add WL-700gE support (based on work by jr)
Includes kernel/diag patch and a new target profile


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-20 12:35:00 +00:00
Felix Fietkau 2adf3524cf add descriptions to the broadcom target profiles and export them to the target metadata (not presented in menuconfig yet)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-20 02:30:36 +00:00
Felix Fietkau edf3bfb0af include the default profile in target.mk as well - required for the image builder on certain targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-14 21:44:13 +00:00
Felix Fietkau 2bcc7322ff merge the scripts dealing with package/target metadata to remove some redundant code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-13 14:05:14 +00:00