Lines Matching refs:package
6 [[virtual-package-tutorial]]
8 In Buildroot, a virtual package is a package whose functionalities are
10 package management is an extensible mechanism allowing the user to choose
16 package and +sunxi-mali+ and +ti-gfx+ will be the providers.
18 ==== +virtual-package+ tutorial
20 In the following example, we will explain how to add a new virtual package
23 First, let's create the virtual package.
25 ==== Virtual package's +Config.in+ file
27 The +Config.in+ file of virtual package 'something-virtual' should contain:
42 ==== Virtual package's +.mk+ file
44 The +.mk+ for the virtual package should just evaluate the +virtual-package+ macro:
53 07: $(eval $(virtual-package))
57 +host-virtual-package+ macro.
61 When adding a package as a provider, only the +Config.in+ file requires some
64 The +Config.in+ file of the package 'some-provider', which provides the
97 this package!
99 ==== Notes on depending on a virtual package
101 When adding a package that requires a certain +FEATURE+ provided by a virtual
102 package, you have to use +depends on BR2_PACKAGE_HAS_FEATURE+, like so:
115 If your package really requires a specific provider, then you'll have to
116 make your package +depends on+ this provider; you can _not_ +select+ a
134 And you are adding a package that needs +FEATURE+ as provided by +foo+,