Skip to content

Commit

Permalink
第一次提交文件
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangsxinling committed Jan 24, 2015
1 parent 195a8dd commit cc931b1
Show file tree
Hide file tree
Showing 4 changed files with 748 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

ifeq ($(PARAM_FILE), )
PARAM_FILE:=../../Makefile.param
include $(PARAM_FILE)
endif

obj-m := moto_drv.o
#moto_drv-y += moto_drv.o

EXTRA_CFLAGS += -D$(HI_FPGA)

default:
@$(CC) -g -Wall -o moto_test moto_test.c
@make -C $(LINUX_ROOT) M=$(PWD) modules
clean:
@rm *.o moto_test -rf
@make -C $(LINUX_ROOT) M=$(PWD) clean
Loading

0 comments on commit cc931b1

Please sign in to comment.