VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
^1da177e4c3f4 (Linus Torvalds     2005-04-16 15:20:36 -0700  1) #!/bin/bash
b24413180f560 (Greg Kroah-Hartman 2017-11-01 15:07:57 +0100  2) # SPDX-License-Identifier: GPL-2.0
^1da177e4c3f4 (Linus Torvalds     2005-04-16 15:20:36 -0700  3) 
^1da177e4c3f4 (Linus Torvalds     2005-04-16 15:20:36 -0700  4) #
^1da177e4c3f4 (Linus Torvalds     2005-04-16 15:20:36 -0700  5) # Build U-Boot image when `mkimage' tool is available.
^1da177e4c3f4 (Linus Torvalds     2005-04-16 15:20:36 -0700  6) #
^1da177e4c3f4 (Linus Torvalds     2005-04-16 15:20:36 -0700  7) 
f03e1666d6164 (Uwe Kleine-König   2007-03-28 16:55:55 +0200  8) MKIMAGE=$(type -path "${CROSS_COMPILE}mkimage")
^1da177e4c3f4 (Linus Torvalds     2005-04-16 15:20:36 -0700  9) 
^1da177e4c3f4 (Linus Torvalds     2005-04-16 15:20:36 -0700 10) if [ -z "${MKIMAGE}" ]; then
8c7e4498adfdb (Mike Frysinger     2007-02-14 00:32:54 -0800 11) 	MKIMAGE=$(type -path mkimage)
8c7e4498adfdb (Mike Frysinger     2007-02-14 00:32:54 -0800 12) 	if [ -z "${MKIMAGE}" ]; then
8c7e4498adfdb (Mike Frysinger     2007-02-14 00:32:54 -0800 13) 		# Doesn't exist
8c7e4498adfdb (Mike Frysinger     2007-02-14 00:32:54 -0800 14) 		echo '"mkimage" command not found - U-Boot images will not be built' >&2
bc91c9f313309 (Roland Stigge      2010-12-17 17:19:17 +0100 15) 		exit 1;
8c7e4498adfdb (Mike Frysinger     2007-02-14 00:32:54 -0800 16) 	fi
^1da177e4c3f4 (Linus Torvalds     2005-04-16 15:20:36 -0700 17) fi
^1da177e4c3f4 (Linus Torvalds     2005-04-16 15:20:36 -0700 18) 
^1da177e4c3f4 (Linus Torvalds     2005-04-16 15:20:36 -0700 19) # Call "mkimage" to create U-Boot image
^1da177e4c3f4 (Linus Torvalds     2005-04-16 15:20:36 -0700 20) ${MKIMAGE} "$@"