remove opi5 hack

This commit is contained in:
Pratham Patel 2023-10-15 22:34:38 +05:30
parent 4ee9b492cc
commit 674d848065
No known key found for this signature in database

View File

@ -102,11 +102,6 @@ cp -vr kernel-tfg/{configure-linux.sh,extra-configs} .
rm -rf kernel-tfg/ rm -rf kernel-tfg/
./configure-linux.sh ./configure-linux.sh
%if "%{name}" == "*opi5*"
sed -i 's@KBUILD_IMAGE := $(boot)/Image.gz@KBUILD_IMAGE := $(boot)/Image@' arch/arm64/Makefile
%global make_targets olddefconfig Image modules dtbs
%endif
%build %build
%{make} PYTHON=%{__python3} %{make_targets} %{make} PYTHON=%{__python3} %{make_targets}