build uncompressed ARM64 image for OPi5 since vendor's uboot is from 2017(!) and its "booti" supports only uncompressed kernel image
This commit is contained in:
parent
4a08df9c92
commit
080ccd95e9
@ -111,8 +111,12 @@ make olddefconfig
|
||||
# 2 means trouble
|
||||
diff .config .config.%{target_config} || echo "Diffing done"
|
||||
|
||||
%if "%{name}" == "*opi5*"
|
||||
sed -i 's@KBUILD_IMAGE := $(boot)/Image.gz@KBUILD_IMAGE := $(boot)/Image@' arch/arm64/Makefile
|
||||
%global make_targets Image modules dtbs
|
||||
%endif
|
||||
|
||||
%build
|
||||
#export LLVM=1 AR=llvm-ar CC=clang HOSTAR=llvm-ar HOSTCC=clang HOSTCXX=clang++ HOSTLD=ld.lld LD=ld.lld NM=llvm-nm OBJCOPY=llvm-objcopy OBJDUMP=llvm-objdump READELF=llvm-readelf STRIP=llvm-strip
|
||||
%{make} PYTHON=%{__python3} %{make_targets}
|
||||
|
||||
%install
|
||||
|
Loading…
Reference in New Issue
Block a user