Really minor fixes/cleanups.
authorDaniel Hokka Zakrisson <dhokka@cs.princeton.edu>
Sat, 2 Feb 2008 09:51:19 +0000 (09:51 +0000)
committerDaniel Hokka Zakrisson <dhokka@cs.princeton.edu>
Sat, 2 Feb 2008 09:51:19 +0000 (09:51 +0000)
Makefile
kernel-2.6.spec

index edc5038..e4239cb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ AWK     = awk
 MD5SUM = md5sum
 SED    = sed
 
-SPECFILE = kernel-2.6-planetlab.spec
+SPECFILE = kernel-2.6.spec
 
 # Thierry - when called from within the build, PWD is /build
 PWD=$(shell pwd)
index 8678389..857ebe5 100644 (file)
@@ -320,7 +320,7 @@ KERNEL_PREVIOUS=vanilla
   KERNEL_PREVIOUS=linux-%{kversion}-%1
 
 # This is where the patches get applied
-%if "0%{patchlevel}"
+%if 0%{?patchlevel}
 %ApplyPatch 0
 %endif
 
@@ -356,7 +356,7 @@ KERNEL_PREVIOUS=vanilla
 %endif
 
 # Run the mac80211 stuff in the kernel tree holding the last patch
-tar -xzf %{expand:%{PATCH600}}
+tar -xzf %{PATCH600}
 pushd mac80211-%{mac80211_version}
 mac80211_makeflags="KSRC=../$KERNEL_PREVIOUS"
 make $mac80211_makeflags modified
@@ -365,7 +365,7 @@ make $mac80211_makeflags patch_kernel
 popd
 
 # Untar iwlwifi in the same place - needs to be compiled later
-tar -xzf %{expand:%{PATCH601}}
+tar -xzf %{PATCH601}
 # the install target is broken: first it does not pass the right -b flag to depmod
 # second we do not need to invoke depmod at this stage anyway
 # let's add our own patch/stuff in this Makefile for manual install later on