use generic genimage buildroot script
This commit is contained in:
parent
5e955011fc
commit
9226b5aa5c
|
@ -1,12 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
BOARD_DIR="$( dirname "${0}" )"
|
|
||||||
MKIMAGE="${HOST_DIR}/bin/mkimage"
|
|
||||||
MKSWAP="${HOST_DIR}/sbin/mkswap"
|
|
||||||
BOOT_CMD="${BOARD_DIR}/boot.cmd"
|
|
||||||
BOOT_CMD_H="${BINARIES_DIR}/boot.scr"
|
|
||||||
|
|
||||||
# U-Boot script
|
|
||||||
"${MKIMAGE}" -C none -A arm -T script -d "${BOOT_CMD}" "${BOOT_CMD_H}"
|
|
||||||
|
|
||||||
# Swap
|
# Swap
|
||||||
sed -i '/^\/swap/d' "${TARGET_DIR}/etc/fstab"
|
sed -i '/^\/swap/d' "${TARGET_DIR}/etc/fstab"
|
||||||
|
|
Loading…
Reference in New Issue