Messages in this thread Patch in this message | | | Date | Sat, 31 Jul 2004 14:17:39 -0700 | From | William Lee Irwin III <> | Subject | Re: kbuild: Various updates for 2.6.8 |
| |
On Sat, Jul 31, 2004 at 09:58:38AM +0200, Sam Ravnborg wrote: > I have arranged with Andrew that he sucks my kbuild tree in -mm, > and this is the fist update I send direct to you. > The following set of patches has been in -mm for a few days now > with no complaints. Please include these before 2.6.8. > bk pull bk://linux-sam.bkbits.net/kbuild > The most important fix is the $LANG fix. Without this users > from .cz, .fr etc. cannot use menuconfig/xconfig with good result.
By any chance could you update make rpm so it respects the -j flags? Single-threaded make rpm is horrifically slow.
I'm using the patch below at the moment, but am not very particular as to the form of the solution.
-- wli
Index: sched-2.6.8-rc2-mm1/scripts/package/mkspec =================================================================== --- sched-2.6.8-rc2-mm1.orig/scripts/package/mkspec 2004-07-30 10:53:27.000000000 -0700 +++ sched-2.6.8-rc2-mm1/scripts/package/mkspec 2004-07-30 22:28:05.000000000 -0700 @@ -57,14 +57,14 @@ echo "%build" if ! $PREBUILT; then -echo "make clean && make" +echo "make clean && make %{_smp_mflags}" echo "" fi echo "%install" echo 'mkdir -p $RPM_BUILD_ROOT/boot $RPM_BUILD_ROOT/lib $RPM_BUILD_ROOT/lib/modules' -echo 'INSTALL_MOD_PATH=$RPM_BUILD_ROOT make modules_install' +echo 'INSTALL_MOD_PATH=$RPM_BUILD_ROOT make %{_smp_mflags} modules_install' echo 'cp $KBUILD_IMAGE $RPM_BUILD_ROOT'"/boot/vmlinuz-$VERSION.$PATCHLEVEL.$SUBLEVEL$EXTRAVERSION" echo 'cp System.map $RPM_BUILD_ROOT'"/boot/System.map-$VERSION.$PATCHLEVEL.$SUBLEVEL$EXTRAVERSION" - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |