aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2017-07-06 09:49:19 +0000
committerRichard Earnshaw <rearnsha@gcc.gnu.org>2017-07-06 09:49:19 +0000
commitad0f66e07bb3e0e9c61354be4405b3ed468d03b3 (patch)
tree14b77bd51b9df634524604d14b1f045273a824cb
parent9e00a39737cd6f8b30ce4bde36c6da11c415ef93 (diff)
downloadgcc-ad0f66e07bb3e0e9c61354be4405b3ed468d03b3.zip
gcc-ad0f66e07bb3e0e9c61354be4405b3ed468d03b3.tar.gz
gcc-ad0f66e07bb3e0e9c61354be4405b3ed468d03b3.tar.bz2
[arm] Fix cross-native builds
The patch I committed yesterday to remove some generated headers from the source tree unfortunately has a dependency missing that is only revealed when doing a cross-native or full Canadian cross build. The gen* programs were missing a dependency on one of the generated headers. Fixed by adding an explicit dependency rule for GTM_H in the same way as we do for TM_H. * config/arm/t-arm (GTM_H): Add arm-cpu.h. Checked that this restores cross-native building. From-SVN: r250015
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/arm/t-arm1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2acf140..3e9e88c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2017-07-06 Richard Earnshaw <rearnsha@arm.com>
+
+ * config/arm/t-arm (GTM_H): Add arm-cpu.h.
+
2017-07-06 Christophe Lyon <christophe.lyon@linaro.org>
* doc/sourcebuild.texi (Test Directives, Variants of
diff --git a/gcc/config/arm/t-arm b/gcc/config/arm/t-arm
index 3877232..16177e0 100644
--- a/gcc/config/arm/t-arm
+++ b/gcc/config/arm/t-arm
@@ -19,6 +19,7 @@
# <http://www.gnu.org/licenses/>.
TM_H += arm-cpu.h
+GTM_H += arm-cpu.h
# All md files - except for arm.md.
# This list should be kept in alphabetical order and updated whenever an md