mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
Build System: Resolve CPU-specific logic in common build files
* tools/Config.mk - Add empty definition POSTBUILD * tools/Makefile.unix/win - Replace CXD56xx specific logic with $(call POSTBUILD) * boards/arm/cxd56xx/scripts/Config.mk - Add POSTBUILD definitions with logic removed from Makefile.unix/win * boards/arm/cxd56xx/spresense/scripts/Make.defs - Include the CXD56xx Config.mk immediately after tools/Config.mk so that the empty POSTBUILD definition will be replaced with the correct one NOTE: There is a precedent for this approach. This is the way that other architecture-specific build options are implemented. See, for example, tools/zds/Config.mk
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
include $(TOPDIR)/.config
|
||||
include $(TOPDIR)/tools/Config.mk
|
||||
include ${TOPDIR}/arch/z16/src/z16f/Toolchain.defs
|
||||
include $(TOPDIR)/tools/zds/zds_Config.mk
|
||||
include $(TOPDIR)/tools/zds/Config.mk
|
||||
|
||||
# CFLAGS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user