board/minnowboard: remove support for minnowboard
authorArnout Vandecappelle <arnout@mind.be>
Wed, 1 Mar 2017 08:30:43 +0000 (09:30 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 5 Mar 2017 20:56:42 +0000 (21:56 +0100)
The scripts used for the minnowboards were generic for MinnowBoard and
MinnowBoard MAX. Since we removed the original MinnowBoard, this isn't
necessary anymore.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
board/minnowboard/grub-minnowboard-max.cfg [deleted file]
board/minnowboard/grub.cfg [new file with mode: 0644]
board/minnowboard/post-build.sh
configs/minnowboard_max-graphical_defconfig
configs/minnowboard_max_defconfig

diff --git a/board/minnowboard/grub-minnowboard-max.cfg b/board/minnowboard/grub-minnowboard-max.cfg
deleted file mode 100644 (file)
index 3d6feb7..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-set default="0"
-set timeout="5"
-
-menuentry "Buildroot" {
-       linux /bzImage root=/dev/mmcblk2p2 rootwait console=tty0 console=ttyS0,115200
-}
diff --git a/board/minnowboard/grub.cfg b/board/minnowboard/grub.cfg
new file mode 100644 (file)
index 0000000..3d6feb7
--- /dev/null
@@ -0,0 +1,6 @@
+set default="0"
+set timeout="5"
+
+menuentry "Buildroot" {
+       linux /bzImage root=/dev/mmcblk2p2 rootwait console=tty0 console=ttyS0,115200
+}
index 45f7b527f309cc28e164e98f93a442dd0913c175..24b8c0539ecad04159ac1befb26668939f932d54 100755 (executable)
@@ -1,8 +1,6 @@
 #!/bin/sh
-# args from BR2_ROOTFS_POST_SCRIPT_ARGS
-# $2    board name
 
-cp -v board/minnowboard/grub-${2}.cfg ${BINARIES_DIR}/efi-part/EFI/BOOT/grub.cfg
+cp -v board/minnowboard/grub.cfg ${BINARIES_DIR}/efi-part/EFI/BOOT/grub.cfg
 
 # Add a console on tty1
 if [ -e ${TARGET_DIR}/etc/inittab ]; then
index 1b95d8e5a16d89878b80b0e345ee3ab215e5ac99..ac363361ed05a7742cc6e6373efbd3064a10101f 100644 (file)
@@ -12,7 +12,6 @@ BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
 BR2_ROOTFS_OVERLAY="board/minnowboard/fs-overlay-graphical"
 BR2_ROOTFS_POST_BUILD_SCRIPT="board/minnowboard/post-build.sh"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/minnowboard/post-image.sh"
-BR2_ROOTFS_POST_SCRIPT_ARGS="minnowboard-max"
 
 # Host packages
 BR2_PACKAGE_HOST_DOSFSTOOLS=y
index 63190eaa48ffaed161399a39e6e2016e3ff0fcad..fe43b5287c28329573b5fdffa2cd71b6f1873a59 100644 (file)
@@ -6,7 +6,6 @@ BR2_x86_atom=y
 BR2_SYSTEM_DHCP="eth0"
 BR2_ROOTFS_POST_BUILD_SCRIPT="board/minnowboard/post-build.sh"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/minnowboard/post-image.sh"
-BR2_ROOTFS_POST_SCRIPT_ARGS="minnowboard-max"
 
 # Linux headers same as kernel, a 4.8 series
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8=y