mirror of
https://github.com/apache/nuttx.git
synced 2025-12-13 15:12:38 +08:00
use apps-or-nuttx-Make.defs for archs
This will allow apps to tweak build configuration of NuttX
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
4c27036ea8
commit
447cc9698f
@@ -18,7 +18,7 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include $(TOPDIR)/Make.defs
|
include $(TOPDIR)/tools/apps-or-nuttx-Make.defs
|
||||||
include chip/Make.defs
|
include chip/Make.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_ARCH_ARMV7A),y) # ARMv7-A
|
ifeq ($(CONFIG_ARCH_ARMV7A),y) # ARMv7-A
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include $(TOPDIR)/Make.defs
|
include $(TOPDIR)/tools/apps-or-nuttx-Make.defs
|
||||||
include chip/Make.defs
|
include chip/Make.defs
|
||||||
|
|
||||||
ARCH_SRCDIR = $(TOPDIR)$(DELIM)arch$(DELIM)$(CONFIG_ARCH)$(DELIM)src
|
ARCH_SRCDIR = $(TOPDIR)$(DELIM)arch$(DELIM)$(CONFIG_ARCH)$(DELIM)src
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include $(TOPDIR)/Make.defs
|
include $(TOPDIR)/tools/apps-or-nuttx-Make.defs
|
||||||
include chip/Make.defs
|
include chip/Make.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_ARCH_FAMILY_AVR32),y)
|
ifeq ($(CONFIG_ARCH_FAMILY_AVR32),y)
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
-include $(TOPDIR)/Make.defs
|
include $(TOPDIR)/tools/apps-or-nuttx-Make.defs
|
||||||
-include chip$(DELIM)Make.defs
|
-include chip$(DELIM)Make.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_ARCH_XC5),y)
|
ifeq ($(CONFIG_ARCH_XC5),y)
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include $(TOPDIR)/Make.defs
|
include $(TOPDIR)/tools/apps-or-nuttx-Make.defs
|
||||||
include chip/Make.defs
|
include chip/Make.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_ARCH_HC12),y)
|
ifeq ($(CONFIG_ARCH_HC12),y)
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include $(TOPDIR)/Make.defs
|
include $(TOPDIR)/tools/apps-or-nuttx-Make.defs
|
||||||
include chip/Make.defs
|
include chip/Make.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_ARCH_MIPS),y)
|
ifeq ($(CONFIG_ARCH_MIPS),y)
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include $(TOPDIR)/Make.defs
|
include $(TOPDIR)/tools/apps-or-nuttx-Make.defs
|
||||||
include chip/Make.defs
|
include chip/Make.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_ARCH_CHIP_LM32),y)
|
ifeq ($(CONFIG_ARCH_CHIP_LM32),y)
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include $(TOPDIR)/Make.defs
|
include $(TOPDIR)/tools/apps-or-nuttx-Make.defs
|
||||||
include chip/Make.defs
|
include chip/Make.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_ARCH_MOR1KX),y) # OpenRISC mor1kx
|
ifeq ($(CONFIG_ARCH_MOR1KX),y) # OpenRISC mor1kx
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include $(TOPDIR)/Make.defs
|
include $(TOPDIR)/tools/apps-or-nuttx-Make.defs
|
||||||
include chip/Make.defs
|
include chip/Make.defs
|
||||||
|
|
||||||
ARCH_SRCDIR = $(TOPDIR)$(DELIM)arch$(DELIM)$(CONFIG_ARCH)$(DELIM)src
|
ARCH_SRCDIR = $(TOPDIR)$(DELIM)arch$(DELIM)$(CONFIG_ARCH)$(DELIM)src
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include $(TOPDIR)/Make.defs
|
include $(TOPDIR)/tools/apps-or-nuttx-Make.defs
|
||||||
include chip/Make.defs
|
include chip/Make.defs
|
||||||
ifeq ($(CONFIG_OPENSBI),y)
|
ifeq ($(CONFIG_OPENSBI),y)
|
||||||
include opensbi/Make.defs
|
include opensbi/Make.defs
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
-include $(TOPDIR)/Make.defs
|
include $(TOPDIR)/tools/apps-or-nuttx-Make.defs
|
||||||
|
|
||||||
ARCH_SRCDIR = $(TOPDIR)$(DELIM)arch$(DELIM)$(CONFIG_ARCH)$(DELIM)src
|
ARCH_SRCDIR = $(TOPDIR)$(DELIM)arch$(DELIM)$(CONFIG_ARCH)$(DELIM)src
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
-include $(TOPDIR)/Make.defs
|
include $(TOPDIR)/tools/apps-or-nuttx-Make.defs
|
||||||
-include chip/Make.defs
|
-include chip/Make.defs
|
||||||
|
|
||||||
ARCH_SUBDIR = sparc_v8
|
ARCH_SUBDIR = sparc_v8
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include $(TOPDIR)/Make.defs
|
include $(TOPDIR)/tools/apps-or-nuttx-Make.defs
|
||||||
include chip/Make.defs
|
include chip/Make.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_ARCH_I486),y)
|
ifeq ($(CONFIG_ARCH_I486),y)
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include $(TOPDIR)/Make.defs
|
include $(TOPDIR)/tools/apps-or-nuttx-Make.defs
|
||||||
include chip/Make.defs
|
include chip/Make.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_ARCH_INTEL64),y)
|
ifeq ($(CONFIG_ARCH_INTEL64),y)
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include $(TOPDIR)/Make.defs
|
include $(TOPDIR)/tools/apps-or-nuttx-Make.defs
|
||||||
include chip/Make.defs
|
include chip/Make.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_ARCH_FAMILY_LX6),y)
|
ifeq ($(CONFIG_ARCH_FAMILY_LX6),y)
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include $(TOPDIR)/Make.defs
|
include $(TOPDIR)/tools/apps-or-nuttx-Make.defs
|
||||||
include chip/Make.defs
|
include chip/Make.defs
|
||||||
|
|
||||||
COMPILER = ${shell basename "$(CC)"}
|
COMPILER = ${shell basename "$(CC)"}
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
# Makefile fragments
|
# Makefile fragments
|
||||||
|
|
||||||
include $(TOPDIR)/Make.defs
|
include $(TOPDIR)/tools/apps-or-nuttx-Make.defs
|
||||||
include chip/Make.defs
|
include chip/Make.defs
|
||||||
|
|
||||||
# Compiler-Dependent Make: SDCC, Clang, or ZiLOG ZDS-II
|
# Compiler-Dependent Make: SDCC, Clang, or ZiLOG ZDS-II
|
||||||
|
|||||||
Reference in New Issue
Block a user