libnewt: fix recompile error
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 7 Aug 2014 03:05:22 +0000 (20:05 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Aug 2014 09:53:06 +0000 (10:53 +0100)
commit84a09b826349352f948b138e9b3194b57dc197fc
tree5ac1c75588e4545e9e33364b3d60645dce189bfa
parent78db759c1cda7a8562320ab55950f4637b89f26d
libnewt: fix recompile error

Fixed:
NOTE: make -j 32
make: *** No rule to make target `/path/to/sysroot/4.9.0/include/stddef.h', needed by `test.o'.  Stop.

This happens when upgrade gcc from 4.9.0 to 4.9.1, and the .depend isn't
regenerated when recompile, the content of the .depend are:

[snip]
test.o: /path/to/sysroot/4.9.0/include/stddef.h
[snip]

And Makefile includes the .depend file if it exists, so there would be
errors when /path/to/sysroot/4.9.0/include/stddef.h doesn't exist.

Remove .depend will fix the problem.

(From OE-Core rev: bf2f8abff4eb55cd960065eaba032c96068acf08)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/newt/libnewt_0.52.17.bb