[Buildroot] [PATCH 12/20] package/skeleton: split out into skeleton-common

Arnout Vandecappelle arnout at mind.be
Sat Jul 22 23:06:57 UTC 2017



On 18-07-17 19:25, Yann E. MORIN wrote:
> Move all the handling of the default skeleton into a new package,
> skeleton-common.
> 
> We don;t name it skeleton-default, because it will be further split
     don't

> later, into a skeleton for sysv and another for systemd, with some parts
> still common between the two. So just name it skeleton-common right now;
> this will save us a rename later.
> 
> We keep in the skeleton package all definitions of macros and variables
> that can be used by other skeleton packages and/or init systems, and
> just offload the actual feeding of the skeleton to the new package.
> 
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>

Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>

[snip]
> +# The skeleton can't depend on the toolchain, since all packages depends on the
> +# skeleton and the toolchain is a target package, as is skeleton.
> +# Hence, skeleton would depends on the toolchain and the toolchain would depend
> +# on skeleton.

 I don't think this comment is very useful - it's pretty obvious. Actually, it
would make sense for SKELETON_COMMON_ADD_SKELETON_DEPENDENCY=NO to imply
SKELETON_COMMON_ADD_TOOLCHAIN_DEPENDENCY=NO, but really we don't need to
complicate the infra for that...

 You can't have too many comments though, so let's not block the patch for that.

> +SKELETON_COMMON_ADD_TOOLCHAIN_DEPENDENCY = NO
> +SKELETON_COMMON_ADD_SKELETON_DEPENDENCY = NO
> +
> +# The skeleton also handles the merged /usr case in the sysroot

 This comment, on the other hand, *is* very useful.

> +SKELETON_COMMON_INSTALL_STAGING = YES
> +
> +SKELETON_COMMON_PATH = system/skeleton

 Not for this patch of course, but I think it would make sense to also move that
here. But you probably thought of that already :-)


 Regards,
 Arnout

[snip]

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF


More information about the buildroot mailing list