Skip to content

Commit

Permalink
od: gmenu2x: Add current board to opkPlatforms
Browse files Browse the repository at this point in the history
Update GMenu2X' init script to prepend the model code of the board to
the opkPlatforms config value, like it was previously already done for
the rg99.

Signed-off-by: Paul Cercueil <[email protected]>
  • Loading branch information
pcercuei committed Dec 10, 2023
1 parent e35a816 commit 201e8ea
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions board/opendingux/package/gmenu2x/gmenu2x.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ PLATFORMS=$(sed -n 's/^opkPlatforms="\(.*\)"$/\1/p' /usr/share/gmenu2x/gmenu2x.c

MODEL=$(sed -n 's/.*,\(.*\)ingenic.*/\1/p' /sys/firmware/devicetree/base/compatible)
case $MODEL in
rg99)
PLATFORMS=rg99,$PLATFORMS
rs90|gcw0)
;;
*)
PLATFORMS=$MODEL,$PLATFORMS
;;
esac

Expand Down

0 comments on commit 201e8ea

Please sign in to comment.