Kernel build error
James David Lyons
lyons_dj at yahoo.com
Thu Aug 22 22:27:26 AEST 2019
I'm have trouble building the latest stabe kernel linux-5.2.9 on Debian
10 ppc
uname -r
4.16.0-1-powerpc64
CC kernel/iomem.o
CC kernel/rseq.o
AR kernel/built-in.a
make[2]: *** [debian/rules:6: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit
status 2
make[1]: *** [scripts/package/Makefile:75: deb-pkg] Error 2
make: *** [Makefile:1422: deb-pkg] Error 2
I'm not sure if it's a problem with the Tabs or white spaces in the
debian/rules file or another issue. I ran into this before but don't
remember how I fixed it, or if I downloaded and oldeer kernel.
#!/usr/bin/make -f
srctree ?= .
build:
$(MAKE) KERNELRELEASE=5.2.9
ARCH=powerpc KBUILD_BUILD_VERSION=1 -f $(srctree)/Makefile
binary-arch:
$(MAKE) KERNELRELEASE=5.2.9
ARCH=powerpc KBUILD_BUILD_VERSION=1 -f $(srctree)/Makefile
intdeb-pkg
clean:
rm -rf debian/*tmp debian/files
$(MAKE) clean
binary: binary-arch
Anyone know how to fix this, or what the error means?
More information about the Linuxppc-dev
mailing list