syslinux: fix reinstall 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)
commitcedabb83e997f03ec50baab05a0cdc7c9af9c7f7
tree4cd02428b69a93b68bef9cf65bc9e4cf4877e430
parent2fde46329e8323664a4e2066b2ebd176d9a42927
syslinux: fix reinstall error

Fixed:
make: *** No rule to make target `/path/to/sysroot/4.9.0/include/stdarg.h', needed by `cpio.o'.  Stop.
make: *** Waiting for unfinished jobs....
ERROR: oe_runmake failed

This happens when upgrade gcc from 4.9.0 to 4.9.1, and the .cpio.o.d isn't
regenerated when recompile (the compile happens when do_install), the content
of it are:

[snip]
cpio.o: /path/to/sysroot/4.9.0/include/stdarg.h
[snip]

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

Remove .*.d (a few .d files, its Makefile uses this wildcard) will fix
the problem.

(From OE-Core rev: f7dc6e801bba897fd4709a2f4fb0e7dbc198497a)

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-devtools/syslinux/syslinux_6.01.bb