[OE-core] [PATCH 2/2] wpa-supplicant: fix for rebuild
Robert Yang
liezhi.yang at windriver.com
Fri Oct 10 05:55:07 UTC 2014
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>
---
.../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}"
--
1.7.9.5
More information about the Openembedded-core
mailing list