No description
The in-kernel-directory Makefile was trying to reset CFLAGS, and sometimes sets them to conflict with the ones set by the Kbuild system. Only set CFLAGS and ASFLAGS for standalone builds. (standalone builds are only really supported for KZM anyway). |
||
|---|---|---|
| haskell | ||
| include | ||
| libsel4 | ||
| manual | ||
| src | ||
| tools | ||
| .gitignore | ||
| CAVEATS-generic.txt | ||
| CAVEATS-ia32.txt | ||
| gdb-macros | ||
| Kconfig | ||
| LICENSE_BSD2.txt | ||
| LICENSE_GPLv2.txt | ||
| Makefile | ||
| README | ||
#
# Copyright 2014, General Dynamics C4 Systems
#
# This software may be distributed and modified according to the terms of
# the GNU General Public License version 2. Note that NO WARRANTY is provided.
# See "LICENSE_GPLv2.txt" for details.
#
# @TAG(GD_GPL)
#
'make' instructions
===================
tl;dr: TOOLPREFIX=arm-none-eabi- ARCH=arm PLAT=imx31 ARMV=armv6 \
CPU=arm1136jf-s make
The kernel source requires a cross-compiler for the target architecture. To
build using make, follow these instructions:
* Ensure that the appropriate cross-compiler is installed.
* Set the TOOLPREFIX environment variable to your cross-compiler's prefix. E.g.
arm-none-eabi-.
* Set the ARCH, PLAT, ARMV and CPU variables for the intended target
architecture and platform, chosen from the following lists:
ARCH PLAT ARMV CPU
------------------------------------
arm imx31 armv6 arm1136jf-s
arm omap3 armv7-a cortex-a8
arm am335x armv7-a cortex-a8
ia32 pc99
* For a debug build, append "DEBUG=y".