Skip to content

Commit 8e4a8bd

Browse files
committed
build.sh: handle ram bootdevice as emmc
1 parent 29dd9ae commit 8e4a8bd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ case $board in
106106
export ARCH=arm64
107107
export CROSS_COMPILE=${CCACHE}aarch64-linux-gnu-
108108

109-
if [[ "$device" =~ (emmc|spi-nand|spi-nor) ]];then
109+
if [[ "$device" =~ (emmc|spi-nand|spi-nor|ram) ]];then
110110
dev=emmc
111111
else
112112
dev=$device
@@ -130,7 +130,7 @@ case $board in
130130
export ARCH=arm64
131131
export CROSS_COMPILE=${CCACHE}aarch64-linux-gnu-
132132

133-
if [[ "$device" =~ (emmc|spi-nand|spi-nor) ]];then
133+
if [[ "$device" =~ (emmc|spi-nand|spi-nor|ram) ]];then
134134
dev=emmc
135135
else
136136
dev=$device
@@ -156,7 +156,7 @@ case $board in
156156
export ARCH=arm64
157157
export CROSS_COMPILE=${CCACHE}aarch64-linux-gnu-
158158

159-
if [[ "$device" =~ (emmc|spi-nand|spi-nor) ]];then
159+
if [[ "$device" =~ (emmc|spi-nand|spi-nor|ram) ]];then
160160
dev=emmc
161161
else
162162
dev=$device

0 commit comments

Comments
 (0)