Can not make
My make file is
usbtv-y := usbtv-core.o \ usbtv-video.o \ usbtv-audio.o obj-$(CONFIG_VIDEO_USBTV) += usbtv.o all: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules clean: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
but when i make the file I get the following error
Makefile:6: *** missing separator (did you mean TAB instead of 8 spaces?). Stop.
My file does not have any spaces except for the empty lines. i can not make it work. Please help.
If you're using a kernel >= 3.18 you should use the usbtv module that comes with that kernel (includes the same code I have here and it compiles properly).
all:
(ADD TAB)make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
(ADD TAB)make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
@jatin96singh Add TAB before make lines