On Wed, Dec 7, 2011 at 10:02 AM, Peter Maydell <peter.maydell at linaro.org> wrote: > On 7 December 2011 14:39, Christoffer Dall <cdall at cs.columbia.edu> wrote: >> The dependency graph is this: >> >> zImage <- uImage <- boot-wrapper >> >> so if uImage has changed, so has zImage. Or am I missing something? >> >> Anyway, it's not a big issue for me, I am just trying to avoid someone >> building their kernel using plain 'make' and not understanding why the >> boot-wrapper doen't reflect those changes. > > Ah, I understand the problem now. > > In fact patch 6 fixes this, because the 'force' dependency on the > $(KERNEL_SRC)/arch/arm/boot/uImage target means we will always run > the rule for that target, ie we will always invoke the kernel makefile > and ask it to make sure the uImage is up to date. (I just tested this > and it does do the right thing.) > > I hadn't spotted this wrinkle, or I'd have combined the two patches > somehow instead. > And I missed the other one. OK, we're in agreement.