diff mbox series

[livepatch-build-tools,2/4] livepatch-gcc: Ignore built_in.o and prelink.o object files

Message ID 20190408083224.104802-2-wipawel@amazon.de (mailing list archive)
State New, archived
Headers show
Series [livepatch-build-tools,1/4] livepatch-gcc: Allow toolchain command with versions | expand

Commit Message

Wieczorkiewicz, Pawel April 8, 2019, 8:32 a.m. UTC
Do not copy over the built_in.o and prelink.o object files when they
get rebuilt as they are used for transient linking by Xen's build
system.

Signed-off-by: Pawel Wieczorkiewicz <wipawel@amazon.de>
Reviewed-by: Martin Pohlack <mpohlack@amazon.de>
Reviewed-by: Petre Eftime <epetre@amazon.com>
---
 livepatch-gcc | 2 ++
 1 file changed, 2 insertions(+)

Comments

Ross Lagerwall April 29, 2019, 12:27 p.m. UTC | #1
On 4/8/19 9:32 AM, Pawel Wieczorkiewicz wrote:
> Do not copy over the built_in.o and prelink.o object files when they
> get rebuilt as they are used for transient linking by Xen's build
> system.
> 
> Signed-off-by: Pawel Wieczorkiewicz <wipawel@amazon.de>
> Reviewed-by: Martin Pohlack <mpohlack@amazon.de>
> Reviewed-by: Petre Eftime <epetre@amazon.com>

Reviewed-by: Ross Lagerwall <ross.lagerwall@citrix.com>
diff mbox series

Patch

diff --git a/livepatch-gcc b/livepatch-gcc
index 617f865..01e4b8c 100755
--- a/livepatch-gcc
+++ b/livepatch-gcc
@@ -35,6 +35,8 @@  if [[ "$TOOLCHAINCMD" =~ $GCC_RE ]] ; then
             version.o|\
             debug.o|\
             *.xen-syms.*.o|\
+            built_in.o|\
+            prelink.o|\
             .*.o)
                 break
                 ;;