|
@@ -3,14 +3,13 @@
|
|
# genimage will need to find the extlinux.conf
|
|
# genimage will need to find the extlinux.conf
|
|
# in the binaries directory
|
|
# in the binaries directory
|
|
|
|
|
|
-BOARD_DIR="$(dirname $0)"
|
|
|
|
-CONSOLE=$2
|
|
|
|
-ROOT=$3
|
|
|
|
|
|
+CONSOLE="$2"
|
|
|
|
+ROOT="$3"
|
|
|
|
|
|
mkdir -p "${BINARIES_DIR}"
|
|
mkdir -p "${BINARIES_DIR}"
|
|
cat <<-__HEADER_EOF > "${BINARIES_DIR}/extlinux.conf"
|
|
cat <<-__HEADER_EOF > "${BINARIES_DIR}/extlinux.conf"
|
|
label linux
|
|
label linux
|
|
kernel /Image
|
|
kernel /Image
|
|
devicetree /system.dtb
|
|
devicetree /system.dtb
|
|
- append console=${CONSOLE} root=/dev/${ROOT} rw rootwait
|
|
|
|
|
|
+ append console="${CONSOLE}" root="/dev/${ROOT}" rw rootwait
|
|
__HEADER_EOF
|
|
__HEADER_EOF
|