You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2020/05/24 14:24:24 UTC

[incubator-nuttx] 02/03: build: Remove the unused BOARD_INCLUDE variable

This is an automated email from the ASF dual-hosted git repository.

gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 1caf21b18787eb5b3e4dbef1013c30dbb5579bd6
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Thu May 21 03:43:11 2020 +0800

    build: Remove the unused BOARD_INCLUDE variable
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 boards/arm/imxrt/imxrt1050-evk/kernel/Makefile             | 4 ----
 boards/arm/imxrt/imxrt1060-evk/kernel/Makefile             | 4 ----
 boards/arm/lc823450/lc823450-xgevk/kernel/Makefile         | 4 ----
 boards/arm/lpc17xx_40xx/lpc4088-devkit/kernel/Makefile     | 4 ----
 boards/arm/lpc17xx_40xx/lpc4088-quickstart/kernel/Makefile | 4 ----
 boards/arm/lpc17xx_40xx/open1788/kernel/Makefile           | 4 ----
 boards/arm/lpc17xx_40xx/pnev5180b/kernel/Makefile          | 4 ----
 boards/arm/lpc43xx/bambino-200e/kernel/Makefile            | 4 ----
 boards/arm/sam34/sam3u-ek/kernel/Makefile                  | 4 ----
 boards/arm/samv7/same70-xplained/kernel/Makefile           | 4 ----
 boards/arm/samv7/samv71-xult/kernel/Makefile               | 4 ----
 boards/arm/stm32/clicker2-stm32/kernel/Makefile            | 4 ----
 boards/arm/stm32/mikroe-stm32f4/kernel/Makefile            | 4 ----
 boards/arm/stm32/olimex-stm32-p407/kernel/Makefile         | 4 ----
 boards/arm/stm32/omnibusf4/kernel/Makefile                 | 4 ----
 boards/arm/stm32/stm3240g-eval/kernel/Makefile             | 4 ----
 boards/arm/stm32/stm32f4discovery/kernel/Makefile          | 4 ----
 boards/arm/stm32f7/stm32f746g-disco/kernel/Makefile        | 4 ----
 boards/arm/stm32f7/stm32f769i-disco/kernel/Makefile        | 4 ----
 boards/arm/stm32h7/nucleo-h743zi/kernel/Makefile           | 4 ----
 boards/arm/stm32h7/stm32h747i-disco/kernel/Makefile        | 4 ----
 boards/arm/stm32l4/stm32l476vg-disco/kernel/Makefile       | 4 ----
 boards/arm/stm32l4/stm32l4r9ai-disco/kernel/Makefile       | 4 ----
 boards/arm/tiva/lm3s6965-ek/kernel/Makefile                | 4 ----
 boards/risc-v/k210/maix-bit/kernel/Makefile                | 4 ----
 25 files changed, 100 deletions(-)

diff --git a/boards/arm/imxrt/imxrt1050-evk/kernel/Makefile b/boards/arm/imxrt/imxrt1050-evk/kernel/Makefile
index e8b0491..263e4d0 100644
--- a/boards/arm/imxrt/imxrt1050-evk/kernel/Makefile
+++ b/boards/arm/imxrt/imxrt1050-evk/kernel/Makefile
@@ -35,10 +35,6 @@
 
 include $(TOPDIR)/Make.defs
 
-# This is the directory for the board-specific header files
-
-BOARD_INCLUDE = $(TOPDIR)$(DELIM)boards$(DELIM)$(CONFIG_ARCH)$(DELIM)$(CONFIG_ARCH_CHIP)$(DELIM)$(CONFIG_ARCH_BOARD)$(DELIM)include
-
 # The entry point name (if none is provided in the .config file)
 
 CONFIG_USER_ENTRYPOINT ?= user_start
diff --git a/boards/arm/imxrt/imxrt1060-evk/kernel/Makefile b/boards/arm/imxrt/imxrt1060-evk/kernel/Makefile
index e849136..ba16621 100644
--- a/boards/arm/imxrt/imxrt1060-evk/kernel/Makefile
+++ b/boards/arm/imxrt/imxrt1060-evk/kernel/Makefile
@@ -35,10 +35,6 @@
 
 include $(TOPDIR)/Make.defs
 
-# This is the directory for the board-specific header files
-
-BOARD_INCLUDE = $(TOPDIR)$(DELIM)boards$(DELIM)$(CONFIG_ARCH)$(DELIM)$(CONFIG_ARCH_CHIP)$(DELIM)$(CONFIG_ARCH_BOARD)$(DELIM)include
-
 # The entry point name (if none is provided in the .config file)
 
 CONFIG_USER_ENTRYPOINT ?= user_start
diff --git a/boards/arm/lc823450/lc823450-xgevk/kernel/Makefile b/boards/arm/lc823450/lc823450-xgevk/kernel/Makefile
index b0b04cc..bc8d85b 100644
--- a/boards/arm/lc823450/lc823450-xgevk/kernel/Makefile
+++ b/boards/arm/lc823450/lc823450-xgevk/kernel/Makefile
@@ -37,10 +37,6 @@
 
 include $(TOPDIR)/Make.defs
 
-# This is the directory for the board-specific header files
-
-BOARD_INCLUDE = $(TOPDIR)$(DELIM)boards$(DELIM)$(CONFIG_ARCH)$(DELIM)$(CONFIG_ARCH_CHIP)$(DELIM)$(CONFIG_ARCH_BOARD)$(DELIM)include
-
 # The entry point name (if none is provided in the .config file)
 
 CONFIG_USER_ENTRYPOINT ?= user_start
diff --git a/boards/arm/lpc17xx_40xx/lpc4088-devkit/kernel/Makefile b/boards/arm/lpc17xx_40xx/lpc4088-devkit/kernel/Makefile
index 3730815..2bad499 100644
--- a/boards/arm/lpc17xx_40xx/lpc4088-devkit/kernel/Makefile
+++ b/boards/arm/lpc17xx_40xx/lpc4088-devkit/kernel/Makefile
@@ -35,10 +35,6 @@
 
 include $(TOPDIR)/Make.defs
 
-# This is the directory for the board-specific header files
-
-BOARD_INCLUDE = $(TOPDIR)$(DELIM)boards$(DELIM)$(CONFIG_ARCH)$(DELIM)$(CONFIG_ARCH_CHIP)$(DELIM)$(CONFIG_ARCH_BOARD)$(DELIM)include
-
 # The entry point name (if none is provided in the .config file)
 
 CONFIG_USER_ENTRYPOINT ?= user_start
diff --git a/boards/arm/lpc17xx_40xx/lpc4088-quickstart/kernel/Makefile b/boards/arm/lpc17xx_40xx/lpc4088-quickstart/kernel/Makefile
index 181badd..e35ac44 100644
--- a/boards/arm/lpc17xx_40xx/lpc4088-quickstart/kernel/Makefile
+++ b/boards/arm/lpc17xx_40xx/lpc4088-quickstart/kernel/Makefile
@@ -35,10 +35,6 @@
 
 include $(TOPDIR)/Make.defs
 
-# This is the directory for the board-specific header files
-
-BOARD_INCLUDE = $(TOPDIR)$(DELIM)boards$(DELIM)$(CONFIG_ARCH)$(DELIM)$(CONFIG_ARCH_CHIP)$(DELIM)$(CONFIG_ARCH_BOARD)$(DELIM)include
-
 # The entry point name (if none is provided in the .config file)
 
 CONFIG_USER_ENTRYPOINT ?= user_start
diff --git a/boards/arm/lpc17xx_40xx/open1788/kernel/Makefile b/boards/arm/lpc17xx_40xx/open1788/kernel/Makefile
index ded4536..a934f74 100644
--- a/boards/arm/lpc17xx_40xx/open1788/kernel/Makefile
+++ b/boards/arm/lpc17xx_40xx/open1788/kernel/Makefile
@@ -35,10 +35,6 @@
 
 include $(TOPDIR)/Make.defs
 
-# This is the directory for the board-specific header files
-
-BOARD_INCLUDE = $(TOPDIR)$(DELIM)boards$(DELIM)$(CONFIG_ARCH)$(DELIM)$(CONFIG_ARCH_CHIP)$(DELIM)$(CONFIG_ARCH_BOARD)$(DELIM)include
-
 # The entry point name (if none is provided in the .config file)
 
 CONFIG_USER_ENTRYPOINT ?= user_start
diff --git a/boards/arm/lpc17xx_40xx/pnev5180b/kernel/Makefile b/boards/arm/lpc17xx_40xx/pnev5180b/kernel/Makefile
index 6cd042f..b369b31 100644
--- a/boards/arm/lpc17xx_40xx/pnev5180b/kernel/Makefile
+++ b/boards/arm/lpc17xx_40xx/pnev5180b/kernel/Makefile
@@ -40,10 +40,6 @@
 
 include $(TOPDIR)/Make.defs
 
-# This is the directory for the board-specific header files
-
-BOARD_INCLUDE = $(TOPDIR)$(DELIM)boards$(DELIM)$(CONFIG_ARCH)$(DELIM)$(CONFIG_ARCH_CHIP)$(DELIM)$(CONFIG_ARCH_BOARD)$(DELIM)include
-
 # The entry point name (if none is provided in the .config file)
 
 CONFIG_USER_ENTRYPOINT ?= user_start
diff --git a/boards/arm/lpc43xx/bambino-200e/kernel/Makefile b/boards/arm/lpc43xx/bambino-200e/kernel/Makefile
index bfd23ca..5124d32 100644
--- a/boards/arm/lpc43xx/bambino-200e/kernel/Makefile
+++ b/boards/arm/lpc43xx/bambino-200e/kernel/Makefile
@@ -35,10 +35,6 @@
 
 include $(TOPDIR)/Make.defs
 
-# This is the directory for the board-specific header files
-
-BOARD_INCLUDE = $(TOPDIR)$(DELIM)boards$(DELIM)$(CONFIG_ARCH)$(DELIM)$(CONFIG_ARCH_CHIP)$(DELIM)$(CONFIG_ARCH_BOARD)$(DELIM)include
-
 # The entry point name (if none is provided in the .config file)
 
 CONFIG_USER_ENTRYPOINT ?= user_start
diff --git a/boards/arm/sam34/sam3u-ek/kernel/Makefile b/boards/arm/sam34/sam3u-ek/kernel/Makefile
index 05ef892..5e4ba2c 100644
--- a/boards/arm/sam34/sam3u-ek/kernel/Makefile
+++ b/boards/arm/sam34/sam3u-ek/kernel/Makefile
@@ -35,10 +35,6 @@
 
 include $(TOPDIR)/Make.defs
 
-# This is the directory for the board-specific header files
-
-BOARD_INCLUDE = $(TOPDIR)$(DELIM)boards$(DELIM)$(CONFIG_ARCH)$(DELIM)$(CONFIG_ARCH_CHIP)$(DELIM)$(CONFIG_ARCH_BOARD)$(DELIM)include
-
 # The entry point name (if none is provided in the .config file)
 
 CONFIG_USER_ENTRYPOINT ?= user_start
diff --git a/boards/arm/samv7/same70-xplained/kernel/Makefile b/boards/arm/samv7/same70-xplained/kernel/Makefile
index aec6a24..841a605 100644
--- a/boards/arm/samv7/same70-xplained/kernel/Makefile
+++ b/boards/arm/samv7/same70-xplained/kernel/Makefile
@@ -35,10 +35,6 @@
 
 include $(TOPDIR)/Make.defs
 
-# This is the directory for the board-specific header files
-
-BOARD_INCLUDE = $(TOPDIR)$(DELIM)boards$(DELIM)$(CONFIG_ARCH)$(DELIM)$(CONFIG_ARCH_CHIP)$(DELIM)$(CONFIG_ARCH_BOARD)$(DELIM)include
-
 # The entry point name (if none is provided in the .config file)
 
 CONFIG_USER_ENTRYPOINT ?= user_start
diff --git a/boards/arm/samv7/samv71-xult/kernel/Makefile b/boards/arm/samv7/samv71-xult/kernel/Makefile
index 4fa7108..4969f83 100644
--- a/boards/arm/samv7/samv71-xult/kernel/Makefile
+++ b/boards/arm/samv7/samv71-xult/kernel/Makefile
@@ -35,10 +35,6 @@
 
 include $(TOPDIR)/Make.defs
 
-# This is the directory for the board-specific header files
-
-BOARD_INCLUDE = $(TOPDIR)$(DELIM)boards$(DELIM)$(CONFIG_ARCH)$(DELIM)$(CONFIG_ARCH_CHIP)$(DELIM)$(CONFIG_ARCH_BOARD)$(DELIM)include
-
 # The entry point name (if none is provided in the .config file)
 
 CONFIG_USER_ENTRYPOINT ?= user_start
diff --git a/boards/arm/stm32/clicker2-stm32/kernel/Makefile b/boards/arm/stm32/clicker2-stm32/kernel/Makefile
index e3fa1be..0d9e827 100644
--- a/boards/arm/stm32/clicker2-stm32/kernel/Makefile
+++ b/boards/arm/stm32/clicker2-stm32/kernel/Makefile
@@ -35,10 +35,6 @@
 
 include $(TOPDIR)/Make.defs
 
-# This is the directory for the board-specific header files
-
-BOARD_INCLUDE = $(TOPDIR)$(DELIM)boards$(DELIM)$(CONFIG_ARCH)$(DELIM)$(CONFIG_ARCH_CHIP)$(DELIM)$(CONFIG_ARCH_BOARD)$(DELIM)include
-
 # The entry point name (if none is provided in the .config file)
 
 CONFIG_USER_ENTRYPOINT ?= user_start
diff --git a/boards/arm/stm32/mikroe-stm32f4/kernel/Makefile b/boards/arm/stm32/mikroe-stm32f4/kernel/Makefile
index 07e96cf..e95215e 100644
--- a/boards/arm/stm32/mikroe-stm32f4/kernel/Makefile
+++ b/boards/arm/stm32/mikroe-stm32f4/kernel/Makefile
@@ -35,10 +35,6 @@
 
 include $(TOPDIR)/Make.defs
 
-# This is the directory for the board-specific header files
-
-BOARD_INCLUDE = $(TOPDIR)$(DELIM)boards$(DELIM)$(CONFIG_ARCH)$(DELIM)$(CONFIG_ARCH_CHIP)$(DELIM)$(CONFIG_ARCH_BOARD)$(DELIM)include
-
 # The entry point name (if none is provided in the .config file)
 
 CONFIG_USER_ENTRYPOINT ?= user_start
diff --git a/boards/arm/stm32/olimex-stm32-p407/kernel/Makefile b/boards/arm/stm32/olimex-stm32-p407/kernel/Makefile
index 4407d9e..d1514ec 100644
--- a/boards/arm/stm32/olimex-stm32-p407/kernel/Makefile
+++ b/boards/arm/stm32/olimex-stm32-p407/kernel/Makefile
@@ -35,10 +35,6 @@
 
 include $(TOPDIR)/Make.defs
 
-# This is the directory for the board-specific header files
-
-BOARD_INCLUDE = $(TOPDIR)$(DELIM)boards$(DELIM)$(CONFIG_ARCH)$(DELIM)$(CONFIG_ARCH_CHIP)$(DELIM)$(CONFIG_ARCH_BOARD)$(DELIM)include
-
 # The entry point name (if none is provided in the .config file)
 
 CONFIG_USER_ENTRYPOINT ?= user_start
diff --git a/boards/arm/stm32/omnibusf4/kernel/Makefile b/boards/arm/stm32/omnibusf4/kernel/Makefile
index a774024..21b43f2 100644
--- a/boards/arm/stm32/omnibusf4/kernel/Makefile
+++ b/boards/arm/stm32/omnibusf4/kernel/Makefile
@@ -37,10 +37,6 @@
 
 include $(TOPDIR)/Make.defs
 
-# This is the directory for the board-specific header files
-
-BOARD_INCLUDE = $(TOPDIR)$(DELIM)boards$(DELIM)$(CONFIG_ARCH)$(DELIM)$(CONFIG_ARCH_CHIP)$(DELIM)$(CONFIG_ARCH_BOARD)$(DELIM)include
-
 # The entry point name (if none is provided in the .config file)
 
 CONFIG_USER_ENTRYPOINT ?= user_start
diff --git a/boards/arm/stm32/stm3240g-eval/kernel/Makefile b/boards/arm/stm32/stm3240g-eval/kernel/Makefile
index 9309338..1529a7a 100644
--- a/boards/arm/stm32/stm3240g-eval/kernel/Makefile
+++ b/boards/arm/stm32/stm3240g-eval/kernel/Makefile
@@ -35,10 +35,6 @@
 
 include $(TOPDIR)/Make.defs
 
-# This is the directory for the board-specific header files
-
-BOARD_INCLUDE = $(TOPDIR)$(DELIM)boards$(DELIM)$(CONFIG_ARCH)$(DELIM)$(CONFIG_ARCH_CHIP)$(DELIM)$(CONFIG_ARCH_BOARD)$(DELIM)include
-
 # The entry point name (if none is provided in the .config file)
 
 CONFIG_USER_ENTRYPOINT ?= user_start
diff --git a/boards/arm/stm32/stm32f4discovery/kernel/Makefile b/boards/arm/stm32/stm32f4discovery/kernel/Makefile
index 3cafbd4..7824359 100644
--- a/boards/arm/stm32/stm32f4discovery/kernel/Makefile
+++ b/boards/arm/stm32/stm32f4discovery/kernel/Makefile
@@ -35,10 +35,6 @@
 
 include $(TOPDIR)/Make.defs
 
-# This is the directory for the board-specific header files
-
-BOARD_INCLUDE = $(TOPDIR)$(DELIM)boards$(DELIM)$(CONFIG_ARCH)$(DELIM)$(CONFIG_ARCH_CHIP)$(DELIM)$(CONFIG_ARCH_BOARD)$(DELIM)include
-
 # The entry point name (if none is provided in the .config file)
 
 CONFIG_USER_ENTRYPOINT ?= user_start
diff --git a/boards/arm/stm32f7/stm32f746g-disco/kernel/Makefile b/boards/arm/stm32f7/stm32f746g-disco/kernel/Makefile
index 6daabfd..8b65176 100644
--- a/boards/arm/stm32f7/stm32f746g-disco/kernel/Makefile
+++ b/boards/arm/stm32f7/stm32f746g-disco/kernel/Makefile
@@ -35,10 +35,6 @@
 
 include $(TOPDIR)/Make.defs
 
-# This is the directory for the board-specific header files
-
-BOARD_INCLUDE = $(TOPDIR)$(DELIM)boards$(DELIM)$(CONFIG_ARCH)$(DELIM)$(CONFIG_ARCH_CHIP)$(DELIM)$(CONFIG_ARCH_BOARD)$(DELIM)include
-
 # The entry point name (if none is provided in the .config file)
 
 CONFIG_USER_ENTRYPOINT ?= user_start
diff --git a/boards/arm/stm32f7/stm32f769i-disco/kernel/Makefile b/boards/arm/stm32f7/stm32f769i-disco/kernel/Makefile
index 36c8a8d..55bff19 100644
--- a/boards/arm/stm32f7/stm32f769i-disco/kernel/Makefile
+++ b/boards/arm/stm32f7/stm32f769i-disco/kernel/Makefile
@@ -35,10 +35,6 @@
 
 include $(TOPDIR)/Make.defs
 
-# This is the directory for the board-specific header files
-
-BOARD_INCLUDE = $(TOPDIR)$(DELIM)boards$(DELIM)$(CONFIG_ARCH)$(DELIM)$(CONFIG_ARCH_CHIP)$(DELIM)$(CONFIG_ARCH_BOARD)$(DELIM)include
-
 # The entry point name (if none is provided in the .config file)
 
 CONFIG_USER_ENTRYPOINT ?= user_start
diff --git a/boards/arm/stm32h7/nucleo-h743zi/kernel/Makefile b/boards/arm/stm32h7/nucleo-h743zi/kernel/Makefile
index cab30e4..b71466e 100644
--- a/boards/arm/stm32h7/nucleo-h743zi/kernel/Makefile
+++ b/boards/arm/stm32h7/nucleo-h743zi/kernel/Makefile
@@ -35,10 +35,6 @@
 
 include $(TOPDIR)/Make.defs
 
-# This is the directory for the board-specific header files
-
-BOARD_INCLUDE = $(TOPDIR)$(DELIM)boards$(DELIM)$(CONFIG_ARCH)$(DELIM)$(CONFIG_ARCH_CHIP)$(DELIM)$(CONFIG_ARCH_BOARD)$(DELIM)include
-
 # The entry point name (if none is provided in the .config file)
 
 CONFIG_USER_ENTRYPOINT ?= user_start
diff --git a/boards/arm/stm32h7/stm32h747i-disco/kernel/Makefile b/boards/arm/stm32h7/stm32h747i-disco/kernel/Makefile
index 3626181..0382613 100644
--- a/boards/arm/stm32h7/stm32h747i-disco/kernel/Makefile
+++ b/boards/arm/stm32h7/stm32h747i-disco/kernel/Makefile
@@ -35,10 +35,6 @@
 
 include $(TOPDIR)/Make.defs
 
-# This is the directory for the board-specific header files
-
-BOARD_INCLUDE = $(TOPDIR)$(DELIM)boards$(DELIM)$(CONFIG_ARCH)$(DELIM)$(CONFIG_ARCH_CHIP)$(DELIM)$(CONFIG_ARCH_BOARD)$(DELIM)include
-
 # The entry point name (if none is provided in the .config file)
 
 CONFIG_USER_ENTRYPOINT ?= user_start
diff --git a/boards/arm/stm32l4/stm32l476vg-disco/kernel/Makefile b/boards/arm/stm32l4/stm32l476vg-disco/kernel/Makefile
index d97a811..334a99f 100644
--- a/boards/arm/stm32l4/stm32l476vg-disco/kernel/Makefile
+++ b/boards/arm/stm32l4/stm32l476vg-disco/kernel/Makefile
@@ -35,10 +35,6 @@
 
 include $(TOPDIR)/Make.defs
 
-# This is the directory for the board-specific header files
-
-BOARD_INCLUDE = $(TOPDIR)$(DELIM)boards$(DELIM)$(CONFIG_ARCH)$(DELIM)$(CONFIG_ARCH_CHIP)$(DELIM)$(CONFIG_ARCH_BOARD)$(DELIM)include
-
 # The entry point name (if none is provided in the .config file)
 
 CONFIG_USER_ENTRYPOINT ?= user_start
diff --git a/boards/arm/stm32l4/stm32l4r9ai-disco/kernel/Makefile b/boards/arm/stm32l4/stm32l4r9ai-disco/kernel/Makefile
index bfa6db5..5f9271f 100644
--- a/boards/arm/stm32l4/stm32l4r9ai-disco/kernel/Makefile
+++ b/boards/arm/stm32l4/stm32l4r9ai-disco/kernel/Makefile
@@ -35,10 +35,6 @@
 
 include $(TOPDIR)/Make.defs
 
-# This is the directory for the board-specific header files
-
-BOARD_INCLUDE = $(TOPDIR)$(DELIM)boards$(DELIM)$(CONFIG_ARCH)$(DELIM)$(CONFIG_ARCH_CHIP)$(DELIM)$(CONFIG_ARCH_BOARD)$(DELIM)include
-
 # The entry point name (if none is provided in the .config file)
 
 CONFIG_USER_ENTRYPOINT ?= user_start
diff --git a/boards/arm/tiva/lm3s6965-ek/kernel/Makefile b/boards/arm/tiva/lm3s6965-ek/kernel/Makefile
index 9b57d12..eb160b5 100644
--- a/boards/arm/tiva/lm3s6965-ek/kernel/Makefile
+++ b/boards/arm/tiva/lm3s6965-ek/kernel/Makefile
@@ -20,10 +20,6 @@
 
 include $(TOPDIR)/Make.defs
 
-# This is the directory for the board-specific header files
-
-BOARD_INCLUDE = $(TOPDIR)$(DELIM)boards$(DELIM)$(CONFIG_ARCH)$(DELIM)$(CONFIG_ARCH_CHIP)$(DELIM)$(CONFIG_ARCH_BOARD)$(DELIM)include
-
 # The entry point name (if none is provided in the .config file)
 
 CONFIG_USER_ENTRYPOINT ?= user_start
diff --git a/boards/risc-v/k210/maix-bit/kernel/Makefile b/boards/risc-v/k210/maix-bit/kernel/Makefile
index f6e35bb..1e9c514 100644
--- a/boards/risc-v/k210/maix-bit/kernel/Makefile
+++ b/boards/risc-v/k210/maix-bit/kernel/Makefile
@@ -20,10 +20,6 @@
 
 include $(TOPDIR)/Make.defs
 
-# This is the directory for the board-specific header files
-
-BOARD_INCLUDE = $(TOPDIR)$(DELIM)boards$(DELIM)$(CONFIG_ARCH)$(DELIM)$(CONFIG_ARCH_CHIP)$(DELIM)$(CONFIG_ARCH_BOARD)$(DELIM)include
-
 # The entry point name (if none is provided in the .config file)
 
 CONFIG_USER_ENTRYPOINT ?= user_start