Skip to content

Commit

Permalink
use apps-or-nuttx-Make.defs for archs
Browse files Browse the repository at this point in the history
This will allow apps to tweak build configuration of NuttX
  • Loading branch information
casaroli committed Nov 16, 2023
1 parent 1489254 commit d1c427d
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion arch/arm/src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#
############################################################################

include $(TOPDIR)/Make.defs
include $(TOPDIR)/apps-or-nuttx-Make.defs
include chip/Make.defs

ifeq ($(CONFIG_ARCH_ARMV7A),y) # ARMv7-A
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#
############################################################################

include $(TOPDIR)/Make.defs
include $(TOPDIR)/apps-or-nuttx-Make.defs
include chip/Make.defs

ARCH_SRCDIR = $(TOPDIR)$(DELIM)arch$(DELIM)$(CONFIG_ARCH)$(DELIM)src
Expand Down
2 changes: 1 addition & 1 deletion arch/avr/src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#
############################################################################

include $(TOPDIR)/Make.defs
include $(TOPDIR)/apps-or-nuttx-Make.defs
include chip/Make.defs

ifeq ($(CONFIG_ARCH_FAMILY_AVR32),y)
Expand Down
2 changes: 1 addition & 1 deletion arch/ceva/src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#
############################################################################

-include $(TOPDIR)/Make.defs
include $(TOPDIR)/apps-or-nuttx-Make.defs
-include chip$(DELIM)Make.defs

ifeq ($(CONFIG_ARCH_XC5),y)
Expand Down
2 changes: 1 addition & 1 deletion arch/hc/src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#
############################################################################

include $(TOPDIR)/Make.defs
include $(TOPDIR)/apps-or-nuttx-Make.defs
include chip/Make.defs

ifeq ($(CONFIG_ARCH_HC12),y)
Expand Down
2 changes: 1 addition & 1 deletion arch/mips/src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#
############################################################################

include $(TOPDIR)/Make.defs
include $(TOPDIR)/apps-or-nuttx-Make.defs
include chip/Make.defs

ifeq ($(CONFIG_ARCH_MIPS),y)
Expand Down
2 changes: 1 addition & 1 deletion arch/misoc/src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#
############################################################################

include $(TOPDIR)/Make.defs
include $(TOPDIR)/apps-or-nuttx-Make.defs
include chip/Make.defs

ifeq ($(CONFIG_ARCH_CHIP_LM32),y)
Expand Down
2 changes: 1 addition & 1 deletion arch/or1k/src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#
############################################################################

include $(TOPDIR)/Make.defs
include $(TOPDIR)/apps-or-nuttx-Make.defs
include chip/Make.defs

ifeq ($(CONFIG_ARCH_MOR1KX),y) # OpenRISC mor1kx
Expand Down
2 changes: 1 addition & 1 deletion arch/renesas/src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#
############################################################################

include $(TOPDIR)/Make.defs
include $(TOPDIR)/apps-or-nuttx-Make.defs
include chip/Make.defs

ARCH_SRCDIR = $(TOPDIR)$(DELIM)arch$(DELIM)$(CONFIG_ARCH)$(DELIM)src
Expand Down
2 changes: 1 addition & 1 deletion arch/risc-v/src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#
############################################################################

include $(TOPDIR)/Make.defs
include $(TOPDIR)/apps-or-nuttx-Make.defs
include chip/Make.defs
ifeq ($(CONFIG_OPENSBI),y)
include opensbi/Make.defs
Expand Down
2 changes: 1 addition & 1 deletion arch/sim/src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#
############################################################################

-include $(TOPDIR)/Make.defs
include $(TOPDIR)/apps-or-nuttx-Make.defs

ARCH_SRCDIR = $(TOPDIR)$(DELIM)arch$(DELIM)$(CONFIG_ARCH)$(DELIM)src

Expand Down
2 changes: 1 addition & 1 deletion arch/sparc/src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#
############################################################################

-include $(TOPDIR)/Make.defs
include $(TOPDIR)/apps-or-nuttx-Make.defs
-include chip/Make.defs

ARCH_SUBDIR = sparc_v8
Expand Down
2 changes: 1 addition & 1 deletion arch/x86/src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#
############################################################################

include $(TOPDIR)/Make.defs
include $(TOPDIR)/apps-or-nuttx-Make.defs
include chip/Make.defs

ifeq ($(CONFIG_ARCH_I486),y)
Expand Down
2 changes: 1 addition & 1 deletion arch/x86_64/src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#
############################################################################

include $(TOPDIR)/Make.defs
include $(TOPDIR)/apps-or-nuttx-Make.defs
include chip/Make.defs

ifeq ($(CONFIG_ARCH_INTEL64),y)
Expand Down
2 changes: 1 addition & 1 deletion arch/xtensa/src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#
############################################################################

include $(TOPDIR)/Make.defs
include $(TOPDIR)/apps-or-nuttx-Make.defs
include chip/Make.defs

ifeq ($(CONFIG_ARCH_FAMILY_LX6),y)
Expand Down
2 changes: 1 addition & 1 deletion arch/z16/src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#
############################################################################

include $(TOPDIR)/Make.defs
include $(TOPDIR)/apps-or-nuttx-Make.defs
include chip/Make.defs

COMPILER = ${shell basename "$(CC)"}
Expand Down
2 changes: 1 addition & 1 deletion arch/z80/src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

# Makefile fragments

include $(TOPDIR)/Make.defs
include $(TOPDIR)/apps-or-nuttx-Make.defs
include chip/Make.defs

# Compiler-Dependent Make: SDCC, Clang, or ZiLOG ZDS-II
Expand Down

0 comments on commit d1c427d

Please sign in to comment.