Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
716 Views

make file for linux device driver

i was using RED HAT LINUX for device driver programming in class 

now i install linux mint 

i was previously used the make file for simple purposes 

:) 

 

 

obj-m := a1.o 

all: 

make -C /lib/modules/`uname -r`/build M=`pwd` modules 

clean: 

make -C /lib/modules/`uname -r`/build M=`pwd` clean 

 

 

 

:cry: 

 

but now it seems not working 

may b silly mistakes 

but i cant find it ,pls help me
0 Kudos
1 Reply
Altera_Forum
Honored Contributor I
39 Views

What do you mean by not working? Please post any error messages you are getting. 

Also, is this for Nios II or just a general Linux development question?
Reply