CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-PROJECT(imc-pr3-plugin C)
+PROJECT(mfld-blackbay-plugin C)
### Global setting ###
SET(PREFIX ${CMAKE_INSTALL_PREFIX})
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wmissing-declarations -Wredundant-decls -Wcast-align")
ADD_DEFINITIONS("-DFEATURE_DLOG_DEBUG")
-ADD_DEFINITIONS("-DTCORE_LOG_TAG=\"IMC-PR3\"")
+ADD_DEFINITIONS("-DTCORE_LOG_TAG=\"MFLD-BLACKBAY\"")
MESSAGE(${CMAKE_C_FLAGS})
MESSAGE(${CMAKE_EXE_LINKER_FLAGS})
MESSAGE( "SOURCES: ${SRCS}" )
# library build
-ADD_LIBRARY(imc-pr3-plugin SHARED ${SRCS})
-TARGET_LINK_LIBRARIES(imc-pr3-plugin ${pkgs_LDFLAGS})
-SET_TARGET_PROPERTIES(imc-pr3-plugin PROPERTIES PREFIX "" OUTPUT_NAME imc-pr3-plugin)
+ADD_LIBRARY(mfld-blackbay-plugin SHARED ${SRCS})
+TARGET_LINK_LIBRARIES(mfld-blackbay-plugin ${pkgs_LDFLAGS})
+SET_TARGET_PROPERTIES(mfld-blackbay-plugin PROPERTIES PREFIX "" OUTPUT_NAME mfld-blackbay-plugin)
# install
-INSTALL(TARGETS imc-pr3-plugin
+INSTALL(TARGETS mfld-blackbay-plugin
LIBRARY DESTINATION lib/telephony/plugins)
/*
*
- * tel-plugin-imc-pr3
+ * tel-plugin-mfld-blackbay
*
* Copyright (C) 2012 Intel Corporation. All rights reserved.
*
-Name: tel-plugin-imc-pr3
-Summary: PR3 plateform telephony plugin
+Name: tel-plugin-mfld-blackbay
+Summary: Medfield Blackbay plateform telephony plugin
Version: 0.0.1
Release: 1
Group: System/Libraries
License: Apache
-Source0: tel-plugin-imc-pr3-%{version}.tar.gz
+Source0: tel-plugin-mfld-blackbay-%{version}.tar.gz
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
Requires: audience-bin-mfld-blackbay
BuildRequires: pkgconfig(alsa)
%description
-PR3 plateform telephony plugin
+Medfield Blackbay plateform telephony plugin
%prep
%setup -q
%files
%defattr(-,root,root,-)
#%doc COPYING
-%{_libdir}/telephony/plugins/imc-pr3-plugin*
+%{_libdir}/telephony/plugins/mfld-blackbay-plugin*
/*
*
- * tel-plugin-imc-pr3
+ * tel-plugin-mfld-blackbay
*
* Copyright (C) 2012 Intel Corporation. All rights reserved.
*
dbg("tty port (%s) opened successfully", DEVICE_IFX);
/* HAL init */
- hal = tcore_hal_new(plugin, "imc-pr3", &hops, TCORE_HAL_MODE_AT);
+ hal = tcore_hal_new(plugin, "mfld-blackbay", &hops, TCORE_HAL_MODE_AT);
if (hal == NULL){
err("Failed to create HAL");
g_free(data);
tcore_hal_link_user_data(hal, data);
- dbg("HAL is imc-pr3: channel = %p, watch_id=%d ", data->channel, data->watch_id);
+ dbg("HAL is mfld-blackbay: channel = %p, watch_id=%d ", data->channel, data->watch_id);
if (pr3_audio_init() != TRUE)
err("Error in audio initialization")
struct tcore_plugin_define_desc plugin_define_desc =
{
- .name = "IMC-PR3",
+ .name = "mfld-blackbay",
.priority = TCORE_PLUGIN_PRIORITY_HIGH,
.version = 1,
.load = on_load,
/*
*
- * tel-plugin-imc-pr3
+ * tel-plugin-mfld-blackbay
*
* Copyright (C) 2012 Intel Corporation. All rights reserved.
*
dbg("tty port (%s) opened successfully", DEVICE_IFX);
/* HAL init */
- hal = tcore_hal_new(plugin, "imc-pr3", &hops, TCORE_HAL_MODE_AT);
+ hal = tcore_hal_new(plugin, "mfld-blackbay", &hops, TCORE_HAL_MODE_AT);
if (hal == NULL){
err("Failed to create HAL");
g_free(data);
tcore_hal_link_user_data(hal, data);
- dbg("HAL is imc-pr3: channel = %p, watch_id=%d ", data->channel, data->watch_id);
+ dbg("HAL is mfld-blackbay: channel = %p, watch_id=%d ", data->channel, data->watch_id);
if (pr3_audio_init() != TRUE)
err("Error in audio initialization")
struct tcore_plugin_define_desc plugin_define_desc =
{
- .name = "IMC-PR3",
+ .name = "MFLD-BLACKBAY",
.priority = TCORE_PLUGIN_PRIORITY_HIGH,
.version = 1,
.load = on_load,
/*
*
- * tel-plugin-imc-pr3
+ * tel-plugin-mfld-blackbay
*
* Copyright (C) 2012 Intel Corporation. All rights reserved.
*