Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ezynq
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
ezynq
Commits
bb56c8a1
Commit
bb56c8a1
authored
Sep 28, 2013
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
back to links
parent
82a3cce0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
24 deletions
+23
-24
install_uboot.sh
install_uboot.sh
+23
-24
No files found.
install_uboot.sh
View file @
bb56c8a1
...
@@ -61,32 +61,31 @@ if [ ! -h $EZYNQ ]; then
...
@@ -61,32 +61,31 @@ if [ ! -h $EZYNQ ]; then
ln
-s
$SCRIPTPATH
$EZYNQ
ln
-s
$SCRIPTPATH
$EZYNQ
fi
fi
#
echo
"Step 3b: Creating symbolic link for the 'ezynq' folder"
# echo "Step 3b: Creating symbolic link for the 'ezynq' folder"
if
[
!
-h
"
$CONFIGS
/
$EZYNQ
"
]
;
then
# if [ ! -h "$CONFIGS/$EZYNQ" ]; then
ln
-s
"
$UBOOT_TREE
/
$CONFIGS
/
$EZYNQ
"
$CONFIGS
# ln -s "$UBOOT_TREE/$CONFIGS/$EZYNQ" $CONFIGS
# fi
#
# echo "Step 3c: Creating symbolic links for separate files (a suffix is added to the originals)"
# for SRC in $(find $UBOOT_TREE -type f -not -path "$UBOOT_TREE/$CONFIGS/$EZYNQ/*")
# do
# LINK=$(echo $SRC | sed "s:^$UBOOT_TREE/::")
# #echo "$SRC | $LINK"
# if [ ! -h $LINK ]; then
# ln -s -S $SUFFIX $SRC $LINK
# fi
# done
echo
"Step 3b: Creating a patch file"
cd
..
if
[
!
-f
$PATCH_NAME
]
;
then
diff
-rubPB
"
$REPO_DIR_NAME
"
"
$UBOOT_TREE
"
>
"
$PATCH_NAME
"
fi
fi
echo
"Step 3c: Applying the patch"
echo
"Step 3c: Creating symbolic links for separate files (a suffix is added to the originals)"
cd
"
$REPO_DIR_NAME
"
for
SRC
in
$(
find
$UBOOT_TREE
-type
f
-not
-path
"
$UBOOT_TREE
/
$CONFIGS
/
$EZYNQ
/*"
)
patch
-r
-
-Np1
<
"../
$PATCH_NAME
"
do
chmod
+x makeuboot
LINK
=
$(
echo
$SRC
|
sed
"s:^
$UBOOT_TREE
/::"
)
#echo "$SRC | $LINK"
if
[
!
-h
$LINK
]
;
then
ln
-s
-S
$SUFFIX
$SRC
$LINK
fi
done
# echo "Step 3b: Creating a patch file"
# cd ..
# if [ ! -f $PATCH_NAME ]; then
# diff -rubPB "$REPO_DIR_NAME" "$UBOOT_TREE" > "$PATCH_NAME"
# fi
#
# echo "Step 3c: Applying the patch"
# cd "$REPO_DIR_NAME"
# patch -r - -Np1 < "../$PATCH_NAME"
# chmod +x makeuboot
echo
"Step 4: Creating initenv script"
echo
"Step 4: Creating initenv script"
if
[
-f
$INITENV
]
;
then
if
[
-f
$INITENV
]
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment