FreeBSD-upgrade revision 284090
1#/bin/sh
2# $FreeBSD: stable/10/sys/gnu/dts/FreeBSD-upgrade 284090 2015-06-06 18:03:36Z ian $
3#
4# These files are imported from Ian Campbell's git tree mirroring the linux
5# kernel.
6#
7# git clone git://xenbits.xen.org/people/ianc/device-tree-rebasing.git
8#
9# will grab the latest tree. It is imported into vendor/device-tree/dist and tagged
10# with the svn cp command, per the handbook.
11#
12# We only import those files from here that we know work with some kernel, rather than
13# all of them. This means we have an 'opt in' list rather than an 'opt out' list
14# that's more typical for FreeBSD. The opt-in list should be relative to the top level
15# directory (so a bunch of lines starting with src). We import src/$ARCH/foo into
16# sys/gnu/dts/$ARCH/foo with the goal being to use as many of these files as possible
17# unmodified for FreeBSD. This isn't always possible, but there are workarounds.
18#
19# This script should take care of all that the first time...
20
21s=svn+ssh://svn.freebsd.org/base/vendor/device-tree/dist/
22
23args=$(grep -v ^# FreeBSD-list | sed -e"s=^=$s=")
24svn cp -m "Initial import of DTS files from Linux" ${args} svn+ssh://svn.freebsd.org/base/head/sys/gnu/dts/arm
25