Menu Home

一个简单的linux driver Makefile

一个简单的linux driver Makefile
ubuntu下测试通过

ifneq ($(KERNELRELEASE),)
     obj-m := hello.o
else
     KERNELDIR ?= /lib/modules/$(shell uname -r)/build
     PWD := $(shell pwd)
default:
     $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
endif

12 replies

  1. I needed to create you that bit of remark in order to say thanks the moment again on the magnificent opinions you’ve documented in this article. This has been so extremely open-handed of people like you to offer easily just what many of us might have supplied as an electronic book in making some dough for themselves, most notably seeing that you could have tried it in case you desired. Those tactics in addition served as a good way to fully grasp that some people have similar zeal much like mine to know great deal more in regard to this matter. I believe there are numerous more pleasurable instances up front for individuals who looked over your website.

  2. I wanted to post you that little remark just to give thanks again considering the marvelous thoughts you’ve documented at this time. It was so unbelievably open-handed with you to present easily what a few people could possibly have offered for sale for an e-book to help with making some profit on their own, especially seeing that you might have tried it in case you desired. The basics additionally worked to be the fantastic way to understand that other individuals have the identical interest similar to my personal own to learn lots more when it comes to this issue. I’m certain there are many more enjoyable opportunities in the future for people who see your blog.

  3. Thanks so much for giving everyone a very superb opportunity to read from this site. It’s usually so enjoyable and packed with amusement for me personally and my office mates to visit your website on the least thrice per week to read through the latest issues you have got. And definitely, I’m just always fulfilled concerning the very good opinions you serve. Selected 1 areas on this page are in reality the most impressive we have had.

  4. I and also my buddies were reading through the excellent hints found on your website and then all of a sudden came up with a horrible feeling I had not expressed respect to the site owner for those strategies. All the young boys became absolutely warmed to read through all of them and already have pretty much been having fun with these things. Thanks for really being simply thoughtful as well as for settling on this form of cool subject areas millions of individuals are really desperate to know about. Our honest regret for not expressing gratitude to you sooner.

  5. Thanks a lot for providing individuals with a very marvellous chance to discover important secrets from this blog. It is always very nice and also full of a lot of fun for me and my office colleagues to visit the blog no less than three times weekly to find out the latest stuff you have. And of course, I’m just at all times impressed with all the powerful tips you give. Some 3 tips in this posting are undeniably the very best we have all had.

  6. I want to express appreciation to you for rescuing me from such a incident. Right after looking out through the online world and seeing concepts that were not productive, I figured my life was done. Existing without the presence of approaches to the issues you’ve resolved as a result of your main guideline is a serious case, as well as those that could have in a negative way affected my career if I had not discovered your blog post. Your know-how and kindness in touching almost everything was invaluable. I am not sure what I would’ve done if I had not come upon such a thing like this. I can at this point look ahead to my future. Thanks so much for the specialized and amazing help. I won’t be reluctant to propose your web site to any person who needs to have counselling about this subject.

  7. I definitely wanted to send a quick remark to say thanks to you for the awesome secrets you are writing on this site. My long internet research has finally been compensated with good ideas to talk about with my best friends. I ‘d assert that most of us visitors actually are definitely blessed to dwell in a fine site with so many awesome individuals with very beneficial opinions. I feel truly grateful to have used your entire weblog and look forward to so many more excellent times reading here. Thanks a lot once more for a lot of things.

  8. I together with my buddies have already been checking the nice advice on your web blog and so suddenly I got a horrible feeling I never thanked the blog owner for those tips. My people were definitely absolutely very interested to read through all of them and have now without a doubt been making the most of those things. Thank you for getting well helpful and then for considering such notable guides most people are really eager to understand about. Our sincere apologies for not saying thanks to you sooner.

  9. I want to express my thanks to this writer just for rescuing me from such a challenge. After looking out throughout the search engines and finding advice that were not productive, I thought my life was over. Being alive without the presence of strategies to the difficulties you have sorted out through the guide is a critical case, and those which might have negatively damaged my career if I hadn’t noticed your website. Your good expertise and kindness in taking care of almost everything was invaluable. I’m not sure what I would’ve done if I hadn’t encountered such a step like this. I’m able to now look ahead to my future. Thanks for your time so much for the specialized and results-oriented help. I will not hesitate to recommend your blog to anybody who wants and needs care on this problem.

  10. Thank you so much for giving everyone an exceptionally spectacular chance to check tips from this blog. It can be very sweet and also stuffed with fun for me personally and my office fellow workers to visit your blog minimum three times weekly to see the newest items you have. And of course, I am at all times happy with the surprising secrets you give. Some 3 facts on this page are unequivocally the best we have all had.

  11. My wife and i got quite more than happy when Albert could finish off his preliminary research from your ideas he came across in your web page. It is now and again perplexing to simply choose to be giving away guidelines people today could have been selling. And we also figure out we have got the writer to give thanks to for this. The type of illustrations you have made, the easy blog navigation, the relationships you can help foster – it’s mostly remarkable, and it’s helping our son and our family consider that the issue is fun, and that is wonderfully mandatory. Many thanks for everything!

  12. I enjoy you because of each of your effort on this web page. My mother takes pleasure in managing internet research and it’s really obvious why. All of us hear all concerning the dynamic manner you convey insightful things through the web blog and even invigorate response from others on the concept so our favorite simple princess is truly studying a lot of things. Take pleasure in the remaining portion of the year. You are carrying out a dazzling job.

Leave a Reply