SHA256
1
0
forked from pool/dtc
Dirk Mueller 2019-10-30 16:48:23 +00:00 committed by Git OBS Bridge
parent 907a080d05
commit c715f4783b

View File

@ -74,13 +74,14 @@ Python binding part.
%build
make %{?_smp_mflags} V=1 NO_PYTHON=1
python3 pylibfdt/setup.py build '--executable=/usr/bin/python3 -s'
cd pylibfdt
python3 setup.py build '--executable=/usr/bin/python3 -s'
%install
%make_install PREFIX=%{_prefix} LIBDIR=%{_libdir} NO_PYTHON=1
install -p -m 644 libfdt/libfdt_env.h %{buildroot}/%{_includedir}
rm -f %{buildroot}/%{_libdir}/*.a
pushd pylibfdt
cd pylibfdt
python3 setup.py install -O1 --force --root %{buildroot} --prefix %{_prefix}
%check