[OE-core] [PATCH 1/1] pbzip2: fix for rebuild

Burton, Ross ross.burton at intel.com
Mon Apr 11 14:46:40 UTC 2016


On 8 April 2016 at 04:13, Robert Yang <liezhi.yang at windriver.com> wrote:

> +do_compile_prepend() {
> +    # Update timestamp to fix rebuild
> +    src_files="pbzip2.cpp BZ2StreamScanner.cpp ErrorContext.cpp"
> +    for f in $src_files; do
> +        if [ -f $f ]; then
> +            touch $f
> +        else
> +            bbwarn "Regular file $f not found"
> +        fi
> +    done
>

Wouldn't "oe_runmake clean" be simpler?

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160411/22bbabbf/attachment-0002.html>


More information about the Openembedded-core mailing list