mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
341e312ada
Add build infrastructure for RISC-V.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
(cherry picked from commit 50c05f6cd7
)
31 lines
733 B
Bash
31 lines
733 B
Bash
#!/bin/sh
|
|
. $TOPDIR/include/site/linux
|
|
ac_cv_c_littleendian=${ac_cv_c_littleendian=yes}
|
|
ac_cv_c_bigendian=${ac_cv_c_bigendian=no}
|
|
|
|
ac_cv_sizeof___int64=8
|
|
ac_cv_sizeof_char=1
|
|
ac_cv_sizeof_int=4
|
|
ac_cv_sizeof_int16_t=2
|
|
ac_cv_sizeof_int32_t=4
|
|
ac_cv_sizeof_int64_t=8
|
|
ac_cv_sizeof_long_int=8
|
|
ac_cv_sizeof_long_long=8
|
|
ac_cv_sizeof_long=8
|
|
ac_cv_sizeof_off_t=8
|
|
ac_cv_sizeof_short_int=2
|
|
ac_cv_sizeof_short=2
|
|
ac_cv_sizeof_size_t=8
|
|
ac_cv_sizeof_ssize_t=8
|
|
ac_cv_sizeof_u_int16_t=2
|
|
ac_cv_sizeof_u_int32_t=4
|
|
ac_cv_sizeof_u_int64_t=8
|
|
ac_cv_sizeof_uint16_t=2
|
|
ac_cv_sizeof_uint32_t=4
|
|
ac_cv_sizeof_uint64_t=8
|
|
ac_cv_sizeof_unsigned_int=4
|
|
ac_cv_sizeof_unsigned_long=8
|
|
ac_cv_sizeof_unsigned_long_long=8
|
|
ac_cv_sizeof_unsigned_short=2
|
|
ac_cv_sizeof_void_p=8
|