summaryrefslogtreecommitdiff
path: root/target/xtensa/patch.in
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/patch.in
parentb189c516d4fd810a95feaff34da97579783f5e5b (diff)
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/patch.in')
-rw-r--r--target/xtensa/patch.in33
1 files changed, 0 insertions, 33 deletions
diff --git a/target/xtensa/patch.in b/target/xtensa/patch.in
deleted file mode 100644
index 3fe5cc80d..000000000
--- a/target/xtensa/patch.in
+++ /dev/null
@@ -1,33 +0,0 @@
-ifneq ($(filter xtensa%,$(ARCH)),)
-#############################################################
-#
-# Xtensa processor architecture (including Diamond Standard cores)
-#
-#############################################################
-
-# The following defines a function to be used like this:
-# $(call XTENSA_PATCH, <module>, <patchdir>, <relative dir list...>)
-# which returns the first overlay patch file for <module> found
-# in the list of directories <relative dir list...> which are
-# relative to <patchdir> (itself either absolute or relative to the
-# current directory). The returned filename is relative to <patchdir>.
-# For example:
-# $(call XTENSA_PATCH, binutils, some/dir/path, . ..)
-# (no commas between directory paths in the list).
-#
-# A selected overlay patch must exist ("fsf" means no specific
-# overlay is selected). So the function emits a Makefile error
-# if a selected patch file is not found.
-
-XTENSA_CORENAME:=$(call qstrip,$(BR2_xtensa_core_name))
-ifeq ($(XTENSA_CORENAME),fsf)
-XTENSA_PATCH =
-else
-XTENSA_PATCH_SUFFIX = $(1)-xtensa_$(XTENSA_CORENAME).tgz
-XTENSA_PATCH_FILE = $(firstword $(wildcard $(patsubst %,$(2)/%/*$(XTENSA_PATCH_SUFFIX),$(3))))
-# FULLPATH = $(if $(filter /%,$(1)),$(1),$(PWD)/$(1))
-XTENSA_PATCH = $(if $(XTENSA_PATCH_FILE),$(patsubst $(2)/%,%,$(XTENSA_PATCH_FILE)),\
- $(error Missing $(1) patch for Xtensa $(XTENSA_CORENAME) processor (*$(XTENSA_PATCH_SUFFIX) in $(addprefix $(2)/,$(3)))))
-endif
-
-endif