summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry STRUDEL <thierry.strudel@stericsson.com>2011-05-27 19:02:17 +0200
committerRobert FEKETE <robert.fekete@stericsson.com>2011-06-07 11:17:01 +0200
commite2aefced64b75a1cbf33040a631e6b18d3dc6d2c (patch)
treefedb2b9e5929578b6b6db0b45efd50278c1284fe
parent46a95813e6bc0bd747d7de7270813f55a8af07f5 (diff)
Create also static library for LBP
Upgraded LBP makefile. Added RODOS metadata to be able to publish from SI GIT. ST-Ericsson ID: 325801 ST-Ericsson FOSS-OUT ID: NA Change-Id: I134e2d3b419235371012d26f2d60dbb6b4927e86 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24102 Reviewed-by: Thierry STRUDEL <thierry.strudel@stericsson.com> Tested-by: Thierry STRUDEL <thierry.strudel@stericsson.com> Reviewed-by: QATEST Reviewed-by: Magnus SMITH <magnus.xm.smith@stericsson.com> Reviewed-by: Robert FEKETE <robert.fekete@stericsson.com>
-rwxr-xr-xMakefile32
-rw-r--r--component.desc15
-rw-r--r--component/component.xml12
3 files changed, 28 insertions, 31 deletions
diff --git a/Makefile b/Makefile
index 0a4859a..301ef4c 100755
--- a/Makefile
+++ b/Makefile
@@ -1,32 +1,32 @@
-# vim:syntax=make:
-# -*- Mode: Makefile -*-
+#
+# Copyright (C) ST-Ericsson SA 2010. All rights reserved.
+# This code is ST-Ericsson proprietary and confidential.
+# Any use of the code for whatever purpose is subject to
+# specific written permission of ST-Ericsson SA.
+#
-#WARNING COMPONENT_PATH is MANDATORY for Make.config and Make.rules
-#-------------------------------
-# Default Config
-#-------------------------------
-include $(MMROOT)/shared/makefiles/Make.config
-
-################################################################################
-# library
+include $(MM_MAKEFILES_DIR)/SharedConfig.mk
ifeq ($(DEBUG),1)
CPPFLAGS += -DDEBUG
endif
+# shared library
SOLIBNAMES += blt_hw
LIBOBJ_blt_hw = blt_b2r2
INSTALL_SOLIB = blt_hw
+# static library
+LIBNAME = blt_hw
+LIBOBJ = blt_b2r2
+INSTALL_LIB = libblt_hw.a
+
INSTALL_HEADER = blt_api.h
ifneq ($(MMSYSTEM),android)
-FLAGS_blt_hw += -lpthread
+ FLAGS_blt_hw += -pthread
endif
-todo: solib
+todo: solib lib
-#-------------------------------
-# Generic Rules
-#-------------------------------
-include $(MMROOT)/shared/makefiles/Make.rules
+include $(MM_MAKEFILES_DIR)/SharedRules.mk
diff --git a/component.desc b/component.desc
deleted file mode 100644
index 4a78611..0000000
--- a/component.desc
+++ /dev/null
@@ -1,15 +0,0 @@
-------------------------------------------------------------
-Component: linux_b2r2lib
-------------------------------------------------------------
-Id ...... linux_b2r2lib:generic:1.0.13:src
-Date .... 2010-12-15T11:29:51+0100
-Content . 6 file(s), 3 directory(ies), 0 symlink(s)
-
-Manifest
-
-d00b4516557aa5ef8927267d8fec067a Android.mk
-297a96bfe3db6b02fd3b018ce4483863 Makefile
-d328e160866df0a5d90f399fae454676 include/blt_api.h
-1d86cd442a3e6c8f6095d13df35726e8 src/blt_b2r2.c
-15d69eed5d892b63f52ca860b0b694c7 ste-info/toc-locations.xml
-f850f17e8730d9a843db21dc749ed6dd ste-info/userspace_std_api_b2r2lib.xml
diff --git a/component/component.xml b/component/component.xml
new file mode 100644
index 0000000..f10bbcb
--- /dev/null
+++ b/component/component.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<component name="linux_b2r2lib">
+ <abstract> Implementation of blt_api for STE B2R2 IP </abstract>
+
+ <property name="tag" value="href_v1-linux" />
+ <property name="tag" value="svp5500_v1-linux"/>
+ <property name="tag" value="u8500_v2-linux"/>
+
+ <dependency name="makefiles" />
+ <dependency name="linux_kernel" />
+
+</component>