Skip to content

Commit

Permalink
Makefile: Update install to use same msd path as APT
Browse files Browse the repository at this point in the history
Install the msd/ files to /usr/share/rpiboot/msd rather than
/usr/share/rpiboot/
  • Loading branch information
timg236 committed Apr 10, 2024
1 parent 4ad2866 commit 20f22d1
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,15 @@ bin2c: bin2c.c
install: rpiboot
install -m 755 rpiboot /usr/bin/
install -d /usr/share/rpiboot
install -m 644 msd/bootcode.bin /usr/share/rpiboot/
install -m 644 msd/bootcode4.bin /usr/share/rpiboot/
install -m 644 msd/start.elf /usr/share/rpiboot/
install -m 644 msd/start4.elf /usr/share/rpiboot/
install -d /usr/share/rpiboot/msd
install -m 644 msd/bootcode.bin /usr/share/rpiboot/msd
install -m 644 msd/bootcode4.bin /usr/share/rpiboot/msd
install -m 644 msd/start.elf /usr/share/rpiboot/msd
install -m 644 msd/start4.elf /usr/share/rpiboot/msd

uninstall:
rm -f /usr/bin/rpiboot
rm -f /usr/share/rpiboot/bootcode.bin
rm -f /usr/share/rpiboot/bootcode4.bin
rm -f /usr/share/rpiboot/start.elf
rm -f /usr/share/rpiboot/start4.elf
rmdir --ignore-fail-on-non-empty /usr/share/rpiboot/
rm -rf /usr/share/rpiboot

clean:
rm -f rpiboot msd/*.h bin2c
Expand Down

0 comments on commit 20f22d1

Please sign in to comment.