From f8af71a9343cd23d802855de4267a2701aebafc7 Mon Sep 17 00:00:00 2001
From: Johann <johann.koenig@duck.com>
Date: Fri, 25 Jan 2013 12:11:19 -0800
Subject: [PATCH] Include apple arm conversion script

Fix building iOS targets from 'make dist' sources

Change-Id: I0bb9ba2a6d94e57c6cf439a79419af254e4a359c
---
 build/make/Makefile         | 1 +
 build/make/ads2gas_apple.pl | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/build/make/Makefile b/build/make/Makefile
index 22d6097bf2..da7fb03a0b 100644
--- a/build/make/Makefile
+++ b/build/make/Makefile
@@ -380,6 +380,7 @@ ifneq ($(call enabled,DIST-SRCS),)
     # Include obj_int_extract if we use offsets from asm_*_offsets
     DIST-SRCS-$(ARCH_ARM)$(ARCH_X86)$(ARCH_X86_64)    += build/make/obj_int_extract.c
     DIST-SRCS-$(ARCH_ARM)    += build/make/ads2gas.pl
+    DIST-SRCS-$(ARCH_ARM)    += build/make/ads2gas_apple.pl
     DIST-SRCS-yes            += $(target:-$(TOOLCHAIN)=).mk
 endif
 INSTALL-SRCS := $(call cond_enabled,CONFIG_INSTALL_SRCS,INSTALL-SRCS)
diff --git a/build/make/ads2gas_apple.pl b/build/make/ads2gas_apple.pl
index 81280bf785..51e6fbcbdb 100755
--- a/build/make/ads2gas_apple.pl
+++ b/build/make/ads2gas_apple.pl
@@ -10,12 +10,12 @@
 ##
 
 
-# ads2gas.pl
+# ads2gas_apple.pl
 # Author: Eric Fung (efung (at) acm.org)
 #
 # Convert ARM Developer Suite 1.0.1 syntax assembly source to GNU as format
 #
-# Usage: cat inputfile | perl ads2gas.pl > outputfile
+# Usage: cat inputfile | perl ads2gas_apple.pl > outputfile
 #
 print "@ This file was created from a .asm file\n";
 print "@  using the ads2gas_apple.pl script.\n\n";
-- 
GitLab