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 <[email protected]>
---
 .../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

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to