1262591Simp#/bin/sh 2262591Simp# $FreeBSD$ 3262591Simp# 4262591Simp# These files are imported from Ian Campbell's git tree mirroring the linux 5262591Simp# kernel. 6262591Simp# 7262591Simp# git clone git://xenbits.xen.org/people/ianc/device-tree-rebasing.git 8262591Simp# 9262591Simp# will grab the latest tree. It is imported into vendor/device-tree/dist and tagged 10262591Simp# with the svn cp command, per the handbook. 11262591Simp# 12262591Simp# We only import those files from here that we know work with some kernel, rather than 13262591Simp# all of them. This means we have an 'opt in' list rather than an 'opt out' list 14262591Simp# that's more typical for FreeBSD. The opt-in list should be relative to the top level 15262591Simp# directory (so a bunch of lines starting with src). We import src/$ARCH/foo into 16273712Sian# sys/gnu/dts/$ARCH/foo with the goal being to use as many of these files as possible 17262591Simp# unmodified for FreeBSD. This isn't always possible, but there are workarounds. 18262591Simp# 19262591Simp# This script should take care of all that the first time... 20262591Simp 21262593Simps=svn+ssh://svn.freebsd.org/base/vendor/device-tree/dist/ 22262591Simp 23262591Simpargs=$(grep -v ^# FreeBSD-list | sed -e"s=^=$s=") 24273712Siansvn cp -m "Initial import of DTS files from Linux" ${args} svn+ssh://svn.freebsd.org/base/head/sys/gnu/dts/arm 25