I have an ML build problem in a port in progress. My simple brain can write 10 line makefiles. I have added #include vram.h (and bmp.h) to disp_direct.c, and my build gets an error of:
arm-none-eabi-ld: disp_direct.o: in function `disp_set_pixel':
disp_direct.c:(.text+0x158): undefined reference to `bmp_vram_info'
I believe the cause is that the linker isn't trying to link vram.o into disp_direct.o. How do I add this dependency? I've tried src/Makefile.src, several variants along the line of:
disp_direct.o: $(PLATFORM_DIR)/vram.o
but no luck. Anyone got any ideas? There's a lot of possible makefiles to add things to, and I'm not even sure of the right way of adding this.