Skip to content

Commit

Permalink
[fix] Add extra config for build
Browse files Browse the repository at this point in the history
  • Loading branch information
Azure-stars committed Feb 7, 2025
1 parent ae6a5dc commit 0775001
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARCH ?= x86_64
AX_TESTCASES_LIST=$(shell cat ./apps/$(AX_TESTCASE)/testcase_list | tr '\n' ',')
TARGET ?= x86_64-unknown-none
RUSTDOCFLAGS := -Z unstable-options --enable-index-page -D rustdoc::broken_intra_doc_links -D missing-docs

EXTRA_CONFIG ?= $(PWD)/configs/$(ARCH).toml
ifneq ($(filter $(MAKECMDGOALS),doc_check_missing),) # make doc_check_missing
export RUSTDOCFLAGS
else ifeq ($(filter $(MAKECMDGOALS),clean user_apps ax_root),) # Not make clean, user_apps, ax_root
Expand Down Expand Up @@ -33,7 +33,7 @@ test:
@./scripts/app_test.sh

defconfig build run justrun debug disasm: ax_root
@make -C $(AX_ROOT) A=$(PWD) $@
@make -C $(AX_ROOT) A=$(PWD) EXTRA_CONFIG=$(EXTRA_CONFIG) $@

clean: ax_root
@make -C $(AX_ROOT) A=$(PWD) clean
Expand Down

0 comments on commit 0775001

Please sign in to comment.