arm.subr (45d0192ef88cf5b03e69e622cefd99f4c4896eea) | arm.subr (86635d499298956e08e9ac8edc4bd8cdfa5e4587) |
---|---|
1#!/bin/sh 2#- 3# Copyright (c) 2015-2017 The FreeBSD Foundation 4# All rights reserved. 5# 6# Portions of this software were developed by Glen Barber 7# under sponsorship from the FreeBSD Foundation. 8# --- 13 unchanged lines hidden (view full) --- 22# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28# SUCH DAMAGE. 29# | 1#!/bin/sh 2#- 3# Copyright (c) 2015-2017 The FreeBSD Foundation 4# All rights reserved. 5# 6# Portions of this software were developed by Glen Barber 7# under sponsorship from the FreeBSD Foundation. 8# --- 13 unchanged lines hidden (view full) --- 22# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28# SUCH DAMAGE. 29# |
30# Common subroutines used to build arm SD card images. | 30# Common subroutines used to build arm, arm64, or RISC-V SD card images. |
31# 32# $FreeBSD$ 33# 34 35cleanup() { 36 if [ -c "${DESTDIR}/dev/null" ]; then 37 umount_loop ${DESTDIR}/dev 2>/dev/null 38 fi --- 221 unchanged lines hidden (view full) --- 260 sync 261 umount_loop ${CHROOTDIR}/${FATMOUNT} 262 umount_loop ${CHROOTDIR}/${UFSMOUNT} 263 chroot ${CHROOTDIR} rmdir ${FATMOUNT} 264 chroot ${CHROOTDIR} rmdir ${UFSMOUNT} 265} 266 267arm_install_uboot() { | 31# 32# $FreeBSD$ 33# 34 35cleanup() { 36 if [ -c "${DESTDIR}/dev/null" ]; then 37 umount_loop ${DESTDIR}/dev 2>/dev/null 38 fi --- 221 unchanged lines hidden (view full) --- 260 sync 261 umount_loop ${CHROOTDIR}/${FATMOUNT} 262 umount_loop ${CHROOTDIR}/${UFSMOUNT} 263 chroot ${CHROOTDIR} rmdir ${FATMOUNT} 264 chroot ${CHROOTDIR} rmdir ${UFSMOUNT} 265} 266 267arm_install_uboot() { |
268 # Override in the arm/KERNEL.conf file. | 268 # Override in the ${EMBEDDED_TARGET}/${BOARDNAME}.conf file. |
269 270 return 0 271} 272 273arm_do_quirk() { | 269 270 return 0 271} 272 273arm_do_quirk() { |
274 # Override in the arm{,64}/BOARD.conf file. | 274 # Override in the ${EMBEDDED_TARGET}/${BOARDNAME}.conf file. |
275} | 275} |