Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pmaports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
postmarketOS
pmaports
Commits
02435b0b
Unverified
Commit
02435b0b
authored
5 years ago
by
Martijn Braam
Committed by
Alexey Minnekhanov
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
temp/u-boot-rockpro64: new aport (MR 882)
parent
f9a19bab
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
temp/u-boot-rockpro64/APKBUILD
+36
-0
36 additions, 0 deletions
temp/u-boot-rockpro64/APKBUILD
with
36 additions
and
0 deletions
temp/u-boot-rockpro64/APKBUILD
0 → 100644
+
36
−
0
View file @
02435b0b
# U-boot RC built for rk3399, can be upstreamed to alpine soon when 2020.04 is released
pkgname
=
u-boot-rockpro64
pkgver
=
2020.04_rc3
pkgrel
=
0
pkgdesc
=
"u-boot bootloader for the rk3399"
url
=
"https://gitlab.com/pine64-org/u-boot"
arch
=
"aarch64"
license
=
"GPL-2.0-or-later OFL-1.1 BSD-2-Clause BSD-3-Clause eCos-2.0 IBM-pibs
ISC LGPL-2.0-only LGPL-2.1-only X11"
makedepends
=
"
$depends_dev
bc dtc python3-dev swig bison flex openssl-dev arm-trusted-firmware-rk3399"
options
=
"!check"
source
=
"
ftp://ftp.denx.de/pub/u-boot/u-boot-
${
pkgver
//_/-
}
.tar.bz2
"
builddir
=
"
$srcdir
"
/u-boot-
${
pkgver
//_/-
}
build
()
{
touch
include/config.h
LC_ALL
=
C
date
+
'#define U_BOOT_DATE "%b %d %C%y"'
>
include/timestamp_autogenerated.h
LC_ALL
=
C
date
+
'#define U_BOOT_TIME "%T"'
>>
include/timestamp_autogenerated.h
export
BL31
=
"/usr/share/arm-trusted-firmware-rk3399/bl31.elf"
export
BUILD_DIR
=
"
$builddir
"
/build
mkdir
-p
"
$BUILD_DIR
"
make
O
=
"
$BUILD_DIR
"
HOSTCC
=
gcc
ARCH
=
arm rockpro64-rk3399_defconfig
make
O
=
"
$BUILD_DIR
"
HOSTCC
=
gcc
ARCH
=
arm all
}
package
()
{
install
-D
-m644
build/u-boot-rockchip.bin
\
"
$pkgdir
"
/usr/share/u-boot/pine64-rockpro64/u-boot-rockchip.bin
}
sha512sums
=
"6e617472bd38dd1f681db121bcb565abea7a15fcdb7a5920ec6dffd283d4a4580d81134768454a7c954ac7f5cbee8493879452991b6cf35de31afcd2d9448a11 u-boot-2020.04-rc3.tar.bz2"
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