Forum Discussion
Altera_Forum
Honored Contributor
16 years agouclinux driver kernel makefile customize
Hi,
I am doing carcass tutorial from nios2wiki for DE2 altera board I want composite kernel with DE2 leds,switches,buttons,display...PIO drivers I have just customize menuconfig kernel installation the Kconfig with DE2 pio options on .../linux-2.6/drivers/misc/phillip/ directory I have run make menuconfig and the dot-config file in /uClinux-dist/linux-2.6.x/ is correct Now I would like customize kernel makefile : ¿ what directory of makefile tree must i customize? i have put the specifice Makefile on same Kconfig directory linux-2.6/drivers/misc/phillip/ and when I run make for kernel building, in the screen prompt I dont see message like CC drivers/misc/phillip/de2_leds.o i must changed some other Makefile for run .../phillip/Makefile child? or i must put the phillip_Makeflie on other directory? Thanks1 Reply
- Altera_Forum
Honored Contributor
Hi,
solution add to Makefile file in uClinux-dist/linux2.6/drivers/misc/Makefile the next directive obj-y +=phillip/ ->relative path to driver Makefile Candido