原创 Makefile錯誤解決方法

 在makefile中寫入: ifneq ($(KERNELRELEASE),) MODULE_NAME = hellomodule $(MODULE_NAME)-objs := hello.o obj-m := $(MODULE_NA