Actually, in keeping with your comment about rather having a fork of the
source in SDKs, I'm thinking it would be better to rework all of this,
so that SDK's automatically ship the source, and figure out a better
mechanism for managing the recording of what is already built (probably
just a plain text file) which can be easily 'overridden' by removing the
record (or taking an approach similar to feeds.conf.default, only with a
generated file instead of one in the source tree).
I hadn't thought of the issue of people shipping binary-only SDK's and
think that having the SDK have a copy of the source (but that doesn't
get in the way easy updates to the source) would be preferrable; my
object with the SDK was to build only what's needed, when it's needed,
rather than as means to ship binaries. I was thinking more in terms of
internal common code, but see how it could easily get abused, in it's
current form.
Regards,
Daniel
On 03/01/16 09:51 AM, Felix Fietkau wrote:
On 2016-01-03 07:03, [email protected] wrote:
From: Daniel Dickinson <[email protected]>
When using SDK default to avoiding rebuilding packages previously built
(within same variant of a source package; alternate variants don't cause
isses so do allow them) and in addition avoid installing from feeds
packages previously built. In both cases this may be overridden
by a force option on the command line.
For feeds install it is -f, and for building the force is
FORCE_SDK="<space separated lists of package variants to build>",
where package variant is just source package name for non
varianted packages and <source_package>-<variant> for varianted
packages
Signed-off-by: Daniel Dickinson <[email protected]>
I think this is heading in the wrong direction, since it's somewhat
fragile. Instead, I'd like to see changes that make it possible to ship
the SDK without staging_dir/target-*, and allow cleaning it.
- Felix
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel