Openembedded Core Discussions
 help / color / mirror / Atom feed
* autotools_preconfigure not removing separate B
@ 2013-05-09 10:48 Martin Jansa
  2013-05-09 20:57 ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Jansa @ 2013-05-09 10:48 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 738 bytes --]

Do we really need -e "${CONFIGURESTAMPFILE}" check in autotools_preconfigure?

In some cases when do_configure is failing (but after creating e.g. .qmake.cache)
it would be better to start with clean B on 2nd attempt to configure it, but
CONFIGURESTAMPFILE wasn't created yet.

Does someone remember why we need to test CONFIGURESTAMPFILE existence first 
(was it only to prevent cat ${CONFIGURESTAMPFILE} to fail?)

autotools_preconfigure() {
        if [ -n "${CONFIGURESTAMPFILE}" -a -e "${CONFIGURESTAMPFILE}" ]; then
                if [ "`cat ${CONFIGURESTAMPFILE}`" != "${BB_TASKHASH}" -a "${S}" != "${B}" ]; then
                        echo "Previously configured separate build directory detected, cleaning ${B}"


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-09 21:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-09 10:48 autotools_preconfigure not removing separate B Martin Jansa
2013-05-09 20:57 ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox