Use INSTALL_FIRMWARE_PATH
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
This commit is contained in:
parent
c68ea61e82
commit
7dbb432473
@ -35,12 +35,18 @@ This is only for QEMU RISC-V virt machine.
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make PLATFORM=generic
|
make \
|
||||||
|
PLATFORM=generic
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make PLATFORM=generic I=%{buildroot} INSTALL_LIB_PATH=lib64 install
|
make \
|
||||||
|
PLATFORM=generic \
|
||||||
|
I=%{buildroot} \
|
||||||
|
INSTALL_LIB_PATH=lib64 \
|
||||||
|
INSTALL_FIRMWARE_PATH=%{_datadir}/%{name} \
|
||||||
|
install
|
||||||
|
|
||||||
mv %{buildroot}%{_datadir}/opensbi %{buildroot}%{_datadir}/%{name}
|
|
||||||
|
|
||||||
rm -rfv %{buildroot}/lib64
|
rm -rfv %{buildroot}/lib64
|
||||||
rm -rfv %{buildroot}/include
|
rm -rfv %{buildroot}/include
|
||||||
|
Loading…
Reference in New Issue
Block a user