diff options
| -rw-r--r-- | meta/classes/autotools.bbclass | 4 | ||||
| -rw-r--r-- | meta/classes/base.bbclass | 6 | ||||
| -rw-r--r-- | meta/classes/icecc.bbclass | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index 9dc8ebdaa7..77d90a3df5 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | def autotools_dep_prepend(d): | 1 | def get_autotools_dep(d): |
| 2 | if d.getVar('INHIBIT_AUTOTOOLS_DEPS'): | 2 | if d.getVar('INHIBIT_AUTOTOOLS_DEPS'): |
| 3 | return '' | 3 | return '' |
| 4 | 4 | ||
| @@ -19,7 +19,7 @@ def autotools_dep_prepend(d): | |||
| 19 | 19 | ||
| 20 | return deps | 20 | return deps |
| 21 | 21 | ||
| 22 | DEPENDS_prepend = "${@autotools_dep_prepend(d)} " | 22 | DEPENDS_prepend = "${@get_autotools_dep(d)} " |
| 23 | 23 | ||
| 24 | inherit siteinfo | 24 | inherit siteinfo |
| 25 | 25 | ||
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 42fb84c4d5..ff0579c7d6 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
| @@ -66,7 +66,7 @@ oe_runmake() { | |||
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | 68 | ||
| 69 | def base_dep_prepend(d): | 69 | def get_base_dep(d): |
| 70 | if d.getVar('INHIBIT_DEFAULT_DEPS', False): | 70 | if d.getVar('INHIBIT_DEFAULT_DEPS', False): |
| 71 | return "" | 71 | return "" |
| 72 | return "${BASE_DEFAULT_DEPS}" | 72 | return "${BASE_DEFAULT_DEPS}" |
| @@ -74,8 +74,8 @@ def base_dep_prepend(d): | |||
| 74 | BASE_DEFAULT_DEPS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}compilerlibs virtual/libc" | 74 | BASE_DEFAULT_DEPS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}compilerlibs virtual/libc" |
| 75 | 75 | ||
| 76 | BASEDEPENDS = "" | 76 | BASEDEPENDS = "" |
| 77 | BASEDEPENDS_class-target = "${@base_dep_prepend(d)}" | 77 | BASEDEPENDS_class-target = "${@get_base_dep(d)}" |
| 78 | BASEDEPENDS_class-nativesdk = "${@base_dep_prepend(d)}" | 78 | BASEDEPENDS_class-nativesdk = "${@get_base_dep(d)}" |
| 79 | 79 | ||
| 80 | DEPENDS_prepend="${BASEDEPENDS} " | 80 | DEPENDS_prepend="${BASEDEPENDS} " |
| 81 | 81 | ||
diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass index 80943fcf02..089d52732f 100644 --- a/meta/classes/icecc.bbclass +++ b/meta/classes/icecc.bbclass | |||
| @@ -97,7 +97,7 @@ ICECC_SYSTEM_CLASS_BL += "\ | |||
| 97 | image \ | 97 | image \ |
| 98 | " | 98 | " |
| 99 | 99 | ||
| 100 | def icecc_dep_prepend(d): | 100 | def get_icecc_dep(d): |
| 101 | # INHIBIT_DEFAULT_DEPS doesn't apply to the patch command. Whether or not | 101 | # INHIBIT_DEFAULT_DEPS doesn't apply to the patch command. Whether or not |
| 102 | # we need that built is the responsibility of the patch function / class, not | 102 | # we need that built is the responsibility of the patch function / class, not |
| 103 | # the application. | 103 | # the application. |
| @@ -105,7 +105,7 @@ def icecc_dep_prepend(d): | |||
| 105 | return "icecc-create-env-native" | 105 | return "icecc-create-env-native" |
| 106 | return "" | 106 | return "" |
| 107 | 107 | ||
| 108 | DEPENDS_prepend = "${@icecc_dep_prepend(d)} " | 108 | DEPENDS_prepend = "${@get_icecc_dep(d)} " |
| 109 | 109 | ||
| 110 | get_cross_kernel_cc[vardepsexclude] += "KERNEL_CC" | 110 | get_cross_kernel_cc[vardepsexclude] += "KERNEL_CC" |
| 111 | def get_cross_kernel_cc(bb,d): | 111 | def get_cross_kernel_cc(bb,d): |
