aboutsummaryrefslogtreecommitdiff
path: root/package/skeleton/skeleton.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/skeleton/skeleton.mk')
-rw-r--r--package/skeleton/skeleton.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/skeleton/skeleton.mk b/package/skeleton/skeleton.mk
index 7a7c200f76..d580fcbfff 100644
--- a/package/skeleton/skeleton.mk
+++ b/package/skeleton/skeleton.mk
@@ -17,6 +17,12 @@ ifeq ($(BR2_ROOTFS_SKELETON_CUSTOM),y)
SKELETON_PATH = $(call qstrip,$(BR2_ROOTFS_SKELETON_CUSTOM_PATH))
+ifeq ($(BR_BUILDING),y)
+ifeq ($(SKELETON_PATH),)
+$(error No path specified for the custom skeleton)
+endif
+endif
+
ifeq ($(BR2_ROOTFS_MERGED_USR),y)
# Ensure the user has prepared a merged /usr.