mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
Merged in alinjerpelea/nuttx (pull request #1015)
tools: unix: add support for common board folder
* tools: unix: add support for common board folder
this patch adds support for a common board folder and simplifies the code
and maintenance on boards that share the same code
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* cxd56xx: migration to a common folder
This is the first platform to be migrated to the new common folder
structure.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
committed by
Gregory Nutt
parent
cc945b00e0
commit
3ed844640d
+4
-9
@@ -1,5 +1,5 @@
|
||||
############################################################################
|
||||
# boards/arm/cxd56x/spresense/src/Makefile
|
||||
# boards/arm/cxd56x/spresense/src/Make.defs
|
||||
#
|
||||
# Copyright 2018 Sony Semiconductor Solutions Corporation
|
||||
#
|
||||
@@ -32,13 +32,6 @@
|
||||
#
|
||||
############################################################################
|
||||
|
||||
-include $(TOPDIR)/Make.defs
|
||||
|
||||
DEPPATH = --dep-path .
|
||||
|
||||
ASRCS =
|
||||
CSRCS =
|
||||
|
||||
CSRCS += cxd56_main.c
|
||||
CSRCS += cxd56_boot.c
|
||||
CSRCS += cxd56_clock.c
|
||||
@@ -133,4 +126,6 @@ ifeq ($(CONFIG_LCD_ILI9340),y)
|
||||
CSRCS += cxd56_ili9340.c
|
||||
endif
|
||||
|
||||
include $(TOPDIR)/boards/Board.mk
|
||||
DEPPATH += --dep-path board
|
||||
VPATH += :board
|
||||
CFLAGS += $(shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)arch$(DELIM)$(CONFIG_ARCH)$(DELIM)src$(DELIM)board$(DELIM)board)
|
||||
Reference in New Issue
Block a user