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
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to