You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
282 B
10 lines
282 B
#!/bin/sh
|
|
|
|
aarch64-linux-gnu-gcc -c src/bcenabler_patch.s -o /tmp/patch.o
|
|
aarch64-linux-gnu-objcopy -O binary -j .text /tmp/patch.o /tmp/patch.bin
|
|
|
|
# Must be smaller than a single page
|
|
bin2c -o gen/bcenabler_patch.h -n PatchRawData /tmp/patch.bin
|
|
|
|
rm /tmp/patch.o
|
|
rm /tmp/patch.bin
|