On Thu, Sep 24, 2009 at 3:09 PM, Manuel Lauss <manuel.lauss@xxxxxxxxxxxxxx> wrote: > Manuel Lauss wrote: >> 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_6 > > ... which is of course easily fixed after consumption of > unhealthy amounts of coffee. > > Patch below works for me. For me too, and I am using a custom IP22 config. Thanks! Dmitri