Skip to content

Commit 29b6271

Browse files
authored
Merge pull request #78 from riscv/build32
Add 32-bit build
2 parents 31e5b53 + 21e06e1 commit 29b6271

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.travis.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
language: c
22
dist: trusty
33

4+
matrix:
5+
include:
6+
- os: linux
7+
env: BUILD=x86_64-linux-gnu
8+
9+
- os: linux
10+
env: BUILD=i686-linux-gnu CFLAGS=-m32
11+
addons:
12+
apt:
13+
packages:
14+
- gcc-multilib
15+
416
script:
517
- ./bootstrap && ./configure && make
18+
- file src/openocd

src/target/mips32_pracc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ int mips32_cp0_read(struct mips_ejtag *ejtag_info,
114114
int mips32_cp0_write(struct mips_ejtag *ejtag_info,
115115
uint32_t val, uint32_t cp0_reg, uint32_t cp0_sel);
116116

117-
inline void pracc_swap16_array(struct mips_ejtag *ejtag_info, uint32_t *buf, int count)
117+
static inline void pracc_swap16_array(struct mips_ejtag *ejtag_info, uint32_t *buf, int count)
118118
{
119119
if (ejtag_info->isa && ejtag_info->endianness)
120120
for (int i = 0; i != count; i++)

0 commit comments

Comments
 (0)