mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
board/wandboard/post-build.sh: create boot.scr at TARGET_DIR/boot
There is no reason to create boot.scr at board/wandboard and later
install it at TARGET_DIR/boot, leaving a stale file behind.
Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit f14e95b3ff)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
bd389b52fb
commit
52b01679ea
@@ -2,7 +2,7 @@
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
|
||||
$HOST_DIR/bin/mkimage -A arm -O linux -T script -C none \
|
||||
-n "boot script" -d $BOARD_DIR/boot.scr.txt $BOARD_DIR/boot.scr
|
||||
install -d -m 755 $TARGET_DIR/boot
|
||||
|
||||
install -m 0644 -D $BOARD_DIR/boot.scr $TARGET_DIR/boot/boot.scr
|
||||
$HOST_DIR/bin/mkimage -A arm -O linux -T script -C none \
|
||||
-n "boot script" -d $BOARD_DIR/boot.scr.txt $TARGET_DIR/boot/boot.scr
|
||||
|
||||
Reference in New Issue
Block a user