]> git.zerfleddert.de Git - ms2-kexec/blob - Makefile
use setup_mm_for_reboot from current kernels, no need for init_mm
[ms2-kexec] / Makefile
1 KDIR=$(PWD)/../out/target/product/generic/obj/PARTITIONS/kernel_intermediates/build
2 ARCH=arm
3 CROSS_COMPILE=arm-eabi-
4 CROSS_PATH=$(PWD)/../prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin
5
6 EXTRA_CFLAGS += -DCONFIG_KEXEC -Wall
7
8 obj-m += kexec_load.o
9 kexec_load-objs := kexec.o machine_kexec.o idmap.o sys.o core.o relocate_kernel.o \
10 proc-v7.o tlb-v7.o cache-v7.o abort-ev7.o pabort-v7.o copypage-v6.o entry-common.o driver_sys.o
11
12 all:
13 PATH=$(CROSS_PATH):$(PATH) CROSS_COMPILE=$(CROSS_COMPILE) ARCH=$(ARCH) make -C $(KDIR) M=$(PWD) modules
14
15 clean:
16 PATH=$(CROSS_PATH):$(PATH) CROSS_COMPILE=$(CROSS_COMPILE) ARCH=$(ARCH) make -C $(KDIR) M=$(PWD) clean
17 rm -f *.order
Impressum, Datenschutz