Re: Makefile - help needed (please)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




But now, I want to create my own tree of makefiles to get the modules compiled instead of using the top-level /usr/src/linux/Makefile. I tried looking at the main kernel Makefile, but couldnt make much of it. Please give me some pointer as to how to go about this.

Try
CROSS := arm-linux-gnu-
make -C $(BUILD_TREE) SUBDIRS=$(PWD) modules CROSS_COMPILE=$(CROSS)

Regards,
Mohanlal


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux