[OE-core] RFC: grub-efi native tools

Paul Eggleton paul.eggleton at linux.intel.com
Wed Nov 23 08:10:48 UTC 2011


On Wednesday 23 November 2011 00:01:58 Darren Hart wrote:
> On 11/22/2011 11:36 PM, Koen Kooi wrote:
> > One way:
> > 
> > DEPENDS = "grub-efi-native"
> > DEPENDS_virtclass-native = ""
> 
> Ah, nice. I presume I can also zero out a function for the virtclass-native?
> 
> do_compile_append() {
> 	... non-native stuff ...
> }
> 
> do_compile_append_virtclass-native() {
> 
> }

Unfortunately no, the second will not wipe out the first since appends are 
cumulative. The non-native append would have to be qualified with an override 
(or its content wrapped in a conditional statement).

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre




More information about the Openembedded-core mailing list