#********************************************************************************* # Copyright: (C) 2021 LingYun IoT System Studio # All rights reserved. # # Filename: Makefile # Description: This Makefile used to compile the hello module here # # Version: 1.0.0(18/12/2021~) # Author: Guo Wenxue # ChangeLog: 1, Release initial version on "18/12/2021 01:29:33 PM" # #********************************************************************************/ SRC := $(shell pwd) obj-m += hello.o all: @$(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules_install: $(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules_install clean: @rm -f *.o *.mod* .*.cmd *.symvers *.order