mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-11-05 04:06:38 +08:00
Add make setenv that can be used in scripts to set the arch, board, and config_name variables
This commit is contained in:
parent
5c3df34508
commit
9b79a537bc
6
Makefile
6
Makefile
@ -106,6 +106,12 @@ else
|
||||
bash
|
||||
endif
|
||||
|
||||
setenv: FORCE
|
||||
@echo export ARCH='$(ARCH)'
|
||||
@echo export BOARD='$(BOARD)'
|
||||
@echo export CONFIG_NAME='$(CONFIG_NAME)'
|
||||
@echo BUILD='$(BUILD)'
|
||||
|
||||
export RUST_GDB=gdb-multiarch # Necessary when debugging for another architecture than the host
|
||||
GDB_KERNEL_FILE=recipes/core/kernel/target/$(TARGET)/build/kernel.sym
|
||||
gdb: FORCE
|
||||
|
||||
Loading…
Reference in New Issue
Block a user