summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-03-29 23:54:44 +0700
committerhathach <[email protected]>2021-03-29 23:54:44 +0700
commit5a0c594c719a1bd86bf49ad60175be4d51154655 (patch)
tree29a0a6ffe648ff2ccd1bfdfe2cbe1a69ddbe5d37
parentae98a12cff649eec874f2de4f1f1af93375e2b6e (diff)
move rx63n into its own family
-rw-r--r--hw/bsp/rx63n/boards/gr_citrus/board.mk (renamed from hw/bsp/gr_citrus/board.mk)4
-rw-r--r--hw/bsp/rx63n/boards/gr_citrus/gr_citrus.c (renamed from hw/bsp/gr_citrus/gr_citrus.c)0
-rw-r--r--hw/bsp/rx63n/boards/gr_citrus/hwinit.c (renamed from hw/bsp/gr_citrus/hwinit.c)0
-rw-r--r--hw/bsp/rx63n/boards/gr_citrus/r5f5631fd.ld (renamed from hw/bsp/gr_citrus/r5f5631fd.ld)0
-rw-r--r--hw/bsp/rx63n/family.mk1
5 files changed, 3 insertions, 2 deletions
diff --git a/hw/bsp/gr_citrus/board.mk b/hw/bsp/rx63n/boards/gr_citrus/board.mk
index 9804f8350..e33f3b504 100644
--- a/hw/bsp/gr_citrus/board.mk
+++ b/hw/bsp/rx63n/boards/gr_citrus/board.mk
@@ -35,14 +35,14 @@ endif
MCU_DIR = hw/mcu/renesas/rx63n
# All source paths should be relative to the top level.
-LD_FILE = hw/bsp/$(BOARD)/r5f5631fd.ld
+LD_FILE = $(BOARD_PATH)/r5f5631fd.ld
SRC_C += \
src/portable/renesas/usba/dcd_usba.c \
$(MCU_DIR)/vects.c
INC += \
- $(TOP)/hw/bsp/$(BOARD) \
+ $(TOP)/$(BOARD_PATH) \
$(TOP)/$(MCU_DIR)
SRC_S += $(MCU_DIR)/start.S
diff --git a/hw/bsp/gr_citrus/gr_citrus.c b/hw/bsp/rx63n/boards/gr_citrus/gr_citrus.c
index aadd41391..aadd41391 100644
--- a/hw/bsp/gr_citrus/gr_citrus.c
+++ b/hw/bsp/rx63n/boards/gr_citrus/gr_citrus.c
diff --git a/hw/bsp/gr_citrus/hwinit.c b/hw/bsp/rx63n/boards/gr_citrus/hwinit.c
index 8245d7744..8245d7744 100644
--- a/hw/bsp/gr_citrus/hwinit.c
+++ b/hw/bsp/rx63n/boards/gr_citrus/hwinit.c
diff --git a/hw/bsp/gr_citrus/r5f5631fd.ld b/hw/bsp/rx63n/boards/gr_citrus/r5f5631fd.ld
index fa8142936..fa8142936 100644
--- a/hw/bsp/gr_citrus/r5f5631fd.ld
+++ b/hw/bsp/rx63n/boards/gr_citrus/r5f5631fd.ld
diff --git a/hw/bsp/rx63n/family.mk b/hw/bsp/rx63n/family.mk
new file mode 100644
index 000000000..d3c743ed1
--- /dev/null
+++ b/hw/bsp/rx63n/family.mk
@@ -0,0 +1 @@
+include $(TOP)/$(BOARD_PATH)/board.mk \ No newline at end of file