Dependencies patch.

Peter Kjellerstedt peter.kjellerstedt at axis.com
Sat Sep 27 09:51:39 UTC 2008


> -----Original Message-----
> From: uclibc-bounces at uclibc.org
> [mailto:uclibc-bounces at uclibc.org] On Behalf Of Rob Landley
> Sent: den 27 september 2008 00:21
> To: uClibc at uclibc.org
> Subject: Dependencies patch.
>
> I'm building with the rather verbose
>
>   make CROSS="${ARCH}-" \
>     KERNEL_HEADERS="${CROSS}/include" \
>     PREFIX="${CROSS}/" \
>     RUNTIME_PREFIX=/ \
>     DEVEL_PREFIX=/ $TARGET
>
> So I want to do "all install" as my target rather than
> repeating the line. Unfortunately, with a -j higher than 1,
> the install starts in parallel with the all and the build
> breaks.
>
> As a result, I did the following patch so i can just do
> "install" and "all" is implied, and then -j works out nicely
> without me having to repeat lots of make variables.
>
> I don't think there are any downsides, but I thought I'd post
> it publicly before merging it.
>
> Rob

Sounds like the right thing to do. We have done something
similar in our code since our build system relies on only
having to do make install in all build directories.

//Peter



More information about the uClibc mailing list