]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[arm] Fix cross-native builds
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Jul 2017 09:49:19 +0000 (09:49 +0000)
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Jul 2017 09:49:19 +0000 (09:49 +0000)
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@250015 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/arm/t-arm

index 2acf140f4075e189fc70716f14685711373af6ff..3e9e88cc4d99c6edc992d328825522048369ce02 100644 (file)
@@ -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
index 38772321341e70fbbb4a00abf9adbd2bd7d1b11f..16177e0bbbc890315e3df9f085e43ed5628d9335 100644 (file)
@@ -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