[oe] CONFFILES question
Jaap de Jong
jaap.dejong at nedap.com
Wed Sep 28 14:42:29 UTC 2011
This seems to work.
def get_databasefiles():
import os
s=''
for file in os.listdir('/var/lib/myproject'):
s = s+' '+'/var/lib/myproject/'+file
return s
CONFFILES_${PN} = "${@get_databasefiles()}"
On 09/28/2011 03:01 PM, Jaap de Jong wrote:
> Hi,
>
> I would really like to use some wildcards in a CONFFILES_${PN}.
>
> CONFFILES_${PN} = "/var/lib/myproject/*"
> Compiling this works, but installing ends with a error message.
>
> How should I accomplish this? Or is specifying all the files the only
> way to go?
>
> Jaap
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
More information about the Openembedded-devel
mailing list