]> git.zerfleddert.de Git - ms2-kexec/blame - Makefile
update gitignore
[ms2-kexec] / Makefile
CommitLineData
b105822f
MG
1KDIR=$(PWD)/../out/target/product/generic/obj/PARTITIONS/kernel_intermediates/build
2ARCH=arm
3CROSS_COMPILE=arm-eabi-
4CROSS_PATH=$(PWD)/../prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin
4e93cb00 5
b105822f 6EXTRA_CFLAGS += -DCONFIG_KEXEC -Wall
4e93cb00
MG
7
8obj-m += kexec_load.o
c4f2433e 9kexec_load-objs := kexec.o machine_kexec.o idmap.o sys.o core.o relocate_kernel.o \
5db3fe53 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
4e93cb00
MG
11
12all:
8c0719d6 13 PATH=$(CROSS_PATH):$(PATH) CROSS_COMPILE=$(CROSS_COMPILE) ARCH=$(ARCH) make -C $(KDIR) M=$(PWD) modules
4e93cb00
MG
14
15clean:
b105822f 16 PATH=$(CROSS_PATH):$(PATH) CROSS_COMPILE=$(CROSS_COMPILE) ARCH=$(ARCH) make -C $(KDIR) M=$(PWD) clean
4e93cb00 17 rm -f *.order
Impressum, Datenschutz