Jo-Philipp Wich
c4e84eb3f8
[scripts] metadata.pl: filter direct recursive depends like "select PACKAGE_kmod-ipv6 if PACKAGE_kmod-ipv6"
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-08 15:49:20 +00:00
John Crispin
076d58c2cb
allow targets to define a default subtarget when using automatic subtarget detection from r27407
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-04 11:21:37 +00:00
Felix Fietkau
c163347f4b
add support for hidden packages that get selected/built but do not show up in menuconfig
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 06:49:09 +00:00
Jo-Philipp Wich
70f62578d9
[scripts] metadata.pl: fix handling of multiple conditional depends that reference the same package (exposed by previous hotplug2 changes), also kill duplicate dependency specs while we're at it
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27267 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-23 19:28:16 +00:00
Hauke Mehrtens
a4194f58c6
Fix CONFIG_LINUX_ for linux 3.0
...
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27184 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-15 21:11:05 +00:00
Felix Fietkau
f07b8453db
remove the now unused Target-Kernel field from the target metadata
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-30 23:07:53 +00:00
Felix Fietkau
f7beb0c7a6
metadata: do not emit feature flag selects for targets which have subtargets - fixes a buildbot error cause by ssb not being blacklisted for lantiq falcon
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-17 12:54:45 +00:00
Felix Fietkau
d269a8077e
add a new package metadata variable MDEPENDS for specifying local menuconfig dependencies that do not propagate to other packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-05 19:03:51 +00:00
Felix Fietkau
f9db725f5c
metadata: fix handling of multiple build dependencies with different conditions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 02:52:22 +00:00
Felix Fietkau
a916879574
mpc85xx: add a new 'spe_fpu' feature flag for the FPU used on freescale powerpc cpus
...
The SPE FPU is ABI-incompatible with the regular powerpc FPU,
this needs to be reflected in the toolchain target name.
Fixes floating point crashes in user space
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-16 01:25:06 +00:00
Imre Kaloz
c1725149e1
switch from ext2 to ext4 (w/o) journaling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 12:12:39 +00:00
Jo-Philipp Wich
f91962bddd
[scripts] metadata.pl: don't emit LINUX_2_6 selects anymore
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23375 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-10 12:27:44 +00:00
Felix Fietkau
32b6ebf57c
fix build dependencies on packages with multiple variants but no selected virtual packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-20 20:17:28 +00:00
Jo-Philipp Wich
69c9cad2a1
[buildroot] 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-12 20:49:54 +00:00
Jo-Philipp Wich
d069b1594f
[scripts] metadata.pl: fix handling of HOST_BUILD_DEPENDS if a package is referenced that only exists as source pkg, e.g. libtool
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-06 01:43:20 +00:00
Felix Fietkau
e3b691c96c
add a command for printing a cleaned up make target database - will be used to analyze package dependencies at some point
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-01 17:51:36 +00:00
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