aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2012-01-11 18:53:38 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2012-02-01 22:55:49 +0100
commit2444085bdc3b2931c4826e455b938ce75d10821c (patch)
tree39acd2d1d7fb3ec2e604a44da7f26fb7bf01bb45 /package
parentf372dca94f2e75ebd0fec48edabf83cfcb036d36 (diff)
downloadbuildroot-novena-2444085bdc3b2931c4826e455b938ce75d10821c.tar.gz
buildroot-novena-2444085bdc3b2931c4826e455b938ce75d10821c.zip
Add support for package-declared devices
Add a way for packages to declare files they need instead of relying only on device tables, which creates files no matter if the package is indeed enabled, as we can see for busybox. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/Makefile.package.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/Makefile.package.in b/package/Makefile.package.in
index e57bfed1b..31f5ab646 100644
--- a/package/Makefile.package.in
+++ b/package/Makefile.package.in
@@ -714,6 +714,8 @@ endif
ifeq ($$($$($(2)_KCONFIG_VAR)),y)
TARGETS += $(1)
+PACKAGES_PERMISSIONS_TABLE += $$($(2)_PERMISSIONS)$$(sep)
+PACKAGES_DEVICES_TABLE += $$($(2)_DEVICES)$$(sep)
ifeq ($$($(2)_SITE_METHOD),svn)
DL_TOOLS_DEPENDENCIES += svn