[Buildroot] [PATCH] [PATCH v2] p7zip: New package

Bernd Kuhls bernd.kuhls at t-online.de
Sun May 29 17:44:34 UTC 2016


Am Sun, 29 May 2016 18:28:19 +0200 schrieb André Hentschel:

> +	depends on BR2_i386 || BR2_x86_64 || \
> +		BR2_aarch64 || BR2_arm || BR2_armeb

Hi André,

I also tested with xtensa and microblazeel with success, please do not get
confused by the list of archs in C/CpuArch.h.

Lines 69 

|| (defined(__BYTE_ORDER__) && (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__))

and 85

|| (defined(__BYTE_ORDER__) && (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__))

are a major catch-all which however does not work out for blackfin.

Adding

|| defined(__BLACKFIN__)

around line 68 in C/CpuArch.h should be enough to fix the problem
because blackfin is little endian:

https://git.busybox.net/buildroot/tree/arch/Config.in.bfin#n69

Regards, Bernd




More information about the buildroot mailing list