[bt] same file merge

This commit is contained in:
lupeng 2018-07-26 11:25:55 +08:00
parent 94799e8715
commit 79ddd1cf89
8 changed files with 149 additions and 1 deletions

1
.gitignore vendored
View File

@ -2,7 +2,6 @@
out out
.config .config
tmp tmp
build
!/build !/build
.config.old .config.old
build/libuv-v1.11.0/ build/libuv-v1.11.0/

View File

@ -0,0 +1,31 @@
#######################################
# This makefile is written for a GNU make or equivalent.
# For example:
# make clean
# make
# Copyright (c) 2010, Broadcom Corp., All Rights Reserved.
# Broadcom Bluetooth Core. Proprietary and confidential.
#######################################
# Basic path definitions
GLOBALPATH := ../../../../../..
customer := bsa_examples
project := linux
application := app_ble_usr
os_name := linux
BLUETOOTH_3RD_DIR := $(GLOBALPATH)/3rdparty
# include common makefile rules
include $(BLUETOOTH_3RD_DIR)/embedded/$(customer)/$(project)/app_common/build/make.common
# extra source list list
srcdirs :=
appsources :=
# include variable definitions for each component
include $(BLUETOOTH_APPLICATION_DIR)/build/def/*.def
# incdirs uses srcdirs
incdirs := $(incdirs) $(srcdirs)
# include the build rules for all the sample applications
include $(BLUETOOTH_3RD_DIR)/embedded/$(customer)/$(project)/app_common/build/make_sample_apps.common

View File

@ -0,0 +1,29 @@
# list of required include directories for the current application
appincdir := $(appdir)/include \
$(appdir)/../app_common/include
# list of required source directories for the current application
appsrcdir := $(appdir)/source \
$(appdir)/../app_common/source
# list of sources for the current application
appsrcs := \
app_ble_usr.c \
app_ble_usr_main.c \
app_disc.c \
app_mgt.c \
app_utils.c \
app_xml_param.c \
app_xml_utils.c \
app_dm.c \
app_services.c \
app_wav.c \
nanoxml.c
# add the include and source directories to the whole project
incdirs := $(incdirs) $(appincdir)
srcdirs := $(srcdirs) $(appsrcdir)
# add the list of sources to the current list
appsources := $(appsources) $(appsrcs)

View File

@ -0,0 +1,45 @@
#######################################
# This makefile is written for a GNU make or equivalent.
# For example:
# make clean
# make
# Copyright (c) 2014, Broadcom Corp., All Rights Reserved.
# Broadcom Bluetooth Core. Proprietary and confidential.
#######################################
# Basic path definitions
GLOBALPATH := ../../../../../..
customer := bsa_examples
project := linux
application := app_nevsps
os_name := linux
BLUETOOTH_3RD_DIR := $(GLOBALPATH)/3rdparty
# include common makefile rules
include $(BLUETOOTH_3RD_DIR)/embedded/$(customer)/$(project)/app_common/build/make.common
# This flag is used to remove the debug information in the app trace
#GLOBAL_DEFINE += -DAPP_TRACE_NODEBUG
# This flag is used to add timestamp in the app traces
#GLOBAL_DEFINE += -DAPP_TRACE_TIMESTAMP
# This flag is used to add color in the app traces
GLOBAL_DEFINE += -DAPP_TRACE_COLOR
ENABLE_BLE_FWDL ?= FALSE
ifeq ($(strip $(ENABLE_BLE_FWDL)),TRUE)
GLOBAL_DEFINE += -DAPP_BLE_OTA_FW_DL_INCLUDED=TRUE
endif
# extra source list list
srcdirs :=
appsources :=
# include variable definitions for each component
include $(BLUETOOTH_APPLICATION_DIR)/build/def/*.def
# incdirs uses srcdirs
incdirs := $(incdirs) $(srcdirs)
# include the build rules for all the sample applications
include $(BLUETOOTH_3RD_DIR)/embedded/$(customer)/$(project)/app_common/build/make_sample_apps.common

View File

@ -0,0 +1,44 @@
# list of required include directories for the current application
appincdir := $(appdir)/include \
$(appdir)/../app_common/include \
$(appdir)/../app_tm/include \
$(appdir)/../app_ble/include \
$(appdir)/../app_manager/include
# list of required source directories for the current application
appsrcdir := $(appdir)/source \
$(appdir)/../app_common/source \
$(appdir)/../app_tm/source \
$(appdir)/../app_ble/source \
$(appdir)/../app_manager/source
# list of sources for the current application
appsrcs := \
app_nevsps_main.c \
app_nevsps.c \
app_manager.c \
app_netcp.c \
app_tm_evt.c \
app_ble.c \
app_ble_client.c \
app_ble_server.c \
app_ble_client_xml.c \
app_ble_client_db.c \
app_disc.c \
app_utils.c \
app_dm.c \
app_mgt.c \
app_xml_param.c \
app_xml_utils.c \
app_services.c \
nanoxml.c
ifeq ($(strip $(ENABLE_BLE_FWDL)), TRUE)
appsrcs := $(appsrcs) app_ble_client_otafwdl.c
endif
# add the include and source directories to the whole project
incdirs := $(incdirs) $(appincdir)
srcdirs := $(srcdirs) $(appsrcdir)
# add the list of sources to the current list
appsources := $(appsources) $(appsrcs)