Fix build error when select loongson2k300_pure_busybox_defconfig

This commit is contained in:
loongson
2024-09-10 15:12:31 +08:00
parent a35632e9c8
commit a49a2461ea
@@ -16,6 +16,7 @@ define LOONGSON_RESIZE_INSTALL_STAGING_CMDS
echo "nothing to do"
endef
ifeq ($(BR2_INIT_SYSTEMD) ,y)
define LOONGSON_RESIZE_INSTALL_TARGET_CMDS
echo "install loongson resize init.d/profile.d"
mkdir -p $(TARGET_DIR)/usr/local/ls_resize
@@ -26,5 +27,6 @@ define LOONGSON_RESIZE_INSTALL_TARGET_CMDS
cd $(@D) && cp loongson-resize.service $(TARGET_DIR)/usr/lib/systemd/system/
cd $(TARGET_DIR)/usr/lib/systemd/system/sysinit.target.wants && ln -sf ../loongson-resize.service loongson-resize.service
endef
endif
$(eval $(generic-package))