Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12640 Discussions

make file for linux device driver

Altera_Forum
Honored Contributor II
971 Views

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 II
294 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?
0 Kudos
Reply