no.
set MAKEOBJDIRPREFIX env variable, e.g.:
setenv MAKEOBJDIRPREFIX /home/${USER}/obj/
Ruslan
On Mon, Oct 17, 2016 at 05:40:26PM +0000, Kimura Masayuki wrote:
> Hi Ruslan,
> Yes I already tried and I got following errors. Does it need to build as
> administrator?
> % make TARGET_ARCH=riscv64 buildworld
> --------------------------------------------------------------
> >>> World build started on Mon Oct 17 17:32:28 UTC 2016
> --------------------------------------------------------------
> --------------------------------------------------------------
> >>> Rebuilding the temporary build tree
> --------------------------------------------------------------
> rm -rf /usr/obj/riscv.riscv64/home/vagrant/freebsd-riscv/tmp
> mkdir -p /usr/obj/riscv.riscv64/home/vagrant/freebsd-riscv/tmp/lib
> mkdir: /usr/obj/riscv.riscv64: Permission denied
> *** Error code 1
> And I changed environment such as:
> % make TARGET_ARCH=riscv64 MAKEOBJDIRPREFIX=/tmp buildworld
> ...
> sh /home/vagrant/freebsd-riscv/tools/install.sh -o root -g wheel -m 444
> /dev/null
> /tmp/riscv.riscv64/home/vagrant/freebsd-riscv/tmp/legacy/usr/share/tmac/mm/locale
> install:
> /tmp/riscv.riscv64/home/vagrant/freebsd-riscv/tmp/legacy/usr/share/tmac/mm/locale:
> No such file or directory
> I tried on FreeBSD 11.0. Do you have any ways to resolve them?
> Thanks.
> Masayuki Kimura
> 2016年10月17日(月) 2:16 Ruslan Bukin <[1]ruslan...@cl.cam.ac.uk>:
>
> Hi Kimura:
>
> Build freebsd world & kernel first, then build BBL
>
> Ruslan
>
> On Sun, Oct 16, 2016 at 01:13:45PM +0000, Kimura Masayuki wrote:
> > Hi,
> > I'm trying to build FreeBSD for RISC-V on FreeBSD 11.0 platform.
> > I use FreeBSD 11.0 vagrant box and
> > reference [1][2]https://wiki.freebsd.org/riscv .
> > I checked out riscv repositories
> >
> clone [2][3]https://github.com/freebsd-riscv/riscv-gnu-toolchain,
> > email to [3][4]sw-dev+un...@groups.riscv.org.
> > To post to this group, send email to
> [4][5]sw-...@groups.riscv.org.
> > Visit this group at
> > [5][6]https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
> > To view this discussion on the web visit
> >
> [6][7]https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/CAFxSv123qrWfd42SZZx%2BuTzQMu5BQ4rSznpgCP4qK2PJcW0qRw%40mail.gmail.com.
> >
> > References
> >
> > Visible links
> > 1. [8]https://wiki.freebsd.org/riscv
> > 2. [9]https://github.com/freebsd-riscv/riscv-gnu-toolchain
> > 3. mailto:[10]sw-dev+un...@groups.riscv.org
> > 4. mailto:[11]sw-...@groups.riscv.org
> > 5. [12]https://groups.google.com/a/groups.riscv.org/group/sw-dev/
> > 6.
> [13]https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/CAFxSv123qrWfd42SZZx%2BuTzQMu5BQ4rSznpgCP4qK2PJcW0qRw%40mail.gmail.com?utm_medium=email&utm_source=footer
>
> References
>
> Visible links
> 1. mailto:ruslan...@cl.cam.ac.uk
> 2. https://wiki.freebsd.org/riscv
> 3. https://github.com/freebsd-riscv/riscv-gnu-toolchain
> 4. mailto:sw-dev%2Bunsu...@groups.riscv.org
> 5. mailto:sw-...@groups.riscv.org
> 6. https://groups.google.com/a/groups.riscv.org/group/sw-dev/
> 7. https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/CAFxSv123qrWfd42SZZx%2BuTzQMu5BQ4rSznpgCP4qK2PJcW0qRw%40mail.gmail.com
> 8. https://wiki.freebsd.org/riscv
> 9. https://github.com/freebsd-riscv/riscv-gnu-toolchain
> 10. mailto:sw-dev%2Bunsu...@groups.riscv.org
> 11. mailto:sw-...@groups.riscv.org
> 12. https://groups.google.com/a/groups.riscv.org/group/sw-dev/
> 13. https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/CAFxSv123qrWfd42SZZx%2BuTzQMu5BQ4rSznpgCP4qK2PJcW0qRw%40mail.gmail.com?utm_medium=email&utm_source=footer
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/20161018172351.GB59150%40bsdpad.com.
--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+un...@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/c7cb5e28-db12-4425-0995-c01e7e6cd35f%40mtd.biglobe.ne.jp.