From: Robert Yang Date: Fri, 10 Oct 2014 05:55:07 +0000 (-0700) Subject: wpa-supplicant: fix for rebuild X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~32222 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e336102e59dbbd01fe67121738203563476f9456;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc index 3a1cce06579..7923bb94a35 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}"