diff options
Diffstat (limited to 'common/spi/flash_reg/build.mk')
-rw-r--r-- | common/spi/flash_reg/build.mk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/common/spi/flash_reg/build.mk b/common/spi/flash_reg/build.mk new file mode 100644 index 0000000000..5d6c9f10bf --- /dev/null +++ b/common/spi/flash_reg/build.mk @@ -0,0 +1,11 @@ +# -*- makefile -*- +# Copyright 2022 The ChromiumOS Authors +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +SELF_DIR := $(dir $(lastword $(MAKEFILE_LIST))) +REL_PATH := $(shell realpath --relative-to $(_common_dir) $(SELF_DIR)) + +includes+=$(REL_PATH)public +common-$(CONFIG_SPI_FLASH)+=$(REL_PATH)/src/spi_flash_reg.o +common-$(CONFIG_SPI_FLASH_REGS)+=$(REL_PATH)/src/spi_flash_reg.o |