diff options
-rw-r--r-- | meta/recipes-devtools/syslinux/syslinux_6.01.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/syslinux/syslinux_6.01.bb b/meta/recipes-devtools/syslinux/syslinux_6.01.bb index e8a1fd4ffe..2377cc0047 100644 --- a/meta/recipes-devtools/syslinux/syslinux_6.01.bb +++ b/meta/recipes-devtools/syslinux/syslinux_6.01.bb | |||
@@ -45,6 +45,10 @@ do_configure() { | |||
45 | } | 45 | } |
46 | 46 | ||
47 | do_compile() { | 47 | do_compile() { |
48 | # Make sure the recompile is OK. | ||
49 | # Though the ${B} should always exist, still check it before find and rm. | ||
50 | [ -d "${B}" ] && find ${B} -name '.*.d' -type f -exec rm -f {} \; | ||
51 | |||
48 | # Rebuild only the installer; keep precompiled bootloaders | 52 | # Rebuild only the installer; keep precompiled bootloaders |
49 | # as per author's request (doc/distrib.txt) | 53 | # as per author's request (doc/distrib.txt) |
50 | oe_runmake CC="${CC} ${CFLAGS}" LDFLAGS="${LDFLAGS}" firmware="bios" installer | 54 | oe_runmake CC="${CC} ${CFLAGS}" LDFLAGS="${LDFLAGS}" firmware="bios" installer |