build: enable FPU in linux
This commit is contained in:
parent
32bde336d6
commit
328f2947e3
2
Makefile
2
Makefile
@ -83,7 +83,7 @@ $(bbl): $(pk_srcdir) $(vmlinux_stripped)
|
|||||||
cd $(pk_wrkdir) && $</configure \
|
cd $(pk_wrkdir) && $</configure \
|
||||||
--host=$(target) \
|
--host=$(target) \
|
||||||
--with-payload=$(vmlinux_stripped)
|
--with-payload=$(vmlinux_stripped)
|
||||||
CFLAGS="-mabi=lp64 -march=rv64imac -DDISABLED_HART_MASK=1" $(MAKE) -C $(pk_wrkdir)
|
CFLAGS="-mabi=lp64d -march=rv64imafdc -DDISABLED_HART_MASK=1" $(MAKE) -C $(pk_wrkdir)
|
||||||
|
|
||||||
$(bin): $(bbl)
|
$(bin): $(bbl)
|
||||||
$(target)-objcopy -S -O binary --change-addresses -0x80000000 $< $@
|
$(target)-objcopy -S -O binary --change-addresses -0x80000000 $< $@
|
||||||
|
Loading…
Reference in New Issue
Block a user