mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
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>
This commit is contained in:
parent
b63fdf4714
commit
9682fcaf46
@ -75,16 +75,16 @@ endef
|
|||||||
SKELETON_COMMON_TARGET_FINALIZE_HOOKS += SKELETON_COMMON_SET_ROOT_PASSWD
|
SKELETON_COMMON_TARGET_FINALIZE_HOOKS += SKELETON_COMMON_SET_ROOT_PASSWD
|
||||||
|
|
||||||
ifeq ($(BR2_SYSTEM_BIN_SH_NONE),y)
|
ifeq ($(BR2_SYSTEM_BIN_SH_NONE),y)
|
||||||
define SKELETON_COMMON_BIN_SH
|
define SKELETON_COMMON_SET_BIN_SH
|
||||||
rm -f $(TARGET_DIR)/bin/sh
|
rm -f $(TARGET_DIR)/bin/sh
|
||||||
endef
|
endef
|
||||||
else
|
else
|
||||||
ifneq ($(SKELETON_COMMON_BIN_SH),)
|
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
|
ln -sf $(SKELETON_COMMON_BIN_SH) $(TARGET_DIR)/bin/sh
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
SKELETON_COMMON_TARGET_FINALIZE_HOOKS += SKELETON_COMMON_BIN_SH
|
SKELETON_COMMON_TARGET_FINALIZE_HOOKS += SKELETON_COMMON_SET_BIN_SH
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user