Cristian --

On Thu, Jun 27, 2013 at 7:42 AM, Cristian Stoica
<cristian.sto...@freescale.com> wrote:
> - this is useful for cross-building for embedded systems

This patch shouldn't be necessary: you can give variable assignments
as arguments on the command line, and they should override basic
assignment within the makefile.  See:

http://sunsite.ualberta.ca/Documentation/Gnu/make-3.79/html_chapter/make_9.html#SEC90
http://sunsite.ualberta.ca/Documentation/Gnu/make-3.79/html_chapter/make_6.html#SEC66

E.g., as a part of building a small distribution for ppc32 on an
x86-64 host, this works for me:

    make \
        O="$build" \
        ARCH="$arch" \
        CROSS_COMPILE="$TARGET_TUPLE"- \
        KERNEL_DIR="$KERNEL_BUILD_DIR" \
        PREFIX="$PLATFORM_STAGE" \
        $MAKE_PARALLEL_ARGS \
        build || exit $?

Unless something's changed in the cryptodev-linux build system lately...

Best regards,
Anthony Foiani

_______________________________________________
Cryptodev-linux-devel mailing list
Cryptodev-linux-devel@gna.org
https://mail.gna.org/listinfo/cryptodev-linux-devel

Reply via email to