mirror of
https://gitee.com/open-loongarch/buildroot.git
synced 2026-10-25 21:07:11 +08:00
Fix build error when select loongson2k300_pure_busybox_defconfig
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user