Blame view

buildroot/buildroot-2016.08.1/package/p7zip/0001-bfin.patch 701 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  Add support for blackfin arch.
  
  Fixes compilation error:
  ../../../../CPP/myWindows/mySplitCommandLine.cpp:99:8: error: #error ENDIANNESS
  
  Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
  (Patch sent upstream: https://sourceforge.net/p/p7zip/patches/33/
  
  diff -uNr p7zip_15.14.1.org/C/CpuArch.h p7zip_15.14.1/C/CpuArch.h
  --- p7zip_15.14.1.org/C/CpuArch.h	2016-02-17 07:27:16.000000000 +0100
  +++ p7zip_15.14.1/C/CpuArch.h	2016-06-08 19:47:49.000000000 +0200
  @@ -66,6 +66,7 @@
       || defined(__MIPSEL__) \
       || defined(__MIPSEL) \
       || defined(_MIPSEL) \
  +    || defined(__BFIN__) \
       || (defined(__BYTE_ORDER__) && (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__))
     #define MY_CPU_LE
   #endif