doc:appunti:prog:openmoko_compile
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:appunti:prog:openmoko_compile [2009/12/16 16:38] – niccolo | doc:appunti:prog:openmoko_compile [2009/12/17 12:20] (current) – niccolo | ||
---|---|---|---|
Line 125: | Line 125: | ||
In the example above we used some **'' | In the example above we used some **'' | ||
- | **'' | + | **'' |
- | **'' | + | **'' |
- | **'' | + | **'' |
Line 152: | Line 152: | ||
The control file is described [[http:// | The control file is described [[http:// | ||
- | If you need more control files (e.g. a '' | + | If you need more control files (e.g. a '' |
<code bash> | <code bash> | ||
Line 164: | Line 164: | ||
test x${OMTOOL_DIR} = x && . / | test x${OMTOOL_DIR} = x && . / | ||
. ${OMTOOL_DIR}/ | . ${OMTOOL_DIR}/ | ||
- | |||
S=${1} | S=${1} | ||
(test x${S} = x || test ! -d ${S}) && error_exit | (test x${S} = x || test ! -d ${S}) && error_exit | ||
- | |||
appname=$(basename ${S}) | appname=$(basename ${S}) | ||
tmpdir=/ | tmpdir=/ | ||
test -e " | test -e " | ||
- | |||
make -C ${S} install DESTDIR=" | make -C ${S} install DESTDIR=" | ||
- | |||
# Copy control files to destination directory. | # Copy control files to destination directory. | ||
cp -pr opkg/* ${tmpdir} | cp -pr opkg/* ${tmpdir} | ||
- | |||
ipkg-build -o 0 -g 0 ${tmpdir} | ipkg-build -o 0 -g 0 ${tmpdir} | ||
rm -rf ${tmpdir} | rm -rf ${tmpdir} |
doc/appunti/prog/openmoko_compile.1260977929.txt.gz · Last modified: 2009/12/16 16:38 by niccolo