usbtv icon indicating copy to clipboard operation
usbtv copied to clipboard

Can not make

Open jatin96singh opened this issue 9 years ago • 2 comments

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.

jatin96singh avatar Oct 28 '16 07:10 jatin96singh

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).

simon3z avatar Oct 28 '16 07:10 simon3z

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

andresR8 avatar Nov 18 '16 22:11 andresR8