summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2009-01-03 13:34:46 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2009-01-03 13:34:46 +0000
commitb74f00b83b21e0cdcbaf5ba409653d26bbd54a7f (patch)
treea3374121d51fd90fac34c8d6c94127c8971dc651 /config
parent6076990cc77893a2dd5c2b0389f2530e714eaf82 (diff)
downloadptxdist-b74f00b83b21e0cdcbaf5ba409653d26bbd54a7f.tar.gz
ptxdist-b74f00b83b21e0cdcbaf5ba409653d26bbd54a7f.tar.xz
* busybox/Remove, busybox/Extract:
obsolete git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9363 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'config')
-rwxr-xr-xconfig/busybox/Extract42
-rwxr-xr-xconfig/busybox/Remove4
2 files changed, 0 insertions, 46 deletions
diff --git a/config/busybox/Extract b/config/busybox/Extract
deleted file mode 100755
index cb4ee0c90..000000000
--- a/config/busybox/Extract
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/bash
-
-dir=/tmp
-
-# Try to be smart and get latest and greatest.
-bb_path=`find ${dir} -maxdepth 1 -type d -name "busybox-*" | sort | tail -n 1`
-
-if test -z ${bb_path}
-then
- echo "Extract busybox to ${dir} directory before running this script."
- exit 1
-fi
-
-bb_version=`basename ${bb_path} | sed -e "s/busybox-//g"`
-echo "---------------------------------------------------------------------"
-echo "Extracting busybox configuration from version ${bb_version}..."
-echo "---------------------------------------------------------------------"
-
-#
-# first extract all configuration files from the original source tree
-#
-
-for cfgfile in $(find ${bb_path} -name "Config.in"); do
- new_cfgfile=$(echo $cfgfile | sed -e "s~${bb_path}~\.~g")
- dir=$(echo $new_cfgfile | sed -e "s~Config\.in~~g")
- mkdir -p $dir
- ../../scripts/mkprefix -v -p BB_CONFIG_ < $cfgfile > $new_cfgfile
-done
-
-#
-# fix some entries
-#
-
-echo "---------------------------------------------------------------------"
-echo "Fixing some stuff..."
-echo "---------------------------------------------------------------------"
-
-for cfgfile in $(find . -name "Config.in"); do
- sed -i -e "s/^source \(.*\)/source config\/busybox\/\1/g" $cfgfile
- sed -i -e "s/^mainmenu \(.*$\)/# mainmenu \1/g" $cfgfile
- sed -i -e "s/^\(menu .*\)$/\1\n\tdepends on BUSYBOX/g" $cfgfile
-done
diff --git a/config/busybox/Remove b/config/busybox/Remove
deleted file mode 100755
index ed0cb1b61..000000000
--- a/config/busybox/Remove
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-find . -type d | grep -v "\.$" | xargs rm -fr
-rm -r *.in