]> code.ossystems Code Review - openembedded-core.git/commitdiff
avahi: Fix key expansion variable masking
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 26 May 2015 10:41:41 +0000 (11:41 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 26 May 2015 12:06:05 +0000 (13:06 +0100)
bitbake -b avahi_ -e | grep FILES_avahi=

shows this code from http://git.yoctoproject.org/cgit.cgi/poky/commit/?h=master&id=093149d22461a3a76980635bc46cdba1c7c0b181
doesn't do what is expected. This is due to key expansion. Change to use ${PN}
to avoid warnings with new versions of bitbake.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/avahi/avahi.inc

index b060437c1242371eab5a3e57ee4b5b911d5959f1..825197d6108399da1bdd4dd452e9a9b3d50ab1c7 100644 (file)
@@ -75,7 +75,7 @@ PACKAGES =+ "avahi-daemon libavahi-common libavahi-core libavahi-client avahi-dn
 
 # As avahi doesn't put any files into PN, clear the files list to avoid problems
 # if extra libraries appear.
-FILES_avahi = ""
+FILES_${PN} = ""
 FILES_avahi-autoipd = "${sbindir}/avahi-autoipd \
                        ${sysconfdir}/avahi/avahi-autoipd.action \
                        ${sysconfdir}/dhcp/*/avahi-autoipd \