Skip to content

Commit

Permalink
add march flag for mips (mips32r2) to support hypercall instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Fasano committed Feb 5, 2024
1 parent 996abe0 commit c2fd117
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ CC=arm-linux-musleabi-gcc make CFLAGS="-DCONFIG_ARM=1" libnvram.so -C /app
mv libnvram.so $SCRATCH/libnvram.so.armel
make clean

CC=mipsel-linux-musl-gcc make CFLAGS="-DCONFIG_MIPS=1" libnvram.so -C /app
CC=mipsel-linux-musl-gcc make CFLAGS="-DCONFIG_MIPS=1 -march=mips32r2" libnvram.so -C /app
mv libnvram.so $SCRATCH/libnvram.so.mipsel
make clean

CC=mipseb-linux-musl-gcc make CFLAGS="-DCONFIG_MIPS=1" libnvram.so -C /app
CC=mipseb-linux-musl-gcc make CFLAGS="-DCONFIG_MIPS=1 -march=mips32r2" libnvram.so -C /app
mv libnvram.so $SCRATCH/libnvram.so.mipseb
make clean

Expand Down

0 comments on commit c2fd117

Please sign in to comment.