From 675db9c7a31beab389a308d333b2a18d94e0d9a1 Mon Sep 17 00:00:00 2001 From: eng33 Date: Thu, 14 Dec 2023 17:11:44 +0800 Subject: [PATCH] buildroot:fix rkipc cannot work --- sysdrv/Makefile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/sysdrv/Makefile b/sysdrv/Makefile index f6f31697d..a7ded9623 100644 --- a/sysdrv/Makefile +++ b/sysdrv/Makefile @@ -542,13 +542,7 @@ ifeq ($(SYSDRV_BUILD_RAMDISK_FLAG),YES) $(BUILDROOT_DIR)/$(BUILDROOT_VER)/output/target) endif else - test -f $(SYSDRV_DIR_OUT_ROOTFS)/userdata/.buildroot || (\ - rm -rf $(SYSDRV_DIR_OUT_ROOTFS) ;\ - mkdir -p $(SYSDRV_DIR_OUT_ROOTFS) ;\ - ); tar xf $(BUILDROOT_DIR)/$(BUILDROOT_VER)/output/images/rootfs.tar -C $(SYSDRV_DIR_OUT_ROOTFS) - mkdir -p $(SYSDRV_DIR_OUT_ROOTFS)/userdata - touch $(SYSDRV_DIR_OUT_ROOTFS)/userdata/.buildroot cp $(SYSDRV_DIR)/tools/board/buildroot/shadow_defconfig $(SYSDRV_DIR_OUT_ROOTFS)/etc/shadow cp $(SYSDRV_DIR)/tools/board/buildroot/sshd_defconfig $(SYSDRV_DIR_OUT_ROOTFS)/etc/ssh/sshd_config cp $(SYSDRV_DIR)/tools/board/buildroot/samba_defconfig $(SYSDRV_DIR_OUT_ROOTFS)/etc/samba/smb.conf @@ -581,7 +575,7 @@ ubuntu: prepare tar xzf $(SYSDRV_DIR)/tools/board/ubuntu/$(UBUNTU_VER).tar.gz -C $(SYSDRV_DIR_OUT_ROOTFS) ;\ ); ubuntu_clean: - $(AT)rm -rf $(UBUNTU_DIR)/$(UBUNTU_VER) + $(AT)rm -rf $(SYSDRV_DIR_OUT_ROOTFS) ########################################################################################## # build pc tools