# For each kver release, start extra with an empty string, then count
# from 1 if changes are needed that require rebuilding the tarball.
-kver=2.6.21 extra=
+kver=2.6.21 extra=0++
-if unifdef /dev/null; then :; else
+if unifdef -Utest /dev/null; then :; else
echo unifdef is required >&2
exit 1
fi
function clean_ifdef {
#$1 = filename $2 = macro to -U
echo unifdefing $1 with -U$2
- unifdef $1 -U$2 > $1.deblob
+ unifdef -U$2 $1 > $1.deblob
check_changed $1
}
# For each kver release, start extra with an empty string, then count
# from 1 if changes are needed that require rebuilding the tarball.
-kver=2.6.22 extra=
+kver=2.6.22 extra=0++
-if unifdef /dev/null; then :; else
+if unifdef -Utest /dev/null; then :; else
echo unifdef is required >&2
exit 1
fi
function clean_ifdef {
#$1 = filename $2 = macro to -U
echo unifdefing $1 with -U$2
- unifdef $1 -U$2 > $1.deblob
+ unifdef -U$2 $1 > $1.deblob
check_changed $1
}
# from 1 if changes are needed that require rebuilding the tarball.
kver=2.6.23 extra=3++
-if unifdef /dev/null; then :; else
+if unifdef -Utest /dev/null; then :; else
echo unifdef is required >&2
exit 1
fi
function clean_ifdef {
#$1 = filename $2 = macro to -U
echo unifdefing $1 with -U$2
- unifdef $1 -U$2 > $1.deblob
+ unifdef -U$2 $1 > $1.deblob
check_changed $1
}
# from 1 if changes are needed that require rebuilding the tarball.
kver=2.6.24 extra=3++
-if unifdef /dev/null; then :; else
+if unifdef -Utest /dev/null; then :; else
echo unifdef is required >&2
exit 1
fi
function clean_ifdef {
#$1 = filename $2 = macro to -U
echo unifdefing $1 with -U$2
- unifdef $1 -U$2 > $1.deblob
+ unifdef -U$2 $1 > $1.deblob
check_changed $1
}
# from 1 if changes are needed that require rebuilding the tarball.
kver=2.6.25 extra=3++
-if unifdef /dev/null; then :; else
+if unifdef -Utest /dev/null; then :; else
echo unifdef is required >&2
exit 1
fi
function clean_ifdef {
#$1 = filename $2 = macro to -U
echo unifdefing $1 with -U$2
- unifdef $1 -U$2 > $1.deblob
+ unifdef -U$2 $1 > $1.deblob
check_changed $1
}
# from 1 if changes are needed that require rebuilding the tarball.
kver=2.6.26 extra=1++
-if unifdef /dev/null; then :; else
+if unifdef -Utest /dev/null; then :; else
echo unifdef is required >&2
exit 1
fi
function clean_ifdef {
#$1 = filename $2 = macro to -U
echo unifdefing $1 with -U$2
- unifdef $1 -U$2 > $1.deblob
+ unifdef -U$2 $1 > $1.deblob
check_changed $1
}