Touch yyscript.h and yyscript.c in clean target. archive/raspbian/2.35.1-5+rpi1 raspbian/2.35.1-5+rpi1
authorPeter Michael Green <plugwash@raspbian.org>
Sun, 20 Dec 2020 11:14:08 +0000 (11:14 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Sun, 20 Dec 2020 11:16:01 +0000 (11:16 +0000)
debian/changelog
debian/rules

index 5cefe237b4ed580c06721b9430040906fef1ba46..1ae931f45bd9ef375a2d48f712198c788905f759 100644 (file)
@@ -17,6 +17,11 @@ binutils (2.35.1-5+rpi1) bullseye-staging; urgency=medium
     built on arm64)
   * Remove <!nocheck> build-depends as testsuite is disabled.
 
+  [changes introduced in 2.35.1-5+rpi1 by Peter Michael Green]
+  * Touch gold/yyscript.h and gold/yyscript.c in clean target to ensure they are
+    newer than yyscript.y and hence stop the upstream build system trying to
+    regenerate them when building from a git checkout.
+
  -- Peter Micheal Green <plugwash@raspbian.org>  Sun, 20 Dec 2020 08:27:41 +0000
 
 binutils (2.35.1-5) unstable; urgency=medium
index 30dd1fc5653844eb57e833fc7edfd433afdfbe32..a94c66d9fdccd84fd497ae0e5ddef2323aaaeafb 100755 (executable)
@@ -602,6 +602,11 @@ endif
            rm -f $${i%*.in}; \
        done
 
+       #touch these files to ensure they are newer than yyscript.y
+       #and hence prevent the upstream buildsystem trying to regenerate
+       #them when building from a git checkout.
+       touch gold/yyscript.c gold/yyscript.h
+
        rm -f *-stamp
 
 ###############################################################################