diff options
| author | Yuval Adam <_@yuv.al> | 2017-08-30 08:25:59 +0000 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2017-08-30 08:25:59 +0000 |
| commit | 8e4bff4cab0ddac6060645b0715210484d02ff40 (patch) | |
| tree | 3a5c3024371a04692a3a6d9974d001cdff8ebf84 /drivers/autotst/Makefile | |
Diffstat (limited to 'drivers/autotst/Makefile')
| -rw-r--r-- | drivers/autotst/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/drivers/autotst/Makefile b/drivers/autotst/Makefile new file mode 100644 index 00000000..97135f3a --- /dev/null +++ b/drivers/autotst/Makefile @@ -0,0 +1,22 @@ + +ifneq ($(KERNELRELEASE),) + + autotst-objs := autotstdrv.o dispc.o dsi.o lcd_dummy.o mipi_dsih_api.o mipi_dsih_dphy.o mipi_dsih_hal.o + obj-m := autotst.o + +else + PRJ_ROOT=/home/anli/andr4 + export ARCH=arm + export CROSS_COMPILE=${PRJ_ROOT}/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi- + KNRL_DIR=${PRJ_ROOT}/out/target/product/sp8810gb/obj/KERNEL + +all: + make -C ${KNRL_DIR} M=`pwd` $@ + +clean: + @rm -rf *.o .*.o.cmd *.mod.c *.ko .*.ko.cmd *.order *.symvers Makefile~ .tmp_versions + +#@rmdir .tmp_versions + +endif + |
