wpa-supplicant: fix for rebuild
authorRobert Yang <liezhi.yang@windriver.com>
Fri, 10 Oct 2014 05:55:07 +0000 (22:55 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 10 Oct 2014 15:44:33 +0000 (16:44 +0100)
Fixed when rebuild:
make: *** No rule to make target `/path/to/old//sysroots/qemux86-64/usr/lib/dbus-1.0/include/dbus/dbus-arch-deps.h', needed by `dbus/dbus_old.o'.  Stop.

The .d files save the path of the dependencies files which may not exist
when rebuild, we can remove them to make the rebuild work.

(From OE-Core rev: e336102e59dbbd01fe67121738203563476f9456)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc

index 3a1cce0..7923bb9 100644 (file)
@@ -50,6 +50,8 @@ do_configure () {
                sed -i "s/%ssl%/$ssl/" wpa_supplicant/.config
        fi
 
+       # For rebuild
+       rm -f wpa_supplicant/*.d wpa_supplicant/dbus/*.d
 }
 
 export EXTRA_CFLAGS = "${CFLAGS}"