summaryrefslogtreecommitdiffstats
path: root/target/xtensa/setup-config
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-09-04 04:04:06 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-09-20 22:31:08 +0200
commit669d07bdd47ac6789886729fa635db55dd352ae2 (patch)
tree0827409cb6d2289713483da2b6e1948b8759b27c /target/xtensa/setup-config
parentb189c516d4fd810a95feaff34da97579783f5e5b (diff)
downloadbuildroot-novena-669d07bdd47ac6789886729fa635db55dd352ae2.tar.gz
buildroot-novena-669d07bdd47ac6789886729fa635db55dd352ae2.zip
Remove the Xtensa architecture
As stated in commit 555c2585bf28c3ef71f6d2dcdd983d17a19892af, the Xtensa architecture has been introduced in 2009 and never changed since its initial introduction. It requires some special handling that is a bit annoying, and despite our call to the initial developers, and the announcement of the deprecation of the architecture during the 2012.05, nothing has happened. Therefore, drop support for this architecture. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: me Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'target/xtensa/setup-config')
-rw-r--r--target/xtensa/setup-config57
1 files changed, 0 insertions, 57 deletions
diff --git a/target/xtensa/setup-config b/target/xtensa/setup-config
deleted file mode 100644
index 7ef8fe86e..000000000
--- a/target/xtensa/setup-config
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/sh
-
-# Convenience script for setting up a default buildroot config
-# for Xtensa processor targets..
-
-usage() {
- echo "Usage (invoke from top of buildroot tree):"
- echo " ./target/xtensa/setup-config <corename>"
- #echo " ./target/xtensa/setup-config <corename> [<overlaypath>]"
- echo "where:"
- echo " <corename> is the Xtensa core overlay name, as specified in the -c option"
- echo " of the ./target/xtensa/xt-buildroot-overlay-install script."
- echo ""
- echo "For example:"
- echo " ./target/xtensa/setup-config dc232b"
- echo ""
- echo "Currently installed (available) core overlay names are:"
- echo " " `ls toolchain/binutils/binutils-xtensa_*.tgz | sed -e 's,toolchain\/binutils\/binutils-xtensa_\(.*\)\.tgz,\1,g'`
- exit 1
-}
-
-if [ $# -ne 1 ]; then
- usage
-fi
-
-core=$1 ; shift
-
-if [ ! -f toolchain/binutils/binutils-xtensa_${core}.tgz \
- -o ! -f toolchain/gcc/gcc-xtensa_${core}.tgz \
- -o ! -f toolchain/gdb/gdb-xtensa_${core}.tgz ]; then
- echo "ERROR: Did not find an installed Xtensa core overlay named '${core}'."
- echo "ERROR: Please install it first with ./target/xtensa/xt-buildroot-overlay-install"
- echo ""
- usage
-fi
-
-# Use preset buildroot config:
-cp target/xtensa/defconfig .defconfig-xtensa
-# Set core name:
-sed -i -e 's,^BR2_xtensa_\(.*\)=y,BR2_xtensa_custom=y\nBR2_xtensa_custom_name="'${core}'",' .defconfig-xtensa
-## sed -i -e 's,^.*BR2_xtensa_core_name.*,BR_xtensa_core_name="'${core}'",' .defconfig-xtensa
-# Create full .config with defaults:
-make clean defconfig CONFIG_DEFCONFIG=.defconfig-xtensa || exit 1
-
-# Busybox adjustments: turn off 'ar' (can't create archives yet overrides real one)
-# and turn on NFS mounting (Xtensa defconfig turns on RPC so this can work):
-#
-bborig=`grep '^BR2_PACKAGE_BUSYBOX_CONFIG=' .config | sed -e 's,.*"\(.*\)".*,\1,'`
-bbconf=target/xtensa/busybox-config
-cp $bborig $bbconf
-sed -i -e 's,^CONFIG_AR=y,# CONFIG_AR is not set,' $bbconf
-sed -i -e 's,^.*CONFIG_FEATURE_MOUNT_NFS.*,CONFIG_FEATURE_MOUNT_NFS=y,' $bbconf
-# Make use of above busybox adjustments:
-sed -i -e 's,.*\(BR2_PACKAGE_BUSYBOX_CONFIG\).*,\1="'$bbconf'",' .config
-
-echo "Done."
-