summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAlexandre Oliva <lxoliva@fsfla.org>2008-05-19 00:39:58 +0000
committerAlexandre Oliva <lxoliva@fsfla.org>2008-05-19 00:39:58 +0000
commitdaac49333ed01c7225e4804c310c13bb0b8efa27 (patch)
treeed071e03fa57d4757e4424f2abe520c402679e71 /scripts
parent9f0dc2f1c1cb895f2a7aab8248d4b618112f3acb (diff)
downloadlinux-libre-raptor-daac49333ed01c7225e4804c310c13bb0b8efa27.tar.gz
linux-libre-raptor-daac49333ed01c7225e4804c310c13bb0b8efa27.zip
It's enough to mark COPS as dependent on NONFREE, other COPS_ configs depend on it. Fix marking of multiple configs in a single regex nevertheless.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/deblob-2.6.234
-rwxr-xr-xscripts/deblob-2.6.244
-rwxr-xr-xscripts/deblob-2.6.256
3 files changed, 7 insertions, 7 deletions
diff --git a/scripts/deblob-2.6.23 b/scripts/deblob-2.6.23
index 51a288e3e..828828e78 100755
--- a/scripts/deblob-2.6.23
+++ b/scripts/deblob-2.6.23
@@ -84,7 +84,7 @@ function clean_blob {
function clean_kconfig {
#$1 = filename $2 = things to remove
echo Marking config $2 as depending on NONFREE in $1
- sed "/^config $2\$/{p;i\
+ sed "/^config \($2\)\$/{p;i\
depends on NONFREE
d;}" $1 > $1.deblob
check_changed $1
@@ -356,7 +356,7 @@ clean_mk CONFIG_TYPHOON drivers/net/Makefile
# clean_blob drivers/net/appletalk/cops.h
clean_blob drivers/net/appletalk/cops_ffdrv.h
clean_blob drivers/net/appletalk/cops_ltdrv.h
-clean_kconfig drivers/net/appletalk/Kconfig 'COPS|COPS_DAYNA|COPS_TANGENT'
+clean_kconfig drivers/net/appletalk/Kconfig 'COPS'
clean_mk CONFIG_COPS drivers/net/appletalk/Makefile
# hamradio
diff --git a/scripts/deblob-2.6.24 b/scripts/deblob-2.6.24
index 3f14360ae..9fb289e18 100755
--- a/scripts/deblob-2.6.24
+++ b/scripts/deblob-2.6.24
@@ -84,7 +84,7 @@ function clean_blob {
function clean_kconfig {
#$1 = filename $2 = things to remove
echo Marking config $2 as depending on NONFREE in $1
- sed "/^config $2\$/{p;i\
+ sed "/^config \($2\)\$/{p;i\
depends on NONFREE
d;}" $1 > $1.deblob
check_changed $1
@@ -356,7 +356,7 @@ clean_mk CONFIG_TYPHOON drivers/net/Makefile
# clean_blob drivers/net/appletalk/cops.h
clean_blob drivers/net/appletalk/cops_ffdrv.h
clean_blob drivers/net/appletalk/cops_ltdrv.h
-clean_kconfig drivers/net/appletalk/Kconfig 'COPS|COPS_DAYNA|COPS_TANGENT'
+clean_kconfig drivers/net/appletalk/Kconfig 'COPS'
clean_mk CONFIG_COPS drivers/net/appletalk/Makefile
# hamradio
diff --git a/scripts/deblob-2.6.25 b/scripts/deblob-2.6.25
index e57da05d3..751d4db4f 100755
--- a/scripts/deblob-2.6.25
+++ b/scripts/deblob-2.6.25
@@ -84,7 +84,7 @@ function clean_blob {
function clean_kconfig {
#$1 = filename $2 = things to remove
echo Marking config $2 as depending on NONFREE in $1
- sed "/^config $2\$/{p;i\
+ sed "/^config \($2\)\$/{p;i\
depends on NONFREE
d;}" $1 > $1.deblob
check_changed $1
@@ -302,7 +302,7 @@ clean_mk CONFIG_BNX2 drivers/net/Makefile
clean_blob drivers/net/bnx2x_init_values.h
clean_kconfig drivers/net/Kconfig 'BNX2X'
-clean_mk CONFIG_BNX2X divers/net/Makefile
+clean_mk CONFIG_BNX2X drivers/net/Makefile
# CASSINI - Sun Cassini
clean_blob drivers/net/cassini.h
@@ -360,7 +360,7 @@ clean_mk CONFIG_TYPHOON drivers/net/Makefile
# clean_blob drivers/net/appletalk/cops.h
clean_blob drivers/net/appletalk/cops_ffdrv.h
clean_blob drivers/net/appletalk/cops_ltdrv.h
-clean_kconfig drivers/net/appletalk/Kconfig 'COPS|COPS_DAYNA|COPS_TANGENT'
+clean_kconfig drivers/net/appletalk/Kconfig 'COPS'
clean_mk CONFIG_COPS drivers/net/appletalk/Makefile
# hamradio
OpenPOWER on IntegriCloud