Re: [PATCH 00/18] scripts: enable compilation on macOS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 27, 2019 at 11:57:26AM +0200, Ahmad Fatoum wrote:
> With this patch series applied, imx_v7_defconfig along with the host
> tools can be built on macOS. It should also pave the way for building
> on the BSDs. Currently it still fails on NetBSD though:
> 
> 	In file included from scripts/mod/modpost.c:15:0:
> 	scripts/mod/modpost.h:16:0: warning: "Elf_Ehdr" redefined
> 	 #define Elf_Ehdr    Elf32_Ehdr
> 	 ^
> 	In file included from scripts/mod/modpost.h:10:0,
> 			 from scripts/mod/modpost.c:15:
> 	/usr/include/elf.h:1093:0: note: this is the location of the previous definition
> 	 #define Elf_Ehdr Elf64_Ehdr
> 	 ^
> 
> Issues addressed in the series can be split into three groups:
> 
> - host tools depend on glibc or Linux headers
> 	replaced where appropriate with standard ISO/POSIX functionality
> - build depends on GNU utilites:
> 	only stat(1). fixed by importing the linux patch that uses ls
> 	instead.
> - endianness helpers
> 	These aren't (yet) POSIX-standardized, so I extended compiler.h
> 	to support macOS and the BSDs.
> 
> Only thing I can't yet compile is MXS_HOSTTOOLS, which depends on
> pkg-config finding OpenSSL, but I guess that's something I need to fix
> at my side.

Applied, thanks
 Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux