]> git.sur5r.net Git - u-boot/commitdiff
ARM: socfpga: do not add board directory to header search path
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 21 Apr 2015 11:38:18 +0000 (20:38 +0900)
committerMarek Vasut <marex@denx.de>
Thu, 7 May 2015 03:19:29 +0000 (05:19 +0200)
The compiler option "-Iboard/$(VENDOR)/$(BOARD)" just exists here
for iocsr_config.c to be able to include iocsr_config.h.

Use "..." instead of <...> to include a header in the same directory.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/cpu/armv7/socfpga/config.mk
board/altera/socfpga/iocsr_config.c

index 2a99c72aeb88adbdc592a1c2447fc769be39736f..3d18491577f2ec845787ffcd30c88c532e097062 100644 (file)
@@ -6,6 +6,3 @@
 ifndef CONFIG_SPL_BUILD
 ALL-y  += u-boot.img
 endif
-
-# Added for handoff support
-PLATFORM_RELFLAGS += -Iboard/$(VENDOR)/$(BOARD)
index c79aa6d566a7a6aba2c28d95a1b38f5929961b79..3b202b5b6871eaabf1c32ea7e126be7dbdaa78cc 100644 (file)
@@ -6,7 +6,7 @@
 
 /* This file is generated by Preloader Generator */
 
-#include <iocsr_config.h>
+#include "iocsr_config.h"
 
 #ifdef CONFIG_TARGET_SOCFPGA_CYCLONE5
 const unsigned long iocsr_scan_chain0_table[((