Also, I'm thinking that for the SDK sources it might make sense to only include packages with an InstallDev section and the toolchain and do some work to make sure that packages built as part of the base system can't have their config options overridden (at least for an already included flavour), in order to guarantee that the compilation produces identical libraries and such.

Regards,

Daniel

On 08/01/16 03:14 AM, Daniel Dickinson wrote:
Hi Felix,

I've been thinking about the sourceful SDK and have some ideas on how to
implement, I just want to clarify one point:

Are you thinking the SDK should be like the buildroot where everything
(including tools and toolchain) is built from source, or are you
thinking tools and toolchain (but not kernel, because that introduces
build_dir/staging_dir messiness) should be precompiled (so that the rest
may be compiled without much in the way of external dependencies).

I'm actually think OpenWrt's build dependencies are light enough that it
might make sense to do an entirely sourceful SDK, and completely skip
pacakaging binaries (except for the option of downloading and including
source archives).

With your recent target/linux commit this shouldn't cause any major
headaches, and the SDK can already generate the Config.in placeholders
that make sure both the base system and SDK are configured with the same
settings (e.g for kernel compile).

Actually I have to review the SDK and figure out why the kernel is in
the SDK in the first place (ImageBuilder those binaries are obviously
required, but the SDK I'm not sure why they're there, or if I'm actually
misremembering and there is no kernel in the SDK; if that is the case
then the whole thing gets a lot easier).

Regards,

Daniel
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to