datarmnet : Featurize the rmnet_core to point correct path.
These changes will help to have TRACE_INCLUDE_PATH according to target directory structure. Target specific flag was added to detect correct source path. Change-Id: I04463c7c30a700f6d697a5de5df69cf9de7805ce Signed-off-by: Mayank Vishwari <mayankvi@codeaurora.org>
This commit is contained in:

committato da
Kaustubh Pandey

parent
33c18a13cc
commit
4d883b9534
@@ -2,11 +2,13 @@ ifneq (, $(filter y, $(CONFIG_ARCH_LAHAINA) $(CONFIG_ARCH_WAIPIO)))
|
||||
ccflags-y += -DRMNET_LA_PLATFORM
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_ARCH_SDXNIGHTJAR), y)
|
||||
ccflags-y += -DRMNET_TRACE_INCLUDE_LE
|
||||
endif
|
||||
|
||||
obj-m += rmnet_core.o
|
||||
obj-m += rmnet_ctl.o
|
||||
rmnet_core-y := rmnet_config.o rmnet_handlers.o rmnet_descriptor.o \
|
||||
rmnet_genl.o rmnet_map_command.o rmnet_map_data.o rmnet_vnd.o\
|
||||
qmi_rmnet.o wda_qmi.o dfc_qmi.o dfc_qmap.o
|
||||
rmnet_ctl-y := rmnet_ctl_client.o rmnet_ctl_ipa.o
|
||||
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
/* Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
|
||||
/* Copyright (c) 2018-2021, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
@@ -15,6 +15,8 @@
|
||||
#undef TRACE_INCLUDE_PATH
|
||||
#ifdef RMNET_LA_PLATFORM
|
||||
#define TRACE_INCLUDE_PATH ../../../../vendor/qcom/opensource/datarmnet/core
|
||||
#elif RMNET_TRACE_INCLUDE_LE
|
||||
#define TRACE_INCLUDE_PATH ../../../../../../../datarmnet/core
|
||||
#else
|
||||
#define TRACE_INCLUDE_PATH ../../../../../../../src/datarmnet/core
|
||||
#endif
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/* Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
|
||||
/* Copyright (c) 2018-2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
#ifdef CONFIG_FTRACE
|
||||
#undef TRACE_SYSTEM
|
||||
@@ -7,6 +7,8 @@
|
||||
#undef TRACE_INCLUDE_PATH
|
||||
#ifdef RMNET_LA_PLATFORM
|
||||
#define TRACE_INCLUDE_PATH ../../../../vendor/qcom/opensource/datarmnet/core
|
||||
#elif RMNET_TRACE_INCLUDE_LE
|
||||
#define TRACE_INCLUDE_PATH ../../../../../../../datarmnet/core
|
||||
#else
|
||||
#define TRACE_INCLUDE_PATH ../../../../../../../src/datarmnet/core
|
||||
#endif
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
|
||||
/* Copyright (c) 2018,2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#undef TRACE_SYSTEM
|
||||
@@ -7,6 +7,8 @@
|
||||
#undef TRACE_INCLUDE_PATH
|
||||
#ifdef RMNET_LA_PLATFORM
|
||||
#define TRACE_INCLUDE_PATH ../../../../vendor/qcom/opensource/datarmnet/core
|
||||
#elif RMNET_TRACE_INCLUDE_LE
|
||||
#define TRACE_INCLUDE_PATH ../../../../../../../datarmnet/core
|
||||
#else
|
||||
#define TRACE_INCLUDE_PATH ../../../../../../../src/datarmnet/core
|
||||
#endif
|
||||
|
Fai riferimento in un nuovo problema
Block a user