Re: building sys/boot ... shouldn't this "just work" ?

From: Sean Bruno <sbruno_at_ignoranthack.me>
Date: Mon, 28 Apr 2014 09:32:29 -0700
On Mon, 2014-04-28 at 09:00 -0700, Sean Bruno wrote:
> ===> efi (all)
> ===> efi/libefi (all)
> Warning: Object directory not changed from
> original /home/sbruno/bsd/head/sys/boot/efi/libefi
> ===> libstand32 (all)
> Warning: Object directory not changed from
> original /home/sbruno/bsd/head/sys/boot/libstand32
> ===> zfs (all)
> Warning: Object directory not changed from
> original /home/sbruno/bsd/head/sys/boot/zfs
> ===> userboot (all)
> ===> userboot/ficl (all)
> Warning: Object directory not changed from
> original /home/sbruno/bsd/head/sys/boot/userboot/ficl
> ===> userboot/libstand (all)
> Warning: Object directory not changed from
> original /home/sbruno/bsd/head/sys/boot/userboot/libstand
> ===> userboot/test (all)
> Warning: Object directory not changed from
> original /home/sbruno/bsd/head/sys/boot/userboot/test
> ===> userboot/zfs (all)
> Warning: Object directory not changed from
> original /home/sbruno/bsd/head/sys/boot/userboot/zfs
> ===> userboot/userboot (all)
> Warning: Object directory not changed from
> original /home/sbruno/bsd/head/sys/boot/userboot/userboot
> building shared library userboot.so
> cc: error: no such file or directory:
> '/home/sbruno/bsd/head/sys/boot/userboot/userboot/../zfs/libzfsboot.a'
> *** Error code 1
> 
> Stop.
> make[2]: stopped in /home/sbruno/bsd/head/sys/boot/userboot/userboot
> *** Error code 1
> 
> Stop.
> make[1]: stopped in /home/sbruno/bsd/head/sys/boot/userboot
> *** Error code 1
> 
> Stop.
> make: stopped in /home/sbruno/bsd/head/sys/boot
> 


Oh, so the "way" to do this is "MAKEOBJDIRPREFIX=/var/tmp make obj
depend all" ... thanks to gjb for pointing that out.

sean

Received on Mon Apr 28 2014 - 14:32:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:48 UTC