Add support for new multiconfig syntax
Recent bitbake requires to declare multiconfig targets via "mc:". Use that chance to refactor the function and match on the colon as well. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
		@@ -165,7 +165,8 @@ class Config:
 | 
				
			|||||||
        """
 | 
					        """
 | 
				
			||||||
            Returns the multiconfig array as bitbake string
 | 
					            Returns the multiconfig array as bitbake string
 | 
				
			||||||
        """
 | 
					        """
 | 
				
			||||||
        return ' '.join(set(i.split(':')[1]
 | 
					        multiconfigs = []
 | 
				
			||||||
                            for i in
 | 
					        for target in self.get_bitbake_targets():
 | 
				
			||||||
                            self.get_bitbake_targets()
 | 
					            if target.startswith('multiconfig:') or target.startswith('mc:'):
 | 
				
			||||||
                            if i.startswith('multiconfig')))
 | 
					                multiconfigs.append(target.split(':')[1])
 | 
				
			||||||
 | 
					        return ' '.join(multiconfigs)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user