|
Driver porting: hello worldDriver porting: hello worldPosted Jul 14, 2004 6:59 UTC (Wed) by hemal (guest, #23037)Parent article: Driver porting: hello world
Hello every1, #include <linux/init.h> static int hello_init(void) static void hello_exit(void) module_init(hello_init);
ifneq ($(KERNELRELEASE),) else default: so the problem is once I type the command "make" at the shell prompt it gives the following message : $ make: Nothing to be done for 'default' I dont know whats the problem. Can any1 please help me out here. Your help will be appreciated.
(Log in to post comments)
Driver porting: hello world Posted Jul 15, 2004 11:34 UTC (Thu) by littertiger (guest, #22470) [Link] My makefile is simple:obj-m += hello.o
Driver porting: hello world Posted Jul 17, 2004 1:14 UTC (Sat) by bhaskie (guest, #23099) [Link] Towards the end of the Makefile:---------- default: $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules endif ---------- add a tab before the $(MAKE) copy-pasting code results in such errors. read the man pages.
Driver porting: hello world Posted May 24, 2006 9:15 UTC (Wed) by Jackie (guest, #37933) [Link] I am a newer and my makefile is :
ifneq ($(KERNELRELEASE),)
else
default:
When I type 'make' on the command line, it says:
"2.6.12-10-386" is my kernel version.I don't know why and any answer is appreciated.
Driver porting: hello world Posted May 24, 2006 9:18 UTC (Wed) by Jackie (guest, #37933) [Link] I am a newer and my makefile is :
ifneq ($(KERNELRELEASE),)
else
default:
When I type 'make' on the command line, it says:
"2.6.12-10-386" is my kernel version.I don't know why and any answer is appreciated.
Driver porting: hello world Posted Jul 17, 2006 13:12 UTC (Mon) by jameswin (guest, #39125) [Link] Hello!I got the same problem like you.Could you guide me how to solve the problem. Thank you in advance. jameswin
Driver porting: hello world Posted Jun 21, 2006 9:00 UTC (Wed) by robin48gx (guest, #38475) [Link] I added a little to this driver, and implemented the read and writeparts.
I put it on the gumstix tikiwiki http://www.gumstix.org/tikiwiki/tiki-index.php?page=kerne...
|
Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.