]> git.kernelconcepts.de Git - karo-tx-uboot.git/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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:37:17 +0000 (22:37 +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[((