diff --git a/.gitignore b/.gitignore index 04e33a119..af4a476ba 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,6 @@ out .config tmp -build !/build .config.old build/libuv-v1.11.0/ diff --git a/package/allwinner/bluetooth/3rdparty/embedded/bsa_examples/linux/app_ble_usr/build/Makefile b/package/allwinner/bluetooth/3rdparty/embedded/bsa_examples/linux/app_ble_usr/build/Makefile new file mode 100755 index 000000000..d50fe017a --- /dev/null +++ b/package/allwinner/bluetooth/3rdparty/embedded/bsa_examples/linux/app_ble_usr/build/Makefile @@ -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 \ No newline at end of file diff --git a/package/allwinner/bluetooth/3rdparty/embedded/bsa_examples/linux/app_ble_usr/build/def/app_ble_usr.def b/package/allwinner/bluetooth/3rdparty/embedded/bsa_examples/linux/app_ble_usr/build/def/app_ble_usr.def new file mode 100755 index 000000000..2a4d38dbf --- /dev/null +++ b/package/allwinner/bluetooth/3rdparty/embedded/bsa_examples/linux/app_ble_usr/build/def/app_ble_usr.def @@ -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) diff --git a/package/allwinner/bluetooth/3rdparty/embedded/bsa_examples/linux/app_nevsps/build/Makefile b/package/allwinner/bluetooth/3rdparty/embedded/bsa_examples/linux/app_nevsps/build/Makefile new file mode 100755 index 000000000..0c58b62f4 --- /dev/null +++ b/package/allwinner/bluetooth/3rdparty/embedded/bsa_examples/linux/app_nevsps/build/Makefile @@ -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 diff --git a/package/allwinner/bluetooth/3rdparty/embedded/bsa_examples/linux/app_nevsps/build/def/app_nevsps.def b/package/allwinner/bluetooth/3rdparty/embedded/bsa_examples/linux/app_nevsps/build/def/app_nevsps.def new file mode 100755 index 000000000..009f1bc38 --- /dev/null +++ b/package/allwinner/bluetooth/3rdparty/embedded/bsa_examples/linux/app_nevsps/build/def/app_nevsps.def @@ -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) + diff --git a/package/allwinner/bluetooth/3rdparty/embedded/bsa_examples/linux/libbsa/build/arm/libbsa.a b/package/allwinner/bluetooth/3rdparty/embedded/bsa_examples/linux/libbsa/build/arm/libbsa.a new file mode 100755 index 000000000..389ae605a Binary files /dev/null and b/package/allwinner/bluetooth/3rdparty/embedded/bsa_examples/linux/libbsa/build/arm/libbsa.a differ diff --git a/package/allwinner/bluetooth/3rdparty/embedded/bsa_examples/linux/libbsa/build/arm/sharedlib/libbsa.so b/package/allwinner/bluetooth/3rdparty/embedded/bsa_examples/linux/libbsa/build/arm/sharedlib/libbsa.so new file mode 100755 index 000000000..d1b28599c Binary files /dev/null and b/package/allwinner/bluetooth/3rdparty/embedded/bsa_examples/linux/libbsa/build/arm/sharedlib/libbsa.so differ diff --git a/package/allwinner/bluetooth/3rdparty/embedded/bsa_examples/linux/server/build/arm/bsa_server b/package/allwinner/bluetooth/3rdparty/embedded/bsa_examples/linux/server/build/arm/bsa_server new file mode 100755 index 000000000..2e39d41c7 Binary files /dev/null and b/package/allwinner/bluetooth/3rdparty/embedded/bsa_examples/linux/server/build/arm/bsa_server differ