diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2012-10-12 12:46:38 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-19 18:02:26 +0100 |
commit | 33b31640bf485bcfefee015e9df81aa9989b322c (patch) | |
tree | 8289b56e8d7055252d26d5eb496f74217986acec /meta/classes/kernel.bbclass | |
parent | e9938516240e7ef3b5aeb47690828dd574ba2d8e (diff) | |
download | poky-33b31640bf485bcfefee015e9df81aa9989b322c.tar.gz |
PACKAGES_DYNAMIC: use regexp not glob
* bitbake uses PACKAGES_DYNAMIC as regexp
^ could make matching faster (and it will be more clear that we're expecting regexp not glob)
* made all those last '-' optional, use .* (or nothing)
(From OE-Core rev: 2f3ebdfa5f42dae51063b043cc4b0fbe20b40064)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r-- | meta/classes/kernel.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 2163c1f587..8c5aaf5848 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -24,9 +24,9 @@ python __anonymous () { | |||
24 | 24 | ||
25 | inherit kernel-arch deploy | 25 | inherit kernel-arch deploy |
26 | 26 | ||
27 | PACKAGES_DYNAMIC += "kernel-module-*" | 27 | PACKAGES_DYNAMIC += "^kernel-module-.*" |
28 | PACKAGES_DYNAMIC += "kernel-image-*" | 28 | PACKAGES_DYNAMIC += "^kernel-image-.*" |
29 | PACKAGES_DYNAMIC += "kernel-firmware-*" | 29 | PACKAGES_DYNAMIC += "^kernel-firmware-.*" |
30 | 30 | ||
31 | export OS = "${TARGET_OS}" | 31 | export OS = "${TARGET_OS}" |
32 | export CROSS_COMPILE = "${TARGET_PREFIX}" | 32 | export CROSS_COMPILE = "${TARGET_PREFIX}" |