Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cross-compiling ARM img question



    Date:        Sun, 26 Nov 2017 09:55:55 -0800
    From:        bch <brad.harder%gmail.com@localhost>
    Message-ID:  <CABfrOT-7SVX2hNnqccTwL77y6e9GCHGzYRD0NNY+6ZgAWbn6RQ%mail.gmail.com@localhost>

  | I've got an invocation like this, hoping to get an armv7 img to dd
  | onto an SD card:
  | 
  | $ nice ./build.sh  -j1 -u -U -R /home/bch/releasedir -O
  | /home/bch/usr/obj_nanopi/ -m evbearmv7hf-el release
  | 
  | 
  | But the build step is trying to install things to root (/boot/...). It
  | seemed to me that the -R switch should have the release installed to
  | the supplied dir.

It does.   That's where the final release ends up.   But you're missing -D
which sets the destination DESTDIR for the build - where the binaries are
installed.

kre



Home | Main Index | Thread Index | Old Index