cleanup: move fru-device service code into own directory

Improving repository structure for increasing maintainability.

Change-Id: Ie18131d534b750cacb0746450377a37a880b0dbe
Signed-off-by: Christopher Meis <christopher.meis@9elements.com>
diff --git a/src/meson.build b/src/meson.build
index b8a7f0e..8334e7e 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -5,32 +5,7 @@
 subdir('entity_manager')
 
 if get_option('fru-device')
-    cpp_args_fd = cpp_args
-    if get_option('fru-device-resizefru')
-        cpp_args_fd = cpp_args_fd + ['-DENABLE_FRU_AREA_RESIZE']
-    endif
-    detect_mode = get_option('fru-device-16bitdetectmode')
-    cpp_args_fd += ['-DFRU_DEVICE_16BITDETECTMODE="' + detect_mode + '"']
-    executable(
-        'fru-device',
-        'expression.cpp',
-        'fru_device.cpp',
-        'utils.cpp',
-        'fru_utils.cpp',
-        'fru_reader.cpp',
-        cpp_args: cpp_args_fd,
-        dependencies: [
-            boost,
-            i2c,
-            nlohmann_json_dep,
-            phosphor_logging_dep,
-            sdbusplus,
-            threads,
-            valijson,
-        ],
-        install: true,
-        install_dir: installdir,
-    )
+    subdir('fru_device')
 endif
 
 if get_option('devicetree-vpd')