blob: 9254cb8c4a35e8be307df03b47e6451339a4d535 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0-or-later
# rr-cache will be in the build, one level above 'linux', need
# to arrange this to get under the tree if this is to be autodone
# by others.
if [ -d "../rr-cache" ]; then
if [ -d ".git/rr-cache" ]; then
cp -r ../rr-cache/* .git/rr-cache
else
cp -r ../rr-cache .git
fi
fi
if [ -d "wrs/cfg/kernel-*-cache/rr-cache" ]; then
if [ -d ".git/rr-cache" ]; then
cp -r wrs/cfg/kernel-*-cache/rr-cache .git/rr-cache
else
cp -r wrs/cfg/kernel-*-cache/rr-cache .git
fi
fi
|