Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-boundary-uboot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jack Humbert
reform-boundary-uboot
Commits
fc6a967a
Commit
fc6a967a
authored
6 years ago
by
Troy Kisky
Browse files
Options
Downloads
Patches
Plain Diff
make_boundary: add CROSS_COMPILE for nitrogen8m
Signed-off-by:
Troy Kisky
<
troy.kisky@boundarydevices.com
>
parent
70038f73
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
make_boundary
+20
-3
20 additions, 3 deletions
make_boundary
with
20 additions
and
3 deletions
make_boundary
+
20
−
3
View file @
fc6a967a
...
...
@@ -9,6 +9,15 @@ numsuccess=0;
numfailures=0;
for board in $boards ; do
if [ $board != "mx6qsabrelite" ] ; then
cnt=`sed -n "/CONFIG_ARCH_MX8M=/=" configs/${board}_defconfig`
if [ "${cnt}" != "" ] ; then
ARCH=arm64
CROSS_COMPILE=aarch64-linux-gnu-
else
ARCH=arm
CROSS_COMPILE=arm-linux-gnueabihf-
fi
make distclean ; make ${board}_defconfig
make all -j $jobs
if [ $? -ne 0 ]; then
...
...
@@ -16,8 +25,16 @@ for board in $boards ; do
echo -e "\n\n\n!!!!!!!! build failure for $board !!!!!!!!!!!!\n\n";
read line;
else
cp -fv u-boot.imx $savedir/u-boot.${board};
ls -l $savedir/u-boot.${board};
if [ "${ARCH}" == "arm64" ] ; then
cp -fv spl/u-boot-spl.bin $savedir/u-boot-spl.bin.${board};
cp -fv u-boot-nodtb.bin $savedir/u-boot-nodtb.bin.${board};
cp -fv u-boot.bin $savedir/u-boot.bin.${board};
cp -fv arch/arm/dts/imx8mq-${board}.dtb $savedir/
ls -l $savedir/u-boot.bin.${board};
else
cp -fv u-boot.imx $savedir/u-boot.${board};
ls -l $savedir/u-boot.${board};
fi
numsuccess=`expr $numsuccess + 1`;
fi
defcfg=$(sed -n -e's/.\{1,\}DEFCONFIG=\\"\(.\{1,\}\)\\""/\1/p' configs/${board}_defconfig)
...
...
@@ -28,5 +45,5 @@ for board in $boards ; do
numboards=`expr $numboards + 1`;
fi
done
make distclean
;
make distclean;
echo -e "\n\n\nbuilt for ${numboards} boards. ${numsuccess} succeeded and ${numfailures} failed";
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment