[Xenomai] [PATCH] automake: add a conditionnal to rt devices install

thierry bultel tbultel at pixelsurmer.com
Thu Feb 16 11:25:06 CET 2017



Le 16/02/2017 à 10:19, Philippe Gerum a écrit :
> On 02/15/2017 06:13 PM, Thierry Bultel wrote:
>> When cross building from a build system (like buildroot),
>> it is not convenient to get the sudo prompt for the installation
>> of cobalt rt devices.
>> Calling mknod is the responsibility of the build system, that
>> will perform it under a fakeroot environnement
>> The fix simply checks the existence of NO_RT_DEVICES environment
>> that can be set when bootstrapping
>> ---
>>  Makefile.am  | 2 ++
>>  configure.ac | 2 ++
>>  2 files changed, 4 insertions(+)
>>
>
> Thanks, however this is duplicating an existing mechanism:
>
> $ make SUDO=false install
>
> see install-user rule in the toplevel Makefile.
>
> This said, Xenomai 3 expects udev/mdev to be enabled, so most of the
> devices rule in that Makefile is useless now; at least the install rule
> should not implicitly chain to it via install-exec-local.
>
Thanks,
sorry to have missed that



More information about the Xenomai mailing list