On Thu, Sep 24, 2009 at 11:24 AM, Manuel Lauss <manuel.lauss@xxxxxxxxxxxxxx> wrote: >> I'm away from my machine atm. >> Could you try to add the following to arch/mips/kernel/makefile: >> >> CPPFFLAGS_vmlinux.lds += $(KBUILD_CFLAGS) >> >> This should fix it. > > Thank you, that did it. Spoke too soon: This leaves unprocessed directives in vmlinux.lds: [...] OUTPUT_ARCH(mips) ENTRY(kernel_entry) PHDRS { text PT_LOAD FLAGS(7); /* RWX */ note PT_NOTE FLAGS(4); /* R__ */ } ifdef 1 ifdef 1 jiffies = jiffies_64; else jiffies = jiffies_64 + 4; endif else jiffies = jiffies_64; endif SECTIONS { . = 0xffffffff80100000; /* read-only */ _text = .; /* Text and read-only data */ [...] Manuel Lauss