From: Cam Hutchison Date: Sun, 13 Aug 2017 21:21:09 +0000 (+1000) Subject: skeleton: Rename skeleton-none to skeleton-init-none X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f4a8ba8c8be2a471a2bb9d42961f90438b1056b3;p=buildroot.git skeleton: Rename skeleton-none to skeleton-init-none The skeletons are based on the selection of BR2_INIT_*, so add init- to the package name to make this clearer. The name skeleton-none implies no skeleton at all, not a base skeleton with no init-specific files. Signed-off-by: Cam Hutchison Acked-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- diff --git a/package/Config.in b/package/Config.in index b5170b044c..b48eac65ca 100644 --- a/package/Config.in +++ b/package/Config.in @@ -4,7 +4,7 @@ menu "Target packages" source "package/skeleton/Config.in" source "package/skeleton-common/Config.in" source "package/skeleton-custom/Config.in" - source "package/skeleton-none/Config.in" + source "package/skeleton-init-none/Config.in" source "package/skeleton-systemd/Config.in" source "package/skeleton-sysv/Config.in" diff --git a/package/skeleton-init-none/Config.in b/package/skeleton-init-none/Config.in new file mode 100644 index 0000000000..426954ca4c --- /dev/null +++ b/package/skeleton-init-none/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_SKELETON_INIT_NONE + bool + select BR2_PACKAGE_HAS_SKELETON + select BR2_PACKAGE_SKELETON_COMMON + +config BR2_PACKAGE_PROVIDES_SKELETON + default "skeleton-init-none" if BR2_PACKAGE_SKELETON_INIT_NONE diff --git a/package/skeleton-init-none/skeleton-init-none.mk b/package/skeleton-init-none/skeleton-init-none.mk new file mode 100644 index 0000000000..04e38c98d9 --- /dev/null +++ b/package/skeleton-init-none/skeleton-init-none.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# skeleton-init-none +# +################################################################################ + +# 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. +SKELETON_INIT_NONE_ADD_TOOLCHAIN_DEPENDENCY = NO +SKELETON_INIT_NONE_ADD_SKELETON_DEPENDENCY = NO + +SKELETON_INIT_NONE_DEPENDENCIES = skeleton-common + +SKELETON_INIT_NONE_PROVIDES = skeleton + +$(eval $(generic-package)) diff --git a/package/skeleton-none/Config.in b/package/skeleton-none/Config.in deleted file mode 100644 index 43fb3f277c..0000000000 --- a/package/skeleton-none/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_SKELETON_NONE - bool - select BR2_PACKAGE_HAS_SKELETON - select BR2_PACKAGE_SKELETON_COMMON - -config BR2_PACKAGE_PROVIDES_SKELETON - default "skeleton-none" if BR2_PACKAGE_SKELETON_NONE diff --git a/package/skeleton-none/skeleton-none.mk b/package/skeleton-none/skeleton-none.mk deleted file mode 100644 index 9e9579866a..0000000000 --- a/package/skeleton-none/skeleton-none.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# skeleton-none -# -################################################################################ - -# 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. -SKELETON_NONE_ADD_TOOLCHAIN_DEPENDENCY = NO -SKELETON_NONE_ADD_SKELETON_DEPENDENCY = NO - -SKELETON_NONE_DEPENDENCIES = skeleton-common - -SKELETON_NONE_PROVIDES = skeleton - -$(eval $(generic-package)) diff --git a/system/Config.in b/system/Config.in index 59d8eab271..45326f0985 100644 --- a/system/Config.in +++ b/system/Config.in @@ -12,7 +12,7 @@ config BR2_ROOTFS_SKELETON_DEFAULT select BR2_PACKAGE_SKELETON_SYSV if BR2_INIT_SYSV select BR2_PACKAGE_SKELETON_SYSV if BR2_INIT_BUSYBOX select BR2_PACKAGE_SKELETON_SYSTEMD if BR2_INIT_SYSTEMD - select BR2_PACKAGE_SKELETON_NONE if BR2_INIT_NONE + select BR2_PACKAGE_SKELETON_INIT_NONE if BR2_INIT_NONE help Use default target skeleton