[Pkg-uml-commit] r270 - trunk/src/user-mode-linux/debian
Mattia Dongili
malattia at alioth.debian.org
Mon May 7 04:07:50 UTC 2007
Author: malattia
Date: 2007-05-07 04:07:49 +0000 (Mon, 07 May 2007)
New Revision: 270
Modified:
trunk/src/user-mode-linux/debian/rules
Log:
Add a couple of devel targets to ease kernel config update and managemet
Modified: trunk/src/user-mode-linux/debian/rules
===================================================================
--- trunk/src/user-mode-linux/debian/rules 2007-05-07 03:24:39 UTC (rev 269)
+++ trunk/src/user-mode-linux/debian/rules 2007-05-07 04:07:49 UTC (rev 270)
@@ -20,6 +20,23 @@
KBUILDVARS := CFLAGS_KERNEL=-O1
endif
+# development only targets
+#
+oldconfig: unpack
+ cp config.$(DEB_HOST_ARCH) $(kernel_dir)
+ make -C $(kernel_dir) oldconfig ARCH=um
+ cp config.$(DEB_HOST_ARCH) config.$(DEB_HOST_ARCH).oldconfig.old
+ cp $(kernel_dir)/.config config.$(DEB_HOST_ARCH)
+
+menuconfig: unpack
+ cp config.$(DEB_HOST_ARCH) $(kernel_dir)
+ make -C $(kernel_dir) menuconfig ARCH=um
+ cp config.$(DEB_HOST_ARCH) config.$(DEB_HOST_ARCH).menuconfig.old
+ cp $(kernel_dir)/.config config.$(DEB_HOST_ARCH)
+#
+# end development only targets
+
+
unpack: unpack-stamp
unpack-stamp:
tar -x --bzip2 -f /usr/src/linux-source-$(kernel_version).tar.bz2
More information about the Pkg-uml-commit
mailing list