From e336102e59dbbd01fe67121738203563476f9456 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Thu, 9 Oct 2014 22:55:07 -0700 Subject: 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 Signed-off-by: Richard Purdie --- 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 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}" -- cgit 1.2.3-korg