#!/bin/sh
-# Copyright (C) 2008, 2009 Alexandre Oliva <lxoliva@fsfla.org>
+# Copyright (C) 2008, 2009, 2010 Alexandre Oliva <lxoliva@fsfla.org>
# Copyright (C) 2008 Jeff Moe
# Copyright (C) 2009 Rubén Rodríguez <ruben@gnu.org>
#
# 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.30 extra=1
+kver=2.6.30 extra=2
case $1 in
--force)
filetest $2 || return
sed -e "$1" "$2" > "$2".deblob || {
die $2: failed: ${3-applied sed script $1} && return 1; }
- check_changed $2 && echo $2: ${3-applied sed script $1}
+ check_changed $2 && echo $2: ${3-applied sed script $1}
}
reject_firmware () {
/for (p = PhyUcode/i\
printk("%s: missing Free firmware\\n", __func__);\
return (STATUS_FAILURE);\
-#define PhyUcode NULL
+#define PhyUcode NULL
}' drivers/staging/sxg/sxg.c 'report missing Free firmware'
clean_blob drivers/staging/sxg/sxg.c
clean_kconfig drivers/staging/sxg/Kconfig 'SXG'
/^INT[ ]set_eFuseLoadFromBin_Proc(/,/^}$/{
/src = kmalloc/i\
printk("%s: missing Free firmware\\n", __func__);\
- return FALSE;
+ return FALSE;
}' drivers/staging/rt3070/common/eeprom.c 'report missing Free firmware'
clean_blob drivers/staging/rt3070/common/eeprom.c
clean_sed '
clean_blob Documentation/sound/oss/MultiSound
clean_blob Documentation/sound/oss/PSS
clean_blob Documentation/sound/oss/PSS-updates
+clean_blob Documentation/sound/oss/README.OSS
clean_file Documentation/dvb/get_dvb_firmware
clean_file Documentation/video4linux/extract_xc3028.pl
clean_sed s,usb8388,whatever,g drivers/base/Kconfig 'removed blob name'