Skip to contentSkip to conversation

U-Boot makefiles question

U-Boot Steven Zedeck 1 participant 1 message Mar 27, 2009

lore
Share & tools
lore
#0 lore raw

Hi,
I have a general question about the U-Boot Makefiles. When I want to add a file to one of the sub-Makefiles (such as in drivers/net/Makefile or board/atmel/at91xxxx/Makefile), it seems I need to go through several steps in order for the new file to get compiled. I must be doing something wrong. I've been doing this everytime I add a new file to be compiled by a makefile:

make distclean
make at91sam9rlek_config
make at91sam9rlek_config
make clean
make -B

It seems that if I don't do all those steps, the new file is ignored and not compiled. I think its an issue with dependencies.

I have a similar problem when I add a new .h file to an existing .c file. It doesn't always cause the particular .c file to get recompiled. thanks in advance,
Steve

Signature · 2 lines
View this message in context: http://www.nabble.com/U-Boot-makefiles-question-tp22740727p22740727.html
Sent from the Uboot - Users mailing list archive at Nabble.com.