X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;h=2473bfa36d5f94ead4c19a736021070d7d4b69d0;hb=7262f28e90a6f6c9185c452b7b518a2332e4b7a7;hp=30594e80bb090feed779dc2f472a3629902a70ce;hpb=4698cc422b1be1cbc168b60dc34c48f539201dc4;p=linux-2.6.git diff --git a/Makefile b/Makefile index 30594e80b..2473bfa36 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,9 +86,10 @@ trees: sources srpm: sources mkdir -p SOURCES SRPMS (cd SOURCES; rpm2cpio ../$(SOURCE_RPM) | cpio -diu; \ - cp ../$(notdir $(SPECFILE)) . ; cp ../config-vserver . ; \ + 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) ./rpmmacros.sh export HOME=$(shell pwd) ; rpmbuild $(RPMDIRDEFS) $(RPMDEFS) --nodeps -bs $(SPECFILE) @@ -99,3 +100,4 @@ rpm: sources clean: rm -f *.rpm + rm -rf BUILDROOT SOURCES SPECS SRPMS kernel-2.6.32 tmp