Skip to content

Commit

Permalink
Make sure rgbmatrix can work on older Pi's
Browse files Browse the repository at this point in the history
  • Loading branch information
dkulp committed Dec 4, 2024
1 parent 11e671e commit 5d23f0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/makefiles/modules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ ifeq '$(ARCH)' 'Raspberry Pi'
../external/rpi-rgb-led-matrix/lib/librgbmatrix.a: ../external/rpi-rgb-led-matrix/.git $(PCH_FILE)
@echo "Building rpi-rgb-led-matrix library"
@if [ -e ../external/rpi-rgb-led-matrix/lib/librgbmatrix.so ]; then rm ../external/rpi-rgb-led-matrix/lib/librgbmatrix.so; fi
@sed -i -e "s/-march=native//" ../external/rpi-rgb-led-matrix/lib/Makefile
@CC="ccache gcc" CXX="ccache g++" $(MAKE) -C ../external/rpi-rgb-led-matrix/lib/ librgbmatrix.a
@cd ../external/rpi-rgb-led-matrix/lib/ && git checkout -- Makefile

#############################################################################
# libws2811 on the Pi
Expand Down

0 comments on commit 5d23f0b

Please sign in to comment.