aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/metadata.pl
Commit message (Collapse)AuthorAgeFilesLines
* build: split scripts/metadata.pl into target-metadata.pl and package-metadata.plFelix Fietkau2016-06-071-955/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: remove profile kernel/build system config override supportFelix Fietkau2016-05-151-2/+0
| | | | | | It has been unused for years Signed-off-by: Felix Fietkau <nbd@nbd.name>
* scripts/metadata.pl: add support for generating profile make code for the ↵Felix Fietkau2016-05-131-6/+17
| | | | | | image builder Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: avoid including profiles/*.mkFelix Fietkau2016-05-111-0/+12
| | | | | | Generate the active profile name in menuconfig context Signed-off-by: Felix Fietkau <nbd@nbd.name>
* metadata.pl: add support for forcing sorting of profilesFelix Fietkau2016-05-111-0/+4
| | | | | | | Used to mix device profiles (specified in the image makefile) with regular target profiles. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* metadata.pl: add support for selecting packages available only via PROVIDESFelix Fietkau2016-05-091-20/+30
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* global: introduce ALL_NONSHARED symbolJo-Philipp Wich2016-04-131-3/+6
| | | | | | | | Introduce a new symbol ALL_NONSHARED which selects all non-sharable packages by default. This option is mainly intented for buildbot setups to build the target dependant software subset only. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* scripts: metadata: use the new "Repository" fieldJo-Philipp Wich2016-04-131-2/+2
| | | | | | Switch to the new "Repository" metadata field to populate tmp/.packagesubdirs Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* scripts: metadata: add CONFIG_TARGET_SUBTARGET symbolJo-Philipp Wich2016-04-061-0/+12
| | | | | | | Add a new string symbol "CONFIG_TARGET_SUBTARGET" which contains the name of the chosen subtarget or "generic" if there are no subtargets available. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* include: group kmod ipk files into a "kernel" subdirectoryJo-Philipp Wich2016-01-241-5/+5
| | | | | | | | | | This is useful to just use the kmods from an official build while supplying base packages from a custom feed or the other way around; for just overriding the kmods with a local repo while using official repos for the rest. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 48475
* scripts/metadata.pl: add support for ignoring source packages when ↵Felix Fietkau2016-01-101-0/+4
| | | | | | | | generating metadata Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48170
* scripts/metadata.pl: do not emit ARCH selection for a target if it has ↵Felix Fietkau2015-03-291-3/+3
| | | | | | | | subtargets Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45112
* buildroot: make it easier to build all kmodsJonas Gorski2015-03-161-1/+5
| | | | | | | | | Split out kmods from ALL to make it easier to create local builds that are compatible kmod-wise with releases. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44830
* scripts/metadata.pl: move parse_target_metadata() to metadata.pmFelix Fietkau2015-03-151-85/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44776
* build: propagate override information to .config fileJohn Crispin2015-02-091-0/+8
| | | | | | | | | | | | | | With this change, override information is now parsed from the metadata and put in the %packages hash. A new hash - %overrides - is created and exported, to be used during the .config-package.in generation. If an override is detected, a new option CONFIG_OVERRIDE_PKGS will be created in the .config, and will contain a space-separated list of all the overridden packages. Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com> SVN-Revision: 44336
* scripts: add version_filter command to metadata.plJo-Philipp Wich2015-01-291-9/+59
| | | | | | | | Also support version annotated Kconfig symbols in the kconfig subcommand. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44188
* generate list of license information for packagesJohn Crispin2014-10-261-0/+26
| | | | | | | | | | | | | Many packages define already metadata about their license (PKG_LICENSE), but this is only included in the ipk files. This change allows to create the information also on the build-host, to get an overview on the used licenses. In the full list, also all packages without this info are shown Signed-off-by: Thomas Langer <thomas.langer@lantiq.com> SVN-Revision: 43070
* build: add support for declaring package CONFLICTS which only affect ↵Felix Fietkau2014-10-051-0/+13
| | | | | | | | selecting built-in packages Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42770
* build: allow packages with build variants to explicitly select a default variantFelix Fietkau2014-09-231-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42654
* build: introduce per feed repository supportJo-Philipp Wich2014-08-051-0/+12
| | | | | | | | | This changeset implements a new menuconfig option to generate separate repositories for each enabled package feed instead of one monolithic one. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42002
* scripts/metadata.pl: avoid adding depends and select for the same symbolFelix Fietkau2014-06-121-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41160
* kernel: add a NAND_SUPPORT symbolJohn Crispin2014-06-111-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41122
* build: add a feature flag for low-memory systemsFelix Fietkau2014-06-021-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40980
* metadata.pl: suppress profile config.in code for targets that have ↵Felix Fietkau2014-06-011-1/+4
| | | | | | | | subtargets (fixes #14480) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40896
* scripts/metadata.pl: fix ignoring missing host dependenciesFelix Fietkau2014-03-131-1/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39917
* scripts/metadata.pl: remove sdk specific config symbol overrideFelix Fietkau2014-03-131-8/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39916
* add a feature flag for device tree supportImre Kaloz2013-11-221-0/+1
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 38893
* build: drop FIT option until we actually need itLuka Perkov2013-10-171-1/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38439
* build: add menuconfig option for building FIT imagesLuka Perkov2013-10-161-0/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38431
* build: include the cpu type as part of the toolchain/target directory nameFelix Fietkau2013-09-261-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38214
* build: process transitive dependencies after local dependenciesFelix Fietkau2013-08-041-1/+7
| | | | | | | | This improves duplicate dependency detection Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37679
* build: suppress conditional dependencies if there are unconditional ↵Felix Fietkau2013-08-041-0/+1
| | | | | | | | dependencies on the same symbol Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37678
* kernel: add a new global config symbol for enabling rfkill support (can be ↵Felix Fietkau2013-07-211-0/+1
| | | | | | | | enabled by default via target feature flag) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37491
* scripts/metadata.pl: emit dependencies for package/kernel/linuxFelix Fietkau2013-07-191-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37433
* scripts: change metadata.pm and metadata.pl to not emit "default m if ALL" ↵Jo-Philipp Wich2013-07-181-2/+7
| | | | | | Kconfig instructions for hidden packages SVN-Revision: 37397
* metadata.pl: use alphabetical order for menuconfig categories, also fixes ↵Jo-Philipp Wich2013-07-161-1/+1
| | | | | | random ordering of symbols in .config SVN-Revision: 37369
* metadata.pl: fixpath exclusion of kernel packagesJohn Crispin2013-06-291-1/+1
| | | | | | | | module and build deps did not work for kernel modules Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37091
* target: split jffs2 NAND out of jffs2Jonas Gorski2013-06-051-1/+2
| | | | | | | | | | | | 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> SVN-Revision: 36860
* build: add config symbols for different ARM arch levelsFelix Fietkau2013-05-131-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36620
* build: consistently use 'depends on' instead of 'depends'Felix Fietkau2013-04-171-7/+7
| | | | | | | | make the syntax more compatible with kernel menuconfig Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36351
* buildroot: allow enabling MIPS16 user-space buildFlorian Fainelli2013-04-051-0/+1
| | | | | | | | | | | 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> SVN-Revision: 36202
* scrips/metadata.pl: fix broken targets with subtargets being selectableJonas Gorski2012-10-221-0/+1
| | | | | | | | | | 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. SVN-Revision: 33892
* AR71xx/9xxx based routers are the most common these days, select that as the ↵Imre Kaloz2012-09-281-1/+1
| | | | | | default target SVN-Revision: 33590
* build: ensure that reordering of KCONFIG lines are handled properly and that ↵Felix Fietkau2012-07-221-0/+1
| | | | | | the final result does not depend on the package scan order SVN-Revision: 32788
* target: add a feature flag for RTC supportFelix Fietkau2012-05-171-0/+1
| | | | SVN-Revision: 31777
* metadata.pl: filter direct recursive depends like "select PACKAGE_kmod-ipv6 ↵Jo-Philipp Wich2012-01-081-0/+1
| | | | | | if PACKAGE_kmod-ipv6" SVN-Revision: 29695
* allow targets to define a default subtarget when using automatic subtarget ↵John Crispin2011-07-041-0/+9
| | | | | | detection from r27407 SVN-Revision: 27444
* add support for hidden packages that get selected/built but do not show up ↵Felix Fietkau2011-07-021-1/+3
| | | | | | in menuconfig SVN-Revision: 27344
* metadata.pl: fix handling of multiple conditional depends that reference the ↵Jo-Philipp Wich2011-06-231-4/+4
| | | | | | same package (exposed by previous hotplug2 changes), also kill duplicate dependency specs while we're at it SVN-Revision: 27267
* Fix CONFIG_LINUX_ for linux 3.0Hauke Mehrtens2011-06-151-1/+5
| | | | | | Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> SVN-Revision: 27184