summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2012-01-06 10:58:22 -0800
committerJean-Baptiste Queru <jbq@google.com>2012-01-06 11:08:49 -0800
commit60d2424035ee5c1c2c5c3e1a65b2f4e9b70bd91b (patch)
treec7f818c3bde928f3b8705581bc02da84a415a3c0
parent1a7f5a2f356f70b535af679b66925c68aeb2ae53 (diff)
downloadarm-linux-androideabi-4.6-60d2424035ee5c1c2c5c3e1a65b2f4e9b70bd91b.tar.gz
Add makefile for libbfd.a and similar libraries.
Change-Id: I075375202b8019523613a0471d493df09c346a9a
-rw-r--r--Android.mk0
-rw-r--r--lib/Android.mk28
2 files changed, 28 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/Android.mk
diff --git a/lib/Android.mk b/lib/Android.mk
new file mode 100644
index 0000000..6453959
--- /dev/null
+++ b/lib/Android.mk
@@ -0,0 +1,28 @@
+# Copyright (C) 2011 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+ifeq ($(HOST_OS)-$(HOST_ARCH),darwin-x86)
+
+LOCAL_PATH := $(call my-dir)
+
+LOCAL_PREBUILT_LIBS := \
+ libbfd.a \
+ libiberty.a \
+ libintl.a
+
+LOCAL_MODULE_TAGS := optional
+
+include $(BUILD_HOST_PREBUILT)
+
+endif