[Buildroot] [PATCH v2 2/4] Add CMAKETARGETS infrastructure for CMake packages

Bjørn Forsman bjorn.forsman at gmail.com
Wed Jan 26 00:39:42 UTC 2011


On 26 January 2011 00:25, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> On Sat, 15 Jan 2011 21:53:26 +0100
> Bjørn Forsman <bjorn.forsman at gmail.com> wrote:
>
>> +$(2)_INSTALL_HOST_OPT                ?= DESTDIR=$$(HOST_DIR) install
>
> $(2)_INSTALL_HOST_OPT           ?= install
>
> should be sufficient if:
>
>> +             -DCMAKE_INSTALL_PREFIX="/usr" \
>
> is replaced by:
>
>> +             -DCMAKE_INSTALL_PREFIX="$(HOST_DIR)/usr" \
>
> for host packages. I think, like for autotools packages, it is more
> technically correct to set the installation prefix to $(HOST_DIR)/usr
> rather than /usr.

Yes, I agree. I'll make this change in the next series.

Best regards,
Bjørn Formsna


More information about the buildroot mailing list