git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
disable module signing config option
[linux-2.6.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
30a24ab
..
e329d0c
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-10,7
+10,7
@@
SHA1SUM = sha1sum
SED = sed
# this is passed on the command line as the full path to <build>/SPECS/kernel.spec
SED = sed
# this is passed on the command line as the full path to <build>/SPECS/kernel.spec
-SPECFILE = kernel.spec
+SPECFILE = kernel
-2.6
.spec
# Thierry - when called from within the build, PWD is /build
PWD=$(shell pwd)
# Thierry - when called from within the build, PWD is /build
PWD=$(shell pwd)
@@
-86,10
+86,12
@@
trees: sources
srpm: sources
mkdir -p SOURCES SRPMS
(cd SOURCES; rpm2cpio ../$(SOURCE_RPM) | cpio -diu; \
srpm: sources
mkdir -p SOURCES SRPMS
(cd SOURCES; rpm2cpio ../$(SOURCE_RPM) | cpio -diu; \
- cp ../$(notdir $(SPECFILE)) . ; cp ../
Makefile.config . ; 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 ; \
for downloaded in $(SOURCEFILES) ; do cp ../$$downloaded . ; done ; \
cat config-vserver >> config-generic ; \
- sed -i -e s,CONFIG_IPV6=m,CONFIG_IPV6=y, config-generic)
+ cat config-planetlab >> config-generic ; \
+ sed -i -e s,CONFIG_IPV6=m,CONFIG_IPV6=y, config-generic ;\
+ sed -e -e s,CONFIG_MODULE_SIG=y,CONFIG_MODULE_SIG=n, config-generic-rhel)
./rpmmacros.sh
export HOME=$(shell pwd) ; rpmbuild $(RPMDIRDEFS) $(RPMDEFS) --nodeps -bs $(SPECFILE)
./rpmmacros.sh
export HOME=$(shell pwd) ; rpmbuild $(RPMDIRDEFS) $(RPMDEFS) --nodeps -bs $(SPECFILE)
@@
-99,3
+101,4
@@
rpm: sources
clean:
rm -f *.rpm
clean:
rm -f *.rpm
+ rm -rf BUILDROOT SOURCES SPECS SRPMS kernel-2.6.32 tmp