Create version_gen.h file for e2k

This commit is contained in:
Ilfat G 2022-04-05 16:12:03 +03:00
parent a9193aae33
commit c8058d415a
No known key found for this signature in database
GPG key ID: D5E884CA11E29755

View file

@ -65,6 +65,7 @@ sed -i 's/python2/python3/' pylibfdt/setup.py
%ifarch %{e2k}
# -MG is an unrecognized option for lcc
sed -i 's,-MG,,' Makefile
echo '#define DTC_VERSION "DTC %{version}"' > version_gen.h
%endif
%build