summaryrefslogtreecommitdiffstats
path: root/package/skeleton-init-none
diff options
context:
space:
mode:
authorCam Hutchison <camh@xdna.net>2017-08-14 07:21:09 +1000
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-08-14 21:52:43 +0200
commitf4a8ba8c8be2a471a2bb9d42961f90438b1056b3 (patch)
tree32fbefc60559df25d09fce0637f156cf9ceb4380 /package/skeleton-init-none
parent049c0f1b4db07ffbb5d115da3ac8271ae6426dc8 (diff)
downloadbuildroot-f4a8ba8c8be2a471a2bb9d42961f90438b1056b3.tar.gz
buildroot-f4a8ba8c8be2a471a2bb9d42961f90438b1056b3.zip
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 <camh@xdna.net> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/skeleton-init-none')
-rw-r--r--package/skeleton-init-none/Config.in7
-rw-r--r--package/skeleton-init-none/skeleton-init-none.mk18
2 files changed, 25 insertions, 0 deletions
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))
OpenPOWER on IntegriCloud