[Buildroot] [PATCH v2 3/3] pru-sample: add sample PRU application
ashcharles at gmail.com
Wed Nov 30 01:12:56 UTC 2016
On Tue, Nov 29, 2016 at 6:41 PM, Arnout Vandecappelle <arnout at mind.be> wrote:
> Clearly, TI_CGT_PRU_INSTALLDIR is the equivalent of STAGING_DIR for the PRU. In
> that sense, it makes sense to have TI_CGT_PRU_INSTALLDIR as a subdirectory of
> HOST_DIR (just like STAGING_DIR is a subdirectory of HOST_DIR). And it anyway
> has to be a subdirectory of HOST_DIR because the compiler executables are
> installed there as well. For me, that was the reason to say that it should be a
> host package.
> However, we are indeed building for the target (kind of). and we are installing
> into a staging directory (though it is not in STAGING_DIR). So it makes sense to
> make it a target package, with INSTALL_STAGING = YES, but where the
> INSTALL_STAGING step doesn't actually install in staging but in the 'PRU
> staging' i.e. TI_CGT_PRU_INSTALLDIR.
In either case, TI_CGT_PRU_INSTALLDIR is the right place for it to go
:). As we are obliged to cross-compile x86 --> PRU (so staging must be
on x86), perhaps this makes an argument for sticking with current (v3)
host package approach?
More information about the buildroot