Costruire Angstrom
Ho in mente di mettere questo in su per un po '. Fornire niente va storto tutto il processo è in realtà molto semplice! Questo è fondamentalmente un rimaneggiamento della pagina web Angstrom così è preferibile da seguire che prendere appunti delle deviazioni minore al di sotto:
${OETREE} mkdir-p $ {} OETREE
cd $ {} OETREE
: // git.openembedded.org / openembedded.git openembedded git clone git: / / git.openembedded.org / openembedded.git OpenEmbedded
cd OpenEmbedded
stable / 2009 -b stable / 2009 origine git checkout / stable / 2009-b stabile / 2009
Per aggiornare i metadati OE semplicemente:
git pull
Ora fate la fonte suggerito script-me.txt OETREE cambiare in base alle proprie esigenze:
/ : ${OETREE} / build / : ${OETREE} / openembedded / BBPATH = $ {OETREE} / $ {} OETREE / build /: $ {} OETREE / OpenEmbedded /
/ build / PKGDIR = $ {} OETREE / build /
/ downloads DL_DIR = $ {} OETREE / downloads
for Ångström echo Impostazione env dev per Ångström
-z ${ORG_PATH} ] ; then if [-z $ {ORG_PATH}], quindi
ORG_PATH = $ {PATH}
esportazione ORG_PATH
fi
-z ${ORG_LD_LIBRARY_PATH} ] ; then if [-z $ {ORG_LD_LIBRARY_PATH}], quindi
ORG_LD_LIBRARY_PATH = $ {LD_LIBRARY_PATH}
esportazione ORG_LD_LIBRARY_PATH
fi
/ openembedded / bitbake / bin: ${ORG_PATH} PATH = $ {} OETREE / OpenEmbedded / bitbake / bin: $ {} ORG_PATH
cd $ PKGDIR
LD_LIBRARY_PATH =
export PATH LD_LIBRARY_PATH BBPATH
=C export LANG = C
= "MACHINE DISTRO OETREE ANGSTROM_MODE ANGSTROMLIBC LIBC" export BB_ENV_EXTRAWHITE = "MACCHINA DISTRO OETREE ANGSTROM_MODE ANGSTROMLIBC libc"
echo "ambiente alterato OE per lo sviluppo"
Ho avuto anche di impostare:
Poi setup local.conf:
/ openembedded / contrib / angstrom / local.conf ${OETREE} / build / conf / cp $ {} OETREE / OpenEmbedded / contrib / angstrom / local.conf OETREE $ {} / build / conf /
Ora modificare $ {} OETREE / build / conf / local.conf e aggiungere questo alla fine:
Ora scarica il file di configurazione mini2440 da OpenEmbedded. Mettete questo in:
Ora la fonte-me.txt sorgente, andare verso l'albero OE, controllare che sia aggiornato
/ openembedded cd $ {} OETREE / OpenEmbedded
git pull --rebase
Ora, costruire le immagini, è possibile costruire tutti o solo uno. Ho usato l'immagine di base per l'esecuzione di Qt, ma ho anche costruito l'immagine gpe che ha funzionato bene, se ne avete bisogno.
Siate pronti a saturare la vostra connessione internet, attendere a lungo e prendere un sacco di spazio su disco!
Il risultato finisce in:
Si dovrebbe avere l'immagine (s) in. Jffs2 per lampeggiante e. Tar.gz per il montaggio NFS.


Commenti recenti