aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/metadata.pm
Commit message (Collapse)AuthorAgeFilesLines
* metadata: interate over source packages when generating MakefileMatthias Schiffer2018-01-131-0/+1
| | | | | | | | | | | | All build dependencies are between source packages. Interating over source rather than binary packages simplifies parts of the code and prepares further improvement. As a side effect, this changes the implicit default variant of a few packages (the first defined is used now instead of the lexicographically first). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* metadata: move 'builddepends' from binary to source packagesMatthias Schiffer2018-01-131-3/+3
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* metadata: move 'buildtypes' from binary to source packagesMatthias Schiffer2018-01-131-2/+2
| | | | | | | Build types are a property of source rather than binary packages. This is a preparation for followup cleanup. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* metadata: make srcpackage extensibleMatthias Schiffer2018-01-131-2/+4
| | | | | | | Turn the srcpackage values into hashes to allow storing more information than just binary package names. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* scripts/package-metadata.pl: parse and validate field Require-UserYousong Zhou2017-06-181-1/+71
| | | | | | | | | | | | | The script will now detect uid/gid collision and can generate a table of current allocation ./scripts/package-metadata.pl usergroup tmp/.packageinfo \ | sort -k 1,1r -k 3,3n \ | column -t This should ensure that no collision will happen for each single build Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* scripts/package-metadata.pl: fix kmod pakage dependencies within the SDKFelix Fietkau2016-07-071-3/+3
| | | | | | | | | | Instead of ignoring all metadata for package/kernel/linux, process it and only suppress emitting config data to tmp/.config-package.in This ensures that packages that select kmod-* packages can inherit their depdendencies. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: implement support for selecting multiple device profilesFelix Fietkau2016-06-071-0/+1
| | | | 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-0/+5
| | | | | | image builder Signed-off-by: Felix Fietkau <nbd@nbd.name>
* metadata.pl: fix target profile sorting checkFelix Fietkau2016-05-111-3/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* metadata.pl: add support for forcing sorting of profilesFelix Fietkau2016-05-111-1/+6
| | | | | | | Used to mix device profiles (specified in the image makefile) with regular target profiles. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* target.mk: remove the unused Target-Path fieldFelix Fietkau2016-05-111-1/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* scripts: remove "Package-Subdir" metadata handlingJo-Philipp Wich2016-04-131-1/+0
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* scripts: metadata: use the new "Repository" fieldJo-Philipp Wich2016-04-131-0/+1
| | | | | | Switch to the new "Repository" metadata field to populate tmp/.packagesubdirs Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* include: group kmod ipk files into a "kernel" subdirectoryJo-Philipp Wich2016-01-241-1/+1
| | | | | | | | | | 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-1/+4
| | | | | | | | generating metadata Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48170
* scripts/metadata.pm: save target makefile namesFelix Fietkau2015-03-151-0/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44780
* scripts/metadata.pl: move parse_target_metadata() to metadata.pmFelix Fietkau2015-03-151-1/+85
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44776
* build: propagate override information to .config fileJohn Crispin2015-02-091-1/+10
| | | | | | | | | | | | | | 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
* generate list of license information for packagesJohn Crispin2014-10-261-0/+2
| | | | | | | | | | | | | 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/+1
| | | | | | | | 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-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42654
* build: introduce per feed repository supportJo-Philipp Wich2014-08-051-0/+1
| | | | | | | | | 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: change metadata.pm and metadata.pl to not emit "default m if ALL" ↵Jo-Philipp Wich2013-07-181-1/+0
| | | | | | Kconfig instructions for hidden packages SVN-Revision: 37397
* add support for hidden packages that get selected/built but do not show up ↵Felix Fietkau2011-07-021-0/+1
| | | | | | in menuconfig SVN-Revision: 27344
* add a new package metadata variable MDEPENDS for specifying local menuconfig ↵Felix Fietkau2011-04-051-0/+2
| | | | | | dependencies that do not propagate to other packages SVN-Revision: 26491
* metadata: allow build variants to contain "-"Felix Fietkau2010-01-231-1/+1
| | | | SVN-Revision: 19284
* build system: introduce a new feature called build variants. it allows ↵Felix Fietkau2009-11-101-0/+1
| | | | | | 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 SVN-Revision: 18357
* add experimental support for a new menuconfig submenu "Package features". ↵Felix Fietkau2009-10-171-1/+23
| | | | | | 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 SVN-Revision: 18056
* metadata.pl: do not strip whitespaces from multiline dataFelix Fietkau2009-10-021-1/+0
| | | | SVN-Revision: 17827
* scripts/feeds: fix a warning (#4474)Felix Fietkau2009-05-041-0/+1
| | | | SVN-Revision: 15600
* move host build in packages into a separate namespace: ↵Felix Fietkau2009-03-171-0/+3
| | | | | | package/<name>/host/<target> this allows dependencies between host and target packages, and saves unnecessary host builds for packages that contain both variants SVN-Revision: 14905
* fix a package metadata parsing bugFelix Fietkau2009-03-031-1/+1
| | | | SVN-Revision: 14735
* added source distribution to package dump, used by our SDK (include source ↵Ralph Hempel2009-03-011-0/+1
| | | | | | distributions for offline usage) added bugfix for sub-targets added bugfix for help info (thanks to Thomas) SVN-Revision: 14703
* add support for build-only packages which do not appear in menuconfigFelix Fietkau2009-01-131-0/+1
| | | | SVN-Revision: 14009
* fix uninitialized variable in metadata.pm (#3860)Felix Fietkau2008-08-161-0/+1
| | | | SVN-Revision: 12325
* scripts/feeds: properly handle virtual packages as well, use the first ↵Felix Fietkau2008-08-041-1/+7
| | | | | | available provider by default SVN-Revision: 12103
* fix the sdkFelix Fietkau2007-12-141-1/+1
| | | | SVN-Revision: 9747
* indent custom package config codeFelix Fietkau2007-10-311-1/+1
| | | | SVN-Revision: 9472
* add a packaging method that installs files into a subdirectory of bin/ ↵Felix Fietkau2007-09-291-0/+8
| | | | | | instead of an ipkg SVN-Revision: 9060
* add initial version of a package feeds management scriptFelix Fietkau2007-09-231-0/+113
SVN-Revision: 8973