# 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.27 extra=1
+kver=2.6.27 extra=1++
fatal () {
echo "$@"
dummy_blob () {
#$1 = filename
if test -f $1; then
- fatal $1 exists, something is wrong
+ die $1 exists, something is wrong
elif test ! -f firmware/Makefile; then
- fatal firmware/Makefile does not exist, something is wrong
+ die firmware/Makefile does not exist, something is wrong
fi
clean_sed "s,`echo $1 | sed s,^firmware/,,`,\$(DEBLOBBED),g" \
clean_fw () {
#$1 = firmware text input, $2 = firmware output
if test ! -f $1; then
- fatal $1 does not exist, something is wrong
+ die $1 does not exist, something is wrong
elif test -f $2; then
- fatal $2 exists, something is wrong
+ die $2 exists, something is wrong
fi
clean_blob $1 -s 4
dummy_blob $2
drop_fw_file () {
#$1 = firmware text input, $2 = firmware output
if test ! -f $1; then
- fatal $1 does not exist, something is wrong
+ die $1 does not exist, something is wrong
elif test -f $2; then
- fatal $2 exists, something is wrong
+ die $2 exists, something is wrong
fi
clean_file $1
dummy_blob $2
dummy_blob () {
#$1 = filename
if test -f $1; then
- fatal $1 exists, something is wrong
+ die $1 exists, something is wrong
elif test ! -f firmware/Makefile; then
- fatal firmware/Makefile does not exist, something is wrong
+ die firmware/Makefile does not exist, something is wrong
fi
clean_sed "s,`echo $1 | sed s,^firmware/,,`,\$(DEBLOBBED),g" \
clean_fw () {
#$1 = firmware text input, $2 = firmware output
if test ! -f $1; then
- fatal $1 does not exist, something is wrong
+ die $1 does not exist, something is wrong
elif test -f $2; then
- fatal $2 exists, something is wrong
+ die $2 exists, something is wrong
fi
clean_blob $1 -s 4
dummy_blob $2
drop_fw_file () {
#$1 = firmware text input, $2 = firmware output
if test ! -f $1; then
- fatal $1 does not exist, something is wrong
+ die $1 does not exist, something is wrong
elif test -f $2; then
- fatal $2 exists, something is wrong
+ die $2 exists, something is wrong
fi
clean_file $1
dummy_blob $2
dummy_blob () {
#$1 = filename
if test -f $1; then
- fatal $1 exists, something is wrong
+ die $1 exists, something is wrong
elif test ! -f firmware/Makefile; then
- fatal firmware/Makefile does not exist, something is wrong
+ die firmware/Makefile does not exist, something is wrong
fi
clean_sed "s,`echo $1 | sed s,^firmware/,,`,\$(DEBLOBBED),g" \
clean_fw () {
#$1 = firmware text input, $2 = firmware output
if test ! -f $1; then
- fatal $1 does not exist, something is wrong
+ die $1 does not exist, something is wrong
elif test -f $2; then
- fatal $2 exists, something is wrong
+ die $2 exists, something is wrong
fi
clean_blob $1 -s 4
dummy_blob $2
drop_fw_file () {
#$1 = firmware text input, $2 = firmware output
if test ! -f $1; then
- fatal $1 does not exist, something is wrong
+ die $1 does not exist, something is wrong
elif test -f $2; then
- fatal $2 exists, something is wrong
+ die $2 exists, something is wrong
fi
clean_file $1
dummy_blob $2