#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=$(PWD) modules
clean:
rm -f *.ko *.o *.mod.o *.mod.c *.symvers
endif
El error es:makefile: separador de falta
makefile:2:*** missing separator . stop
pero para el ifneq($(KERNELRELEASE),)
, si agrego una ficha antes, me sale otro error:
makefile:2: ***commands commence before first target. stop
+1 para comandos de shell comenzando con pestaña –