Re: kbuild: LDFLAGS_MODULE unusable for external module builds (2.6.23-rc2)

From: Sam Ravnborg
Date: Thu Sep 27 2007 - 04:25:02 EST

Hi Henry.

Snipped a very detaild an good example...

Thanks for your comprehensive feedback on this topic.
> Idea for future:
> An 'APPEND_LDFLAGS' would be nice to append flags behind the last .o
> object. Than can be close the group with --end-group.
> Exactly linker call would be with grouping only archives, and the group
> block behind the last object, for example:
> ld -m elf_i386 -r -o module.o file1.o --start-group A/lib.a B/lib.a
> --end-group
> But remember: We can very good live with EXTRA_LDFLAGS, it's usable in
> all 2.6 kernels.

As there is no dire need for it now I will not add EXTRA_APPEND_LDFLAGS.
But I will keep your suggestion in mind should it be useful to solve the
hackish use in the vdso Makefile's.

Thanks for your feedback and do not hesistate to ask if you run into
additional troubles in the future.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at