From f158d9ce1e685fd7b8c9b367b7f7267f191923e3 Mon Sep 17 00:00:00 2001 From: FantasyGmm <16450052+FantasyGmm@users.noreply.github.com> Date: Fri, 5 Jan 2024 09:57:06 +0000 Subject: [PATCH] use brmake to build --- build/.gitignore | 1 + build/Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build/.gitignore b/build/.gitignore index e15d50f68..82d5cdda7 100644 --- a/build/.gitignore +++ b/build/.gitignore @@ -4,6 +4,7 @@ config.cmake *.pyc .config.old +br.log # ignore dirs diff --git a/build/Makefile b/build/Makefile index 042ce1537..7c3ad970b 100644 --- a/build/Makefile +++ b/build/Makefile @@ -581,7 +581,7 @@ br-rootfs-pack:export TARGET_OUTPUT_DIR=$(BR_DIR)/output/$(BR_BOARD) br-rootfs-pack: $(call print_target) ${Q}$(MAKE) -C $(BR_DIR) $(BR_DEFCONFIG) BR2_TOOLCHAIN_EXTERNAL_PATH=$(CROSS_COMPILE_PATH) - ${Q}$(MAKE) -j${NPROC} -C $(BR_DIR) + ${Q}$(BR_DIR)/utils/brmake -j${NPROC} -C $(BR_DIR) # ${Q}rm -rf $(BR_ROOTFS_DIR)/* # copy rootfs to rawimg dir ${Q}cp $(TARGET_OUTPUT_DIR)/images/rootfs.ext4 $(OUTPUT_DIR)/rawimages/rootfs_ext4.$(STORAGE_TYPE)