Skip to content

redhat/Makefile.cross: Add CROSS_BASEONLY

Prarit Bhargava requested to merge prarit/kernel-ark:CROSS_BASEONLY into os-build

Add CROSS_BASEONLY variable, which when set adds an additional set of
--without options to the rpmbuild command.

ex) make CROSS_BASEONLY=1 dist-cross-s390x-build

results in

rpmbuild --define "_sourcedir /home/kernel-ark/redhat/rpm/SOURCES" --define "_builddir /home/kernel-ark/redhat/rpm/BUILD" --define "_srcrpmdir /home/kernel-ark/redhat/rpm/SRPMS" --define "_rpmdir /home/kernel-ark/redhat/rpm/RPMS" --define "_specdir /home/kernel-ark/redhat/rpm/SPECS" --define "dist .el9" --target s390x --with cross --without debuginfo --without bpftool --without perf --without tools --without libperf --without debug --without debuginfo --without vdso_install -bc /home/kernel-ark/redhat/rpm/SOURCES/kernel.spec

Signed-off-by: Prarit Bhargava prarit@redhat.com

Merge request reports