SPECS (LINUX_2_6): kernel.spec - added kernel-config.py support

zbyniu zbyniu at pld-linux.org
Thu Oct 11 00:47:48 CEST 2007


Author: zbyniu                       Date: Wed Oct 10 22:47:48 2007 GMT
Module: SPECS                         Tag: LINUX_2_6
---- Log message:
- added kernel-config.py support

---- Files affected:
SPECS:
   kernel.spec (1.441.2.1798 -> 1.441.2.1799) 

---- Diffs:

================================================================
Index: SPECS/kernel.spec
diff -u SPECS/kernel.spec:1.441.2.1798 SPECS/kernel.spec:1.441.2.1799
--- SPECS/kernel.spec:1.441.2.1798	Wed Oct 10 11:48:32 2007
+++ SPECS/kernel.spec	Thu Oct 11 00:47:42 2007
@@ -168,6 +168,7 @@
 Source3:	kernel-autoconf.h
 Source4:	kernel-config.h
 Source5:	kernel-ppclibs.Makefile
+Source6:	kernel-config.py
 Source7:	kernel-module-build.pl
 
 # TODO - cleanup
@@ -370,6 +371,8 @@
 # for hostname command
 BuildRequires:	net-tools
 BuildRequires:	perl-base
+BuildRequires:	python
+BuildRequires:	python-modules
 BuildRequires:	rpmbuild(macros) >= 1.217
 Autoreqprov:	no
 Requires(post):	coreutils
@@ -744,6 +747,8 @@
 %{__bzip2} -dc %{SOURCE1} | patch -p1 -s
 %endif
 
+install -m 755 %{SOURCE6} .
+
 # suspend2:
 %if %{with suspend2}
 ##ifarch %{ix86} %{x8664} ia64 ppc alpha
@@ -1075,6 +1080,8 @@
 	KernelVer=%{kernel_release}
 	echo "Building config file using $Config.conf..."
 	cat $RPM_SOURCE_DIR/kernel-$Config.config > arch/%{_target_base_arch}/defconfig
+	./kernel-config.py %{_target_base_arch} $RPM_SOURCE_DIR/kernel-multiarch.config \
+		arch/%{_target_base_arch}/defconfig arch/%{_target_base_arch}/defconfig
 	TuneUpConfigForIX86 arch/%{_target_base_arch}/defconfig
 
 ## Temporary disabled - we should have the proper config files in defconfig loaded
@@ -1650,6 +1657,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.441.2.1799  2007/10/10 22:47:42  zbyniu
+- added kernel-config.py support
+
 Revision 1.441.2.1798  2007/10/10 09:48:32  zbyniu
 - up to 2.6.23 final; squashfs is back; linux-alpha-isa.patch in sources
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/kernel.spec?r1=1.441.2.1798&r2=1.441.2.1799&f=u



More information about the pld-cvs-commit mailing list