Compiling my own PCIe driver

I am a new user to OpenWRT. I am confused on how I can include my driver code in the Makefile to compile it in the kernel build. Any help will be appreciated.

Hi snarang, welcome to the OpenWrt community!

If you are looking for development information, I suggest

That is a great place to start. It has links to dozens and dozens of Wiki pages with development information and resources. Out of those, to start off with, I would especially recommend:

Those are a great place to start. But do go to the main developer page I linked first and look through it because there are a LOT of other links there to great documentation.

Do you have any hardware running OpenWrt now? What is this PCIe driver you want to include? You have me curious!