Bump for new kernel; Modify CLFAGS

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
This commit is contained in:
David Abdurachmanov 2019-09-24 08:36:50 +03:00
parent eed039ac94
commit 6680b0f7fc
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
2 changed files with 6 additions and 2 deletions

View File

@ -7,7 +7,7 @@ index b7204ed..c69639e 100644
OBJCOPY=${CROSSCOMPILE}objcopy
OBJDUMP=${CROSSCOMPILE}objdump
-CFLAGS=-I. -O2 -ggdb -march=rv64imafdc -mabi=lp64d -Wall -mcmodel=medany -mexplicit-relocs
+CFLAGS=-I. -O2 -ggdb -march=rv64imafdc -mabi=lp64d -Wall -mcmodel=medany -mexplicit-relocs -Wno-main
+CFLAGS=-I. -O2 -ggdb -march=rv64imafdc -mabi=lp64d -Wall -mcmodel=medany -mexplicit-relocs -Wno-main -no-pie -fno-PIE
CCASFLAGS=-I. -mcmodel=medany -mexplicit-relocs
LDFLAGS=-nostdlib -nostartfiles

View File

@ -4,7 +4,7 @@
Name: freedom-u540-c000-bootloader
Version: 2019.08.25.128f282
Release: 2%{?dist}
Release: 3%{?dist}
Summary: SiFive FU540 ZSBL and FSBL
License: Apache-2.0 | GPLv2+
@ -54,6 +54,10 @@ install -m 755 fsbl.bin %{buildroot}/boot/freedom-u540-c000-bootloader/unstable/
/boot/freedom-u540-c000-bootloader/unstable/{zsbl,fsbl}.bin
%changelog
* Tue Sep 24 2019 David Abdurachmanov <david.abdurachmanov@sifive.com> 2019.08.25.128f282-3
- Bump for new kernel
- Ensure CFLAGS incl. -no-pie -fno-PIE
* Mon Aug 26 2019 David Abdurachmanov <david.abdurachmanov@sifive.com> 2019.08.25.128f282-2
- Update FSBL DTB from upstream kernel