Commit Graph

114 Commits (3baabfda99bd7e2a0992c920b6ae3b259d678638)

Author SHA1 Message Date
Felix Fietkau 1553b40323 scripts/metadata.pl: fix ignoring missing host dependencies
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-13 14:14:06 +00:00
Felix Fietkau 57e0faf0bb scripts/metadata.pl: remove sdk specific config symbol override
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-13 14:14:03 +00:00
Imre Kaloz 27bb4475fb add a feature flag for device tree support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-22 12:01:01 +00:00
Luka Perkov fd9d6b9a97 build: drop FIT option until we actually need it
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-17 15:45:41 +00:00
Luka Perkov 7c37d1e787 build: add menuconfig option for building FIT images
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38431 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-16 21:23:24 +00:00
Felix Fietkau be6662ecdf build: include the cpu type as part of the toolchain/target directory name
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38214 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-26 17:53:32 +00:00
Felix Fietkau ef5da32acb build: process transitive dependencies after local dependencies
This improves duplicate dependency detection

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-04 12:17:26 +00:00
Felix Fietkau e84c4d5b0a build: suppress conditional dependencies if there are unconditional dependencies on the same symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-04 12:17:22 +00:00
Felix Fietkau 17e4d34085 kernel: add a new global config symbol for enabling rfkill support (can be enabled by default via target feature flag)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-21 11:55:30 +00:00
Felix Fietkau 580b2a70a0 scripts/metadata.pl: emit dependencies for package/kernel/linux
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-19 12:49:21 +00:00
Jo-Philipp Wich 2df2035f95 scripts: change metadata.pm and metadata.pl to not emit "default m if ALL" Kconfig instructions for hidden packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-18 13:11:46 +00:00
Jo-Philipp Wich e9abe75648 metadata.pl: use alphabetical order for menuconfig categories, also fixes random ordering of symbols in .config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-16 10:35:40 +00:00
John Crispin 1597b80022 metadata.pl: fixpath exclusion of kernel packages
module and build deps did not work for kernel modules

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-29 19:37:11 +00:00
Jonas Gorski 982f0f3386 target: split jffs2 NAND out of jffs2
Make jffs2_nand a separate option so this can be triggered without forcing
jffs2 images for nor targets.

Adds a new NAND_BLOCKSIZE variable that allows setting the generated layout
in <page_size>:<block_size> pairs.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-05 20:58:03 +00:00
Felix Fietkau b3ab992d66 build: add config symbols for different ARM arch levels
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-13 15:04:58 +00:00
Felix Fietkau ab8468d344 build: consistently use 'depends on' instead of 'depends'
make the syntax more compatible with kernel menuconfig

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-17 15:36:41 +00:00
Florian Fainelli e861f11c45 buildroot: allow enabling MIPS16 user-space build
Enabling MIPS16 is made conditional on advertising the "mips16" feature
for a specific target since it requires support from the CPU
(HAS_MIPS16) and the actual use of MIPS16 for building packages
(USE_MIPS16).

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-05 12:36:12 +00:00
Jonas Gorski 23586bad08 scrips/metadata.pl: fix broken targets with subtargets being selectable
r26926 moved all target features to subtargets if present, which had the
side effect that broken targets are available for selection, just without
any available subtargets (since they are still marked as broken).

Fix this by explicitly letting the top level target also depend on broken.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-22 22:16:19 +00:00
Imre Kaloz e1396c49c0 AR71xx/9xxx based routers are the most common these days, select that as the default target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-28 20:54:35 +00:00
Felix Fietkau e5ddfdef84 build: ensure that reordering of KCONFIG lines are handled properly and that the final result does not depend on the package scan order
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-22 21:00:07 +00:00
Felix Fietkau d73794f9a2 target: add a feature flag for RTC support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 15:28:09 +00:00
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