Dear Linaro team,
I have a problem when I try to make a module.
To make the module file xx.c, I have the following command line in my Makefile:
make -C /lib/modules/$(shell uname -r)/build M=$(pwd) modules
an error occured:
make: *** /lib/modules/2.6.38-1003-linaro-omap/build: No such file or directory.
I looked up the /lib/modules/ folder, there are two sub folders:
/lib/modules/2.6.38-1003-linaro-omap /lib/modules/2.6.38-1208-omap4
Under /lib/modules/2.6.38-1003-linaro-omap, there is not a 'build' folder, but under /lib/modules/2.6.38-1208-omap4, there is the 'build' folder that is needed for building the modules.
Please could you kindly let me know why this happens, and how to resolve this issue?
Many thanks, Juan
------------------------------------------------------------------ Juan Gao Software Applications Engineer--Compiler tools UK Support Team: +44(0)1223 400600 ARM Ltd. US Support Team: +1 512 381 2928 110 Fulbourn Road Direct Dial: +44(0)1223 406988 Cambridge CB1 9NJ Fax: +44(0)1223 400410 England E-Mail: Juan.Gao@arm.com ------------------------------------------------------------------
-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.