Skip to content

Commit

Permalink
Merge pull request #12 from rehosting/armhf
Browse files Browse the repository at this point in the history
add armhf target
  • Loading branch information
lacraig2 authored Jun 14, 2024
2 parents 76d4e79 + e370a91 commit bcb035f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ mv nvram.o $SCRATCH/nvram.o.armel
mv libnvram.so $SCRATCH/libnvram.so.armel
make clean

CC=arm-linux-musleabihf-gcc make CFLAGS="-DCONFIG_ARM=1 -mfloat-abi=hard" libnvram.so -C /app
mv nvram.o $SCRATCH/nvram.o.armelhf
mv libnvram.so $SCRATCH/libnvram.so.armelhf
make clean

CC=aarch64-linux-musl-gcc make CFLAGS="-DCONFIG_AARCH64=1" libnvram.so -C /app
mv nvram.o $SCRATCH/nvram.o.aarch64
mv libnvram.so $SCRATCH/libnvram.so.aarch64
Expand Down

0 comments on commit bcb035f

Please sign in to comment.