Makefile changes

► Update the version as usual

► You should change the default target platform.

Example: ARM platform, cross-compiler command: arm-linux-gcc

CROSS_COMPILE ?= arm-linux-

(The Makefile defines later CC = $(CROSS_COMPILE)gcc)

See comments in Makefile for details

Embedded Linux kernel and driver development

© Copyright 2006-2004, Michael Opdenacker Creative Commons Attribution-ShareAlike 2.0 license M

Was this article helpful?

0 0

Post a comment