Clone of official tools

Revision:
36:96847d42f010
Parent:
31:8ea194f6145b
--- a/libraries.py	Wed Feb 15 13:53:18 2017 -0600
+++ b/libraries.py	Thu Jun 22 11:12:28 2017 -0500
@@ -14,11 +14,10 @@
 See the License for the specific language governing permissions and
 limitations under the License.
 """
-from tools.paths import MBED_RTX, RTOS, RTOS_LIBRARIES, MBED_LIBRARIES,\
-    MBED_RPC, RPC_LIBRARY, USB, USB_LIBRARIES, USB_HOST,\
-    USB_HOST_LIBRARIES, FAT_FS, DSP_ABSTRACTION, DSP_CMSIS, DSP_LIBRARIES,\
-    SD_FS, FS_LIBRARY, ETH_SOURCES, LWIP_SOURCES, ETH_LIBRARY, UBLOX_SOURCES,\
-    UBLOX_LIBRARY, CELLULAR_SOURCES, CELLULAR_USB_SOURCES, CPPUTEST_SRC,\
+from tools.paths import MBED_LIBRARIES,\
+    MBED_RPC, RPC_LIBRARY, USB, USB_LIBRARIES, \
+    DSP_ABSTRACTION, DSP_CMSIS, DSP_LIBRARIES,\
+    CPPUTEST_SRC,\
     CPPUTEST_PLATFORM_SRC, CPPUTEST_TESTRUNNER_SCR, CPPUTEST_LIBRARY,\
     CPPUTEST_INC, CPPUTEST_PLATFORM_INC, CPPUTEST_TESTRUNNER_INC,\
     CPPUTEST_INC_EXT
@@ -27,20 +26,6 @@
 
 
 LIBRARIES = [
-    # RTOS libraries
-    {
-        "id": "rtx",
-        "source_dir": MBED_RTX,
-        "build_dir": RTOS_LIBRARIES,
-        "dependencies": [MBED_LIBRARIES],
-    },
-    {
-        "id": "rtos",
-        "source_dir": RTOS,
-        "build_dir": RTOS_LIBRARIES,
-        "dependencies": [MBED_LIBRARIES, MBED_RTX],
-    },
-
     # RPC
     {
         "id": "rpc",
@@ -57,14 +42,6 @@
         "dependencies": [MBED_LIBRARIES],
     },
 
-    # USB Host libraries
-    {
-        "id": "usb_host",
-        "source_dir": USB_HOST,
-        "build_dir": USB_HOST_LIBRARIES,
-        "dependencies": [MBED_LIBRARIES, FAT_FS, MBED_RTX, RTOS_LIBRARIES],
-    },
-
     # DSP libraries
     {
         "id": "dsp",
@@ -73,30 +50,6 @@
         "dependencies": [MBED_LIBRARIES]
     },
 
-    # File system libraries
-    {
-        "id": "fat",
-        "source_dir": [FAT_FS, SD_FS],
-        "build_dir": FS_LIBRARY,
-        "dependencies": [MBED_LIBRARIES]
-    },
-
-    # Network libraries
-    {
-        "id": "eth",
-        "source_dir": [ETH_SOURCES, LWIP_SOURCES],
-        "build_dir": ETH_LIBRARY,
-        "dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES]
-    },
-
-    {
-        "id": "ublox",
-        "source_dir": [UBLOX_SOURCES, CELLULAR_SOURCES, CELLULAR_USB_SOURCES,
-                       LWIP_SOURCES],
-        "build_dir": UBLOX_LIBRARY,
-        "dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES, USB_HOST_LIBRARIES],
-    },
-
     # Unit Testing library
     {
         "id": "cpputest",