Skip to content

Commit

Permalink
Check for PREEMPT RT instead of just PREEMPT
Browse files Browse the repository at this point in the history
Ubuntu's kernel, for example, is built with PREEMPT_DYNAMIC
  • Loading branch information
JJL772 authored and marciodo committed Nov 27, 2024
1 parent 9263118 commit 3576914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion env.slac.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ if [ -z "$ARCH" ] ; then
MACH=`uname -m`
VERS=`uname -v`
REL=`uname -r`
if echo $VERS | grep -q PREEMPT ; then
if echo $VERS | grep -q "PREEMPT RT" ; then
if echo $REL | grep -q '4[.]14[.]139' ; then
ARCH=buildroot-2019.08-
elif echo $REL | grep -q '4[.]8[.]11' ; then
Expand Down

0 comments on commit 3576914

Please sign in to comment.