On Wednesday, June 21, 2017 at 3:38:11 PM UTC-6, RobertCNelson wrote:
>
>
> Are you passing ARCH=arm  ?? 
>

No. I'm just trying to do the example on this page: here 
<http://derekmolloy.ie/writing-a-linux-kernel-module-part-2-a-character-device/>
 

The contents of the makefile:

> obj-m+=ebbchar.o
> all:
> make -C /lib/modules/$(shell uname -r)/build/ M=$(PWD) modules
> $(CC) testebbchar.c -o test
> clean:
> make -C /lib/modules/$(shell uname -r)/build/ M=$(PWD) clean
> rm test

 

> in theory, the arch assembly directory should be fixed. ( back ported 
> a builddeb change from the v4.7.0-rc merge cycle) 
>
>
> https://github.com/RobertCNelson/stable-kernel/commit/3a0073dc8a13b0aa955f440d8219d2bb638a44c9
>  
>

I don't know what this means. How is my build supposed to "find" the 
appropriate arch subdirectory?

Thanks.

 

> Regards, 
>
> -- 
> Robert Nelson 
> https://rcn-ee.com/ 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/943643dd-2e21-45e5-a1fb-074eacecb228%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to