1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
4 # T2 SDE: package/*/dhcp/mipsel.patch.cross
5 # Copyright (C) 2015 - 2021 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 Now, this is a little bit of a quick & dirty hack. Somehow the CC_FOR_BUILD is not
18 set to our cross compiler, and thus the __mipsel__ check woudl not work.
20 Simply hardcode "mips" for now, in the hope to get away with it.
22 --- dhcp-4.4.2/bind/bind-9.11.14/config.guess.vanilla 2021-01-18 11:47:13.308974042 +0100
23 +++ dhcp-4.4.2/bind/bind-9.11.14/config.guess 2021-01-18 11:47:33.970975107 +0100
26 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
27 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
28 + echo "${UNAME_MACHINE}-unknown-linux-gnu" && exit 0
31 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}