summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2014-10-09 22:55:07 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-10-10 10:44:05 +0100
commite336102e59dbbd01fe67121738203563476f9456 (patch)
treeaff43abfdc6c81c7625b961f919371c8a391b7fe
parentfad6d25e548cb82c2106eb30ccdc0b8f3408de0a (diff)
downloadopenembedded-core-contrib-e336102e59dbbd01fe67121738203563476f9456.tar.gz
openembedded-core-contrib-e336102e59dbbd01fe67121738203563476f9456.tar.bz2
openembedded-core-contrib-e336102e59dbbd01fe67121738203563476f9456.zip
wpa-supplicant: fix for rebuild
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. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc
index 3a1cce0657..7923bb94a3 100644
--- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc
+++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc
@@ -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}"