Openmoko Bug #2054: Toolchain does not support --prefix switch of configure
Openmoko Public Trac
bugs at docs.openmoko.org
Sun Oct 5 18:09:31 CEST 2008
#2054: Toolchain does not support --prefix switch of configure
----------------------------+-----------------------------------------------
Reporter: kempelen | Owner: openmoko-devel
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: host utilities | Version: Om2008.9-dev
Severity: normal | Keywords:
Blockedby: | Reproducible:
Blocking: |
----------------------------+-----------------------------------------------
Toolchain's "om-conf" defines all output directories for ./configure, e.g.
--bindir and such things. It points all those to the Om Linux root
filesystem or /usr of it.
This is not optimal for simple tests, or basic development tasks, because
that will copy a lot of test files to the phone's / root. I don't want
non-finished programs going there.
Extra problem that I cannot run "make install" on the host OS, because
that would copy the ARM programs to my x86_64 host OS's / or /usr
directories!
Expected behavior:
om-conf --prefix=/media/card/prog
and then I could
host$ make
host$ sudo mkdir /media/card
host$ chown myuser:mygroup /media/card
host$ make install
host$ tar -czvf myprogram.tar.gz /media/card/prog
host$ scp
host$ ssh
om$ cd /media/card
om$ tar -xzvf myprogram.tar.gz
om$ prog/bin/myprogram
Easy testing of programs on the phone, without populating development
files to "/" in porting tests.
--
Ticket URL: <https://docs.openmoko.org/trac/ticket/2054>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac
More information about the buglog
mailing list