modules: acpica: Fix CMakeLists.txt style

Fix indentation to use spaces (instead of tabs) and remove the
unnecessary repetition of the condition inside endif().

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
Johan Hedberg 2023-11-08 09:44:46 +02:00 committed by Fabio Baltieri
parent d69d4013d3
commit 58ba0e1e26

View file

@ -1,7 +1,7 @@
# Copyright (c) 2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
if (CONFIG_ACPI)
if(CONFIG_ACPI)
set(ACPI_DIR ${ZEPHYR_CURRENT_MODULE_DIR}/)
set(INC_DIR ${ACPI_DIR}/source/include/)
set(SRC_DIR ${ACPI_DIR}/source)
@ -29,7 +29,7 @@ if (CONFIG_ACPI)
get_filename_component(libname "${SRC_DIR}/common/" NAME)
if (CONFIG_ACPI_DSDT_SUPPORT)
if(CONFIG_ACPI_DSDT_SUPPORT)
zephyr_library_sources(
${COMP_DIR}/dispatcher/dsargs.c
${COMP_DIR}/dispatcher/dscontrol.c
@ -127,7 +127,7 @@ if (CONFIG_ACPI_DSDT_SUPPORT)
${COMP_DIR}/resources/rsmisc.c
${COMP_DIR}/resources/rsserial.c
)
endif (CONFIG_ACPI_DSDT_SUPPORT)
endif()
zephyr_library_sources(
${COMP_DIR}/tables/tbdata.c
${COMP_DIR}/tables/tbfadt.c
@ -176,4 +176,4 @@ endif (CONFIG_ACPI_DSDT_SUPPORT)
${COMP_DIR}/hardware/hwvalid.c
${SRC_DIR}/os_specific/service_layers/oszephyr.c
)
endif (CONFIG_ACPI)
endif()