[oe-commits] Robert Yang : wpa-supplicant: fix for rebuild
git at git.openembedded.org
git at git.openembedded.org
Fri Oct 10 10:35:19 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: e336102e59dbbd01fe67121738203563476f9456
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e336102e59dbbd01fe67121738203563476f9456
Author: Robert Yang <liezhi.yang at windriver.com>
Date: Thu Oct 9 22:55:07 2014 -0700
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 at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc
index 3a1cce0..7923bb9 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}"
More information about the Openembedded-commits
mailing list