X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;h=4149dee2b19affb964a86cf206913b44a871cc33;hb=7aaeffe221d50217038450227d7f467015ec230f;hp=89d3e11a1bade95c9b6ad477904087a053ecc181;hpb=25f1eae35e636f9c0e7fbfdddd7a8dc5fa33b0da;p=linux-2.6.git diff --git a/Makefile b/Makefile index 89d3e11a1..4149dee2b 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ SHA1SUM = sha1sum SED = sed # this is passed on the command line as the full path to /SPECS/kernel.spec -SPECFILE = kernel.spec +SPECFILE = kernel-2.6.spec # Thierry - when called from within the build, PWD is /build PWD=$(shell pwd) @@ -86,11 +86,11 @@ trees: sources srpm: sources mkdir -p SOURCES SRPMS (cd SOURCES; rpm2cpio ../$(SOURCE_RPM) | cpio -diu; \ - cp ../$(notdir $(SPECFILE)) . ; cp ../config-vserver . ; cp ../config-planetlab .; \ + cp ../$(notdir $(SPECFILE)) . ; cp ../linux-*.patch .; cp ../config-vserver . ; cp ../config-planetlab .; \ for downloaded in $(SOURCEFILES) ; do cp ../$$downloaded . ; done ; \ cat config-vserver >> config-generic ; \ - cat config-planetlab >> config-generic ; \ - sed -i -e s,CONFIG_IPV6=m,CONFIG_IPV6=y, config-generic) + cat config-planetlab >> config-generic) + ./modify_rh_config.sh ./rpmmacros.sh export HOME=$(shell pwd) ; rpmbuild $(RPMDIRDEFS) $(RPMDEFS) --nodeps -bs $(SPECFILE)