have_check=:
fi
-function clean_file {
+clean_file () {
#$1 = filename
if test ! -f $1; then
die $1 does not exist, something is wrong
rm -v $1
}
-function check_changed {
+check_changed () {
if test ! -f $1; then
die $1 does not exist, something is wrong
elif cmp $1.deblob $1 > /dev/null; then
mv $1.deblob $1
}
-function clean_blob {
+clean_blob () {
#$1 = filename
if $have_check; then
if test ! -f $1; then
fi
}
-function clean_kconfig {
+clean_kconfig () {
#$1 = filename $2 = things to remove
echo Marking config $2 as depending on NONFREE in $1
sed "/^config \\($2\\)\$/{p;i\
check_changed $1
}
-function clean_mk {
+clean_mk () {
#$1 = config $2 = Makefile name
# We don't clean up Makefiles any more --lxoliva
# sed -i "/\\($1\\)/d" $2
fi
}
-function clean_ifdef {
+clean_ifdef () {
#$1 = filename $2 = macro to -U
echo unifdefing $1 with -U$2
unifdef -U$2 $1 > $1.deblob
have_check=:
fi
-function clean_file {
+clean_file () {
#$1 = filename
if test ! -f $1; then
die $1 does not exist, something is wrong
rm -v $1
}
-function check_changed {
+check_changed () {
if test ! -f $1; then
die $1 does not exist, something is wrong
elif cmp $1.deblob $1 > /dev/null; then
mv $1.deblob $1
}
-function clean_blob {
+clean_blob () {
#$1 = filename
if $have_check; then
if test ! -f $1; then
fi
}
-function clean_kconfig {
+clean_kconfig () {
#$1 = filename $2 = things to remove
echo Marking config $2 as depending on NONFREE in $1
sed "/^config \\($2\\)\$/{p;i\
check_changed $1
}
-function clean_mk {
+clean_mk () {
#$1 = config $2 = Makefile name
# We don't clean up Makefiles any more --lxoliva
# sed -i "/\\($1\\)/d" $2
fi
}
-function clean_ifdef {
+clean_ifdef () {
#$1 = filename $2 = macro to -U
echo unifdefing $1 with -U$2
unifdef -U$2 $1 > $1.deblob
have_check=:
fi
-function clean_file {
+clean_file () {
#$1 = filename
if test ! -f $1; then
die $1 does not exist, something is wrong
rm -v $1
}
-function check_changed {
+check_changed () {
if test ! -f $1; then
die $1 does not exist, something is wrong
elif cmp $1.deblob $1 > /dev/null; then
mv $1.deblob $1
}
-function clean_blob {
+clean_blob () {
#$1 = filename
if $have_check; then
if test ! -f $1; then
fi
}
-function clean_kconfig {
+clean_kconfig () {
#$1 = filename $2 = things to remove
echo Marking config $2 as depending on NONFREE in $1
sed "/^config \\($2\\)\$/{p;i\
check_changed $1
}
-function clean_mk {
+clean_mk () {
#$1 = config $2 = Makefile name
# We don't clean up Makefiles any more --lxoliva
# sed -i "/\\($1\\)/d" $2
fi
}
-function clean_ifdef {
+clean_ifdef () {
#$1 = filename $2 = macro to -U
echo unifdefing $1 with -U$2
unifdef -U$2 $1 > $1.deblob
have_check=:
fi
-function clean_file {
+clean_file () {
#$1 = filename
if test ! -f $1; then
die $1 does not exist, something is wrong
rm -v $1
}
-function check_changed {
+check_changed () {
if test ! -f $1; then
die $1 does not exist, something is wrong
elif cmp $1.deblob $1 > /dev/null; then
mv $1.deblob $1
}
-function clean_blob {
+clean_blob () {
#$1 = filename
if $have_check; then
if test ! -f $1; then
fi
}
-function clean_kconfig {
+clean_kconfig () {
#$1 = filename $2 = things to remove
echo Marking config $2 as depending on NONFREE in $1
sed "/^config \\($2\\)\$/{p;i\
check_changed $1
}
-function clean_mk {
+clean_mk () {
#$1 = config $2 = Makefile name
# We don't clean up Makefiles any more --lxoliva
# sed -i "/\\($1\\)/d" $2
fi
}
-function clean_ifdef {
+clean_ifdef () {
#$1 = filename $2 = macro to -U
echo unifdefing $1 with -U$2
unifdef -U$2 $1 > $1.deblob
have_check=:
fi
-function clean_file {
+clean_file () {
#$1 = filename
if test ! -f $1; then
die $1 does not exist, something is wrong
rm -v $1
}
-function check_changed {
+check_changed () {
if test ! -f $1; then
die $1 does not exist, something is wrong
elif cmp $1.deblob $1 > /dev/null; then
mv $1.deblob $1
}
-function clean_blob {
+clean_blob () {
#$1 = filename
if $have_check; then
if test ! -f $1; then
fi
}
-function clean_kconfig {
+clean_kconfig () {
#$1 = filename $2 = things to remove
echo Marking config $2 as depending on NONFREE in $1
sed "/^config \\($2\\)\$/{p;i\
check_changed $1
}
-function clean_mk {
+clean_mk () {
#$1 = config $2 = Makefile name
# We don't clean up Makefiles any more --lxoliva
# sed -i "/\\($1\\)/d" $2
fi
}
-function clean_ifdef {
+clean_ifdef () {
#$1 = filename $2 = macro to -U
echo unifdefing $1 with -U$2
unifdef -U$2 $1 > $1.deblob
have_check=:
fi
-function clean_file {
+clean_file () {
#$1 = filename
if test ! -f $1; then
die $1 does not exist, something is wrong
rm -v $1
}
-function check_changed {
+check_changed () {
if test ! -f $1; then
die $1 does not exist, something is wrong
elif cmp $1.deblob $1 > /dev/null; then
mv $1.deblob $1
}
-function clean_blob {
+clean_blob () {
#$1 = filename
if $have_check; then
if test ! -f $1; then
fi
}
-function clean_kconfig {
+clean_kconfig () {
#$1 = filename $2 = things to remove
echo Marking config $2 as depending on NONFREE in $1
sed "/^config \\($2\\)\$/{p;i\
check_changed $1
}
-function clean_mk {
+clean_mk () {
#$1 = config $2 = Makefile name
# We don't clean up Makefiles any more --lxoliva
# sed -i "/\\($1\\)/d" $2
fi
}
-function clean_ifdef {
+clean_ifdef () {
#$1 = filename $2 = macro to -U
echo unifdefing $1 with -U$2
unifdef -U$2 $1 > $1.deblob
have_check=:
fi
-function clean_file {
+clean_file () {
#$1 = filename
if test ! -f $1; then
die $1 does not exist, something is wrong
rm -v $1
}
-function check_changed {
+check_changed () {
if test ! -f $1; then
die $1 does not exist, something is wrong
elif cmp $1.deblob $1 > /dev/null; then
mv $1.deblob $1
}
-function clean_blob {
+clean_blob () {
#$1 = filename
if $have_check; then
if test ! -f $1; then
fi
}
-function dummy_blob {
+dummy_blob () {
#$1 = filename
if test -f $1; then
echo $1 exists, something is wrong >&2
firmware/Makefile
}
-function clean_fw {
+clean_fw () {
#$1 = firmware text input, $2 = firmware output
if test ! -f $1; then
echo $1 does not exist, something is wrong >&2
dummy_blob $2
}
-function clean_kconfig {
+clean_kconfig () {
#$1 = filename $2 = things to remove
echo Marking config $2 as depending on NONFREE in $1
sed "/^config \\($2\\)\$/{p;i\
check_changed $1
}
-function clean_mk {
+clean_mk () {
#$1 = config $2 = Makefile name
# We don't clean up Makefiles any more --lxoliva
# sed -i "/\\($1\\)/d" $2
# 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.28 extra=
+kver=2.6.28 extra=++
case $1 in
--force) die () { echo ERROR: "$@": ignored >&2; }; shift;;
have_check=:
fi
-function clean_file {
+clean_file () {
#$1 = filename
if test ! -f $1; then
die $1 does not exist, something is wrong
rm -v $1
}
-function check_changed {
+check_changed () {
if test ! -f $1; then
die $1 does not exist, something is wrong
elif cmp $1.deblob $1 > /dev/null; then
mv $1.deblob $1
}
-function clean_blob {
+clean_blob () {
#$1 = filename
if $have_check; then
if test ! -f $1; then
fi
}
-function dummy_blob {
+dummy_blob () {
#$1 = filename
if test -f $1; then
echo $1 exists, something is wrong >&2
firmware/Makefile
}
-function clean_fw {
+clean_fw () {
#$1 = firmware text input, $2 = firmware output
if test ! -f $1; then
echo $1 does not exist, something is wrong >&2
dummy_blob $2
}
-function drop_fw_file {
+drop_fw_file () {
#$1 = firmware text input, $2 = firmware output
if test ! -f $1; then
echo $1 does not exist, something is wrong >&2
dummy_blob $2
}
-function clean_kconfig {
+clean_kconfig () {
#$1 = filename $2 = things to remove
echo Marking config $2 as depending on NONFREE in $1
sed "/^config \\($2\\)\$/{p;i\
check_changed $1
}
-function clean_mk {
+clean_mk () {
#$1 = config $2 = Makefile name
# We don't clean up Makefiles any more --lxoliva
# sed -i "/\\($1\\)/d" $2