revert "meson: support custom led yaml path"
This reverts commit fcfb2b62c5bc74ce42500c5d3d421860c8a74425.
That commit is no longer needed after we switch to handle the copying
of led.yaml in meta-phosphor.
Signed-off-by: Seires Li <seiresli@pcpartner.com>
Change-Id: I20526480e28ed29e22a2e8982c538b58b85ee911
diff --git a/meson.build b/meson.build
index 6b446ce..46b90af 100644
--- a/meson.build
+++ b/meson.build
@@ -127,19 +127,13 @@
'utils.cpp',
]
-ledyamlpath = get_option('led-yaml-path')
-
-if ledyamlpath == ''
- ledyamlpath = meson.project_source_root()
-endif
-
if get_option('use-json').disabled()
led_gen_hpp = custom_target(
'led-gen.hpp',
command : [
prog_python,
meson.project_source_root() + '/parse_led.py',
- '-i', ledyamlpath,
+ '-i', meson.project_source_root(),
'-o', meson.current_build_dir(),
],
output : 'led-gen.hpp')