10.07.2015 Views

Linux embebido Workshop Linux Embebido - Simposio Argentino ...

Linux embebido Workshop Linux Embebido - Simposio Argentino ...

Linux embebido Workshop Linux Embebido - Simposio Argentino ...

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Especificar el cross­compiladorLa arquitectura de la CPU y qué compilador usar se especifican conlas variables ARCH and CROSS_COMPILE del Makefile.El Makefile define CC = $(CROSS_COMPILE)gccLos comentarios del Makefile dan más detalles.Lo más fácil sería modificar el Makefile.Ejemplo, plataforma ARM, cross­compiler: arm­linux­gccARCH ?= armCROSS_COMPILE ?= arm­linux­Otras soluciones●●●Agregar ARCH y CROSS_COMPILE a la línea de comando del makeDefinirlas como variables de entorno.No olvidarse de configurar estos valores para todos los pasos.Sino el kernel se confunde!SASE 2012 ­ <strong>Workshop</strong> <strong>Linux</strong> <strong>Embebido</strong>134

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!