summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/skeleton/skeleton.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/skeleton/skeleton.mk b/package/skeleton/skeleton.mk
index d580fcbfff..43496202c3 100644
--- a/package/skeleton/skeleton.mk
+++ b/package/skeleton/skeleton.mk
@@ -141,6 +141,10 @@ endef
TARGET_FINALIZE_HOOKS += SKELETON_SET_ISSUE
endif
+# The TARGET_FINALIZE_HOOKS must be sourced only if the users choose to use the
+# default skeleton.
+ifeq ($(BR2_ROOTFS_SKELETON_DEFAULT),y)
+
define SKELETON_SET_NETWORK_LOCALHOST
( \
echo "# interface file auto-generated by buildroot"; \
@@ -174,10 +178,6 @@ endef
TARGET_FINALIZE_HOOKS += SKELETON_SET_NETWORK
-# The TARGET_FINALIZE_HOOKS must be sourced only if the users choose to use the
-# default skeleton.
-ifeq ($(BR2_ROOTFS_SKELETON_DEFAULT),y)
-
ifeq ($(BR2_TARGET_ENABLE_ROOT_LOGIN),y)
ifeq ($(SKELETON_TARGET_GENERIC_ROOT_PASSWD),)
SKELETON_ROOT_PASSWORD =
OpenPOWER on IntegriCloud