mirror of https://github.com/F5OEO/rpitx
Merge pull request #329 from betterpagesol/master
Added fix for Raspbian 12 and minor edits to the Makefile for clean and install
This commit is contained in:
commit
ee7ff57b77
|
|
@ -38,7 +38,13 @@ read -r CONT
|
|||
if [ "$CONT" = "y" ]; then
|
||||
echo "Set GPU to 250Mhz in order to be stable"
|
||||
LINE='gpu_freq=250'
|
||||
if [ ! -f /boot/firmware/config.txt ]; then
|
||||
echo "Raspbian 11 or below detected using /boot/config.txt"
|
||||
FILE='/boot/config.txt'
|
||||
else
|
||||
echo "Raspbian 12 detected using /boot/firmware/config.txt"
|
||||
FILE='/boot/firmware/config.txt'
|
||||
fi
|
||||
grep -qF "$LINE" "$FILE" || echo "$LINE" | sudo tee --append "$FILE"
|
||||
#PI4
|
||||
LINE='force_turbo=1'
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ CFLAGS_Pidcf77 = -Wall -g -O2 -Wno-unused-variable
|
|||
../pidcf77 : ../dcf77/pidcf77.c
|
||||
$(CC) $(CFLAGS_Piam) -o ../pidcf77 ../dcf77/pidcf77.c $(LDFLAGS)
|
||||
clean:
|
||||
rm -f ../dvbrf ../sendiq ../pissb ../pisstv ../pifsq ../pifm ../piam ../pidcf77 ../pichirp ../tune ../freedv ../piopera ../spectrumpaint ../pocsag ../pifmrds ../rpitx ../sendook
|
||||
rm -f ../dvbrf ../sendiq ../pissb ../pisstv ../pifsq ../pifm ../piam ../pidcf77 ../pichirp ../tune ../freedv ../piopera ../spectrumpaint ../pocsag ../pifmrds ../rpitx ../sendook ../foxhunt ../morse ../pift8
|
||||
|
||||
install: all
|
||||
install -m 0755 ../pisstv $(INSTALL_DIR)
|
||||
|
|
@ -109,3 +109,9 @@ install: all
|
|||
install -m 0755 ../sendook $(INSTALL_DIR)
|
||||
install -m 0755 ../dvbrf $(INSTALL_DIR)
|
||||
install -m 0755 ../pifmrds $(INSTALL_DIR)
|
||||
install -m 0755 ../pocsag $(INSTALL_DIR)
|
||||
install -m 0755 ../pissb $(INSTALL_DIR)
|
||||
install -m 0755 ../piam $(INSTALL_DIR)
|
||||
install -m 0755 ../pidcf77 $(INSTALL_DIR)
|
||||
install -m 0755 ../spectrumpaint $(INSTALL_DIR)
|
||||
install -m 0755 ../morse $(INSTALL_DIR)
|
||||
|
|
|
|||
Loading…
Reference in New Issue