diff options
author | Stefan Becker <chemobejk@gmail.com> | 2017-08-03 12:05:45 +0300 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-08-03 12:31:55 +0200 |
commit | 9682fcaf465cfeb56cbdf06c85b32d378032799e (patch) | |
tree | 6b6605e0263c0696d4ea91224ac957bb8cebc739 | |
parent | b63fdf4714ff7b795c00b7bb1bcbfd992853fef8 (diff) | |
download | buildroot-9682fcaf465cfeb56cbdf06c85b32d378032799e.tar.gz buildroot-9682fcaf465cfeb56cbdf06c85b32d378032799e.zip |
package/skeleton-common: fix recursive variable
This fixes a recursive variable definition introduced by the refactoring
in commit 120307520f69f801bf05df1d2fd3433c6d498551. Simply rename the
hook to remove the recursion.
Fixes https://bugs.busybox.net/show_bug.cgi?id=10146
Signed-off-by: Stefan Becker <chemobejk@gmail.com>
-rw-r--r-- | package/skeleton-common/skeleton-common.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/skeleton-common/skeleton-common.mk b/package/skeleton-common/skeleton-common.mk index e9b87c3fd3..e94dd6e14d 100644 --- a/package/skeleton-common/skeleton-common.mk +++ b/package/skeleton-common/skeleton-common.mk @@ -75,16 +75,16 @@ endef SKELETON_COMMON_TARGET_FINALIZE_HOOKS += SKELETON_COMMON_SET_ROOT_PASSWD ifeq ($(BR2_SYSTEM_BIN_SH_NONE),y) -define SKELETON_COMMON_BIN_SH +define SKELETON_COMMON_SET_BIN_SH rm -f $(TARGET_DIR)/bin/sh endef else ifneq ($(SKELETON_COMMON_BIN_SH),) -define SKELETON_COMMON_BIN_SH +define SKELETON_COMMON_SET_BIN_SH ln -sf $(SKELETON_COMMON_BIN_SH) $(TARGET_DIR)/bin/sh endef endif endif -SKELETON_COMMON_TARGET_FINALIZE_HOOKS += SKELETON_COMMON_BIN_SH +SKELETON_COMMON_TARGET_FINALIZE_HOOKS += SKELETON_COMMON_SET_BIN_SH $(eval $(generic-package)) |