Commit Graph

25 Commits (387d2ad4890d7f5b3d50beee5c248b9ad7b5f19d)

Author SHA1 Message Date
Felix Fietkau f7a7b550d3 scripts/metadata.pm: save target makefile names
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 11:08:01 +00:00
Felix Fietkau 2a7aff42fd scripts/metadata.pl: move parse_target_metadata() to metadata.pm
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 11:07:40 +00:00
John Crispin 6b1d86bc97 build: propagate override information to .config file
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:09:43 +00:00
John Crispin ef7634e29e generate list of license information for packages
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43070 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-26 16:57:33 +00:00
Felix Fietkau 3ed277255c build: add support for declaring package CONFLICTS which only affect selecting built-in packages
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 16:41:33 +00:00
Felix Fietkau 51b28882cc build: allow packages with build variants to explicitly select a default variant
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42654 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-23 10:41:15 +00:00
Jo-Philipp Wich fdb795c3e4 build: introduce per feed repository support
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-05 11:24:24 +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
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
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 a41a411af7 metadata: allow build variants to contain "-"
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-23 08:28:15 +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 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
Felix Fietkau b4305b62bb metadata.pl: do not strip whitespaces from multiline data
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17827 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-02 22:02:31 +00:00
Felix Fietkau 3d033c11f4 scripts/feeds: fix a warning (#4474)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-04 18:50:58 +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 df83a95b78 fix a package metadata parsing bug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03 14:03:37 +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
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
Felix Fietkau 72c514fe88 fix uninitialized variable in metadata.pm (#3860)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-16 17:00:50 +00:00
Felix Fietkau fce073c929 scripts/feeds: properly handle virtual packages as well, use the first available provider by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-04 22:22:43 +00:00
Felix Fietkau b85354ab6e fix the sdk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-14 00:33:25 +00:00
Felix Fietkau 314a8d75d0 indent custom package config code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-31 23:27:55 +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