]> git.zerfleddert.de Git - ms2-kexec/blame - Makefile
add initial kexec sources from kexec-prealpha-r2.tar.gz
[ms2-kexec] / Makefile
CommitLineData
4e93cb00
MG
1# In this string we need to use -D__SOME__ command for define which platform we use
2# And C preprocessor use only code for platform, we defined
3# For example if we use Texas Instruments OMAP 3430 - we should use
4# EXTRA_CFLAGS += -D__PLAT_TI_OMAP3430__
5# Else if we need for Freescale i.MX31 - we should use
6# EXTRA_CFLAGS += -D__PLAT_FREESCALE_IMX31__
7
8# I don't yet have this fully set up for the droid x yet
9# This line seems to work on my X, otherwise use the line
10# That's commented out.
11EXTRA_CFLAGS += -D__PLAT_TI_OMAP3430__ -Wall -march=arm
12# EXTRA_CFLAGS += -mfpu=neon
13
14# Make this match the optimisation values of the kernel you're
15# loading this into. Should work without changes, but it seems to
16# crash on the Nexus One and Droid Pro. If you're compiling on an
17# Evo 4g, set this value to 1 and change the EXTRA_CFLAGS value to
18# something appropriate to your phone
19# EXTRA_CFLAGS += -O0
20
21obj-m += kexec_load.o
22kexec_load-objs := kexec.o machine_kexec.o mmu.o sys.o core.o relocate_kernel.o \
23 proc-v7.o tlb-v7.o cache-v7.o abort-ev7.o copypage-v6.o entry-common.o driver_sys.o
24
25all:
26 make -C kernel/ M=$(PWD) modules
27
28clean:
29 make -C kernel/ M=$(PWD) clean
30 rm -f *.order
Impressum, Datenschutz