From 13fa7753defe4d1bc6b416aa84f103b25fb2a8b0 Mon Sep 17 00:00:00 2001 From: Roland Dobai Date: Fri, 5 Nov 2021 15:38:25 +0100 Subject: [PATCH] Build & config: Remove leftover files from the unsupported "make" build system * Original commit: espressif/esp-idf@766aa5708443099f3f033b739cda0e1de101cca6 --- components/freemodbus/component.mk | 14 -------------- .../modbus/mb_example_common/component.mk | 5 ----- .../protocols/modbus/serial/mb_master/Makefile | 10 ---------- .../modbus/serial/mb_master/main/component.mk | 4 ---- examples/protocols/modbus/serial/mb_slave/Makefile | 10 ---------- .../modbus/serial/mb_slave/main/component.mk | 4 ---- .../protocols/modbus/tcp/mb_tcp_master/Makefile | 11 ----------- .../modbus/tcp/mb_tcp_master/main/component.mk | 4 ---- .../protocols/modbus/tcp/mb_tcp_slave/Makefile | 10 ---------- .../modbus/tcp/mb_tcp_slave/main/component.mk | 4 ---- 10 files changed, 76 deletions(-) delete mode 100644 components/freemodbus/component.mk delete mode 100644 examples/protocols/modbus/mb_example_common/component.mk delete mode 100644 examples/protocols/modbus/serial/mb_master/Makefile delete mode 100644 examples/protocols/modbus/serial/mb_master/main/component.mk delete mode 100644 examples/protocols/modbus/serial/mb_slave/Makefile delete mode 100644 examples/protocols/modbus/serial/mb_slave/main/component.mk delete mode 100644 examples/protocols/modbus/tcp/mb_tcp_master/Makefile delete mode 100644 examples/protocols/modbus/tcp/mb_tcp_master/main/component.mk delete mode 100644 examples/protocols/modbus/tcp/mb_tcp_slave/Makefile delete mode 100644 examples/protocols/modbus/tcp/mb_tcp_slave/main/component.mk diff --git a/components/freemodbus/component.mk b/components/freemodbus/component.mk deleted file mode 100644 index c90a5dc..0000000 --- a/components/freemodbus/component.mk +++ /dev/null @@ -1,14 +0,0 @@ -COMPONENT_ADD_INCLUDEDIRS := common/include -COMPONENT_PRIV_INCLUDEDIRS := common port modbus modbus/ascii modbus/functions -COMPONENT_PRIV_INCLUDEDIRS += modbus/rtu modbus/tcp modbus/include -COMPONENT_PRIV_INCLUDEDIRS += serial_slave/port serial_slave/modbus_controller -COMPONENT_PRIV_INCLUDEDIRS += serial_master/port serial_master/modbus_controller -COMPONENT_PRIV_INCLUDEDIRS += tcp_slave/port tcp_slave/modbus_controller -COMPONENT_PRIV_INCLUDEDIRS += tcp_master/port tcp_master/modbus_controller -COMPONENT_SRCDIRS := common -COMPONENT_SRCDIRS += modbus modbus/ascii modbus/functions modbus/rtu modbus/tcp -COMPONENT_SRCDIRS += serial_slave/port serial_slave/modbus_controller -COMPONENT_SRCDIRS += serial_master/port serial_master/modbus_controller -COMPONENT_SRCDIRS += tcp_slave/port tcp_slave/modbus_controller -COMPONENT_SRCDIRS += tcp_master/port tcp_master/modbus_controller -COMPONENT_SRCDIRS += port diff --git a/examples/protocols/modbus/mb_example_common/component.mk b/examples/protocols/modbus/mb_example_common/component.mk deleted file mode 100644 index f0dc18c..0000000 --- a/examples/protocols/modbus/mb_example_common/component.mk +++ /dev/null @@ -1,5 +0,0 @@ -# -# Component Makefile -# -COMPONENT_ADD_INCLUDEDIRS := include -COMPONENT_SRCDIRS := . diff --git a/examples/protocols/modbus/serial/mb_master/Makefile b/examples/protocols/modbus/serial/mb_master/Makefile deleted file mode 100644 index 458a97b..0000000 --- a/examples/protocols/modbus/serial/mb_master/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -# -# This is a project Makefile. It is assumed the directory this Makefile resides in is a -# project subdirectory. -# - -PROJECT_NAME := modbus_master - -EXTRA_COMPONENT_DIRS := $(IDF_PATH)/examples/protocols/modbus/mb_example_common - -include $(IDF_PATH)/make/project.mk diff --git a/examples/protocols/modbus/serial/mb_master/main/component.mk b/examples/protocols/modbus/serial/mb_master/main/component.mk deleted file mode 100644 index a98f634..0000000 --- a/examples/protocols/modbus/serial/mb_master/main/component.mk +++ /dev/null @@ -1,4 +0,0 @@ -# -# "main" pseudo-component makefile. -# -# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) diff --git a/examples/protocols/modbus/serial/mb_slave/Makefile b/examples/protocols/modbus/serial/mb_slave/Makefile deleted file mode 100644 index c3aa218..0000000 --- a/examples/protocols/modbus/serial/mb_slave/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -# -# This is a project Makefile. It is assumed the directory this Makefile resides in is a -# project subdirectory. -# - -PROJECT_NAME := modbus_slave - -EXTRA_COMPONENT_DIRS := $(IDF_PATH)/examples/protocols/modbus/mb_example_common - -include $(IDF_PATH)/make/project.mk diff --git a/examples/protocols/modbus/serial/mb_slave/main/component.mk b/examples/protocols/modbus/serial/mb_slave/main/component.mk deleted file mode 100644 index b4fa727..0000000 --- a/examples/protocols/modbus/serial/mb_slave/main/component.mk +++ /dev/null @@ -1,4 +0,0 @@ -# -# Main Makefile. This is basically the same as a component makefile. -# -# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) diff --git a/examples/protocols/modbus/tcp/mb_tcp_master/Makefile b/examples/protocols/modbus/tcp/mb_tcp_master/Makefile deleted file mode 100644 index 1f60bf1..0000000 --- a/examples/protocols/modbus/tcp/mb_tcp_master/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -# -# This is a project Makefile. It is assumed the directory this Makefile resides in is a -# project subdirectory. -# - -PROJECT_NAME := modbus_tcp_master - -EXTRA_COMPONENT_DIRS := $(IDF_PATH)/examples/protocols/modbus/mb_example_common -EXTRA_COMPONENT_DIRS += $(IDF_PATH)/examples/common_components/protocol_examples_common - -include $(IDF_PATH)/make/project.mk diff --git a/examples/protocols/modbus/tcp/mb_tcp_master/main/component.mk b/examples/protocols/modbus/tcp/mb_tcp_master/main/component.mk deleted file mode 100644 index a98f634..0000000 --- a/examples/protocols/modbus/tcp/mb_tcp_master/main/component.mk +++ /dev/null @@ -1,4 +0,0 @@ -# -# "main" pseudo-component makefile. -# -# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) diff --git a/examples/protocols/modbus/tcp/mb_tcp_slave/Makefile b/examples/protocols/modbus/tcp/mb_tcp_slave/Makefile deleted file mode 100644 index 892d758..0000000 --- a/examples/protocols/modbus/tcp/mb_tcp_slave/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -# -# This is a project Makefile. It is assumed the directory this Makefile resides in is a -# project subdirectory. -# -PROJECT_NAME := modbus_tcp_slave - -EXTRA_COMPONENT_DIRS := $(IDF_PATH)/examples/protocols/modbus/mb_example_common -EXTRA_COMPONENT_DIRS += $(IDF_PATH)/examples/common_components/protocol_examples_common - -include $(IDF_PATH)/make/project.mk diff --git a/examples/protocols/modbus/tcp/mb_tcp_slave/main/component.mk b/examples/protocols/modbus/tcp/mb_tcp_slave/main/component.mk deleted file mode 100644 index a98f634..0000000 --- a/examples/protocols/modbus/tcp/mb_tcp_slave/main/component.mk +++ /dev/null @@ -1,4 +0,0 @@ -# -# "main" pseudo-component makefile. -# -# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.)