Skip to content

Commit a55d4ae

Browse files
committed
kbuild: make binrpm-pkg always produce kernel-devel package
The generation of the kernel-devel package is disabled for binrpm-pkg presumably because it was quite big (>= 200MB) and took a long time to package. Commit fe66b5d ("kbuild: refactor kernel-devel RPM package and linux-headers Deb package") reduced the package size to 12MB, and now it is quick to build. It won't hurt to have binrpm-pkg generate it by default. If you want to skip the kernel-devel package generation, you can pass RPMOPTS='--without devel': $ make binrpm-pkg RPMOPTS='--without devel' Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nathan Chancellor <nathan@kernel.org> Tested-by: Nathan Chancellor <nathan@kernel.org>
1 parent 80bac83 commit a55d4ae

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

scripts/Makefile.package

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,6 @@ rpm-pkg srcrpm-pkg binrpm-pkg: rpmbuild/SPECS/kernel.spec
9494
$(if $(filter a b, $(build-type)), \
9595
--target $(UTS_MACHINE)-linux --build-in-place --noprep --define='_smp_mflags %{nil}' \
9696
$$(rpm -q rpm >/dev/null 2>&1 || echo --nodeps)) \
97-
$(if $(filter b, $(build-type)), \
98-
--without devel) \
9997
$(RPMOPTS))
10098

10199
# deb-pkg srcdeb-pkg bindeb-pkg

0 commit comments

Comments
 (0)