summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2012-01-06 10:35:08 -0800
committerJean-Baptiste Queru <jbq@google.com>2012-01-06 11:09:12 -0800
commit8d2f0428705d03c3ecf5af9ba13f2259b11020c6 (patch)
tree9c4b02c14f90ae0230ccc2796ee134fc67e941fe
parentcf93e9300176c3c3d47d215c411a13d6e805447f (diff)
downloadarm-linux-androideabi-4.6-8d2f0428705d03c3ecf5af9ba13f2259b11020c6.tar.gz
Add makefile for libbfd.a and similar libraries.
Change-Id: I62e90247b71d06f655520b261dac6ad209e49fae
-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..34f2394
--- /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),linux-x86)
+
+LOCAL_PATH := $(call my-dir)
+
+LOCAL_PREBUILT_LIBS := \
+ libbfd.a \
+ libiberty.a \
+ libintl.a
+
+LOCAL_MODULE_TAGS := optional
+
+include $(BUILD_HOST_PREBUILT)
+
+endif