From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Tue, 14 Jun 2016 07:07:54 +0200 Subject: [U-Boot] arc: axs103 compile broken ? Message-ID: <575F912A.7070506@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Sjoerd, as I just write a tbot testcase, which checks patches, which moves a config option to Kconfig, I tested also to compile arc boards, and the first try immediately failed with: pollux:u-boot-dxr2 hs [master] $ make axs103_defconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/zconf.lex.c SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf # # configuration written to .config # pollux:u-boot-dxr2 hs [master] $ make -s -j8 all In file included from drivers/net/designware.c:21:0: drivers/net/designware.h:11:22: fatal error: asm/gpio.h: Datei oder Verzeichnis nicht gefunden #include ^ compilation terminated. scripts/Makefile.build:280: recipe for target 'drivers/net/designware.o' failed make[1]: *** [drivers/net/designware.o] Error 1 Makefile:1208: recipe for target 'drivers/net' failed make: *** [drivers/net] Error 2 make: *** Warte auf noch nicht beendete Prozesse... pollux:u-boot-dxr2 hs [master] $ looking into the git history of drivers/net/designware.c it seems to me, that the commit: commit 90b7fc924adf "net: designware: support phy reset device-tree bindings" added the missing include. $ find arch/arc/include/asm/ -name gpio.h $ I used the toolchain from: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2015.12 Some ideas? May I did something wrong? bye, Heiko -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany