linux-yocto: Added bc-native as DEPENDS
PATCH 1/1 linux-yocto: Added bc-native as DEPENDS
The makefile checks for bc during for compilation
[YOCTO #6781]
--- meta/classes/kernel.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/kernel.bbclass +1 -1
@@ -1,7 +1,7 @@ inherit linux-kernel-base kernel-module-split PROVIDES += "virtual/kernel" -DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc kmod-native depmodwrapper-cross" +DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc kmod-native depmodwrapper-cross bc-native" # we include gcc above, we dont need virtual/libc INHIBIT_DEFAULT_DEPS = "1"
Signature · 1 line
1.9.1
Hi Alejandro,
Quoted 22 lines · On Thursday 02 October 2014 10:19:17 Alejandro Hernandez wrote:
The makefile checks for bc during for compilation
[YOCTO #6781]
Signed-off-by Alejandro Hernandez <[email protected]>--- meta/classes/kernel.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/classes/kernel.bbclass +0
-1@@ -1,7 +1,7 @@ inherit linux-kernel-base kernel-module-split PROVIDES += "virtual/kernel" -DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcckmod-native depmodwrapper-cross" +DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc kmod-native depmodwrapper-cross bc-native"
Quoted 2 lines
# we include gcc above, we dont need virtual/libc INHIBIT_DEFAULT_DEPS = "1"
Since this is a change to kernel.bbclass, the shortlog should start with kernel.bbclass (or classes/kernel, whichever you prefer) rather than linux-yocto.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Alejandro,
Sorry this was my bad, I was not clear on your question to me earlier, since this was for the kernel.bbclass it should be
kernel: ...
So please submit corrected v2
Sorry
Sau!
Quoted 23 lines · Alejandro Hernandez
The makefile checks for bc during for compilation
[YOCTO #6781]
Signed-off-by Alejandro Hernandez <[email protected]>--- meta/classes/kernel.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/classes/kernel.bbclass +1
-1@@ -1,7 +1,7 @@ inherit linux-kernel-base kernel-module-split PROVIDES += "virtual/kernel" -DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc kmod-native depmodwrapper-cross" +DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc kmod-native depmodwrapper-cross bc-native" # we include gcc above, we dont need virtual/libc INHIBIT_DEFAULT_DEPS = "1"
Quoted 1 line · Alejandro Hernandez
The makefile checks for bc during for compilation
It's needed only by 3.9 and newer, so that's why it wasn't globally required by kernel.bbclass, but only in linux-yocto (3.10+ at that time) and I've applied it in couple kernel recipes which were building 3.9+.
But bc-native doesn't take so long to build, so I'm not opposed to depend on it (even when it isn't necessary in some cases).
Quoted 29 lines
[YOCTO #6781]
Signed-off-by Alejandro Hernandez <[email protected]>--- meta/classes/kernel.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/classes/kernel.bbclass +1
-1@@ -1,7 +1,7 @@ inherit linux-kernel-base kernel-module-split PROVIDES += "virtual/kernel" -DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc kmod-native depmodwrapper-cross" +DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc kmod-native depmodwrapper-cross bc-native" # we include gcc above, we dont need virtual/libc INHIBIT_DEFAULT_DEPS = "1"Signature · 7 lines
1.9.1 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]