Break out the Crc class to its own library

Change-Id: Iefa21223b9157e25e11f88873541b39292d12872
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index 7e47499..06e660b 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2021 Arm Limited. All rights reserved.
+# Copyright (c) 2021-2022 Arm Limited. All rights reserved.
 #
 # SPDX-License-Identifier: Apache-2.0
 #
@@ -26,4 +26,7 @@
 add_subdirectory(ethosu_monitor)
 
 # Build ethosu_logging
-add_subdirectory(ethosu_log)
\ No newline at end of file
+add_subdirectory(ethosu_log)
+
+# Build crc lib
+add_subdirectory(crc)