mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 10:46:28 +08:00
tools: Export ZIG/ZIGFLAGS in Export.mk instead
Summary: - Moved the export of `ZIG` and `ZIGFLAGS` from `tools/Unix.mk` to `tools/Export.mk` - Simplified the `export` target in `tools/Unix.mk` by removing redundant `ZIG` and `ZIGFLAGS` variables Impact: - No functional changes - the `ZIG` and `ZIGFLAGS` variables are still exported correctly - Improves code maintainability by centralizing environment variable exports in `Export.mk` Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
@@ -80,6 +80,8 @@ endif
|
||||
@echo "NXFLATLDFLAGS2=\"$(NXFLATLDFLAGS2)\"" >> $(EXPORTDIR)/makeinfo.sh
|
||||
@echo "OBJCOPY=\"$(OBJCOPY)\"" >> $(EXPORTDIR)/makeinfo.sh
|
||||
@echo "OBJDUMP=\"$(OBJDUMP)\"" >> $(EXPORTDIR)/makeinfo.sh
|
||||
@echo "ZIG=\"$(ZIG)\"" >> $(EXPORTDIR)/makeinfo.sh
|
||||
@echo "ZIGFLAGS=\"$(ZIGFLAGS)\"" >> $(EXPORTDIR)/makeinfo.sh
|
||||
@echo "OBJEXT=\"$(OBJEXT)\"" >> $(EXPORTDIR)/makeinfo.sh
|
||||
@echo "STRIP=\"$(STRIP)\"" >> $(EXPORTDIR)/makeinfo.sh
|
||||
@echo "NUTTX_ARCH=\"$(CONFIG_ARCH)\"" >> $(EXPORTDIR)/makeinfo.sh
|
||||
|
||||
Reference in New Issue
Block a user