makefile : missing separator

后端 未结 4 1838
礼貌的吻别
礼貌的吻别 2021-02-14 14:05
#kernel build system and can use its lanauge
ifneq($(KERNELRELEASE),)
 obj-m:=helloworld.o
else
 KDIR:= /lib/modules/2.6.33.3-85.fc13.i686/build
all:
 make -C $(KDIR) M=         


        
4条回答
  •  不知归路
    2021-02-14 14:49

    There must be a space between ifneq and (.

    The TAB prefix means that it is a shell command, so be sure that the shell commands (make and rm) begin with TAB, and all other lines such as ifneq do not begin with TAB.

提交回复
热议问题