diff options
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 + |
