mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
hsi: Build hsi_boardinfo.c into hsi core if enabled
If the HSI core is built as a module hsi_boardinfo may still be built-in as its Kconfig type is bool, which can cause build issues. Fix this by building this code into the HSI core when enabled. Reported-by: kbuild test robot <[email protected]> Signed-off-by: Andrew F. Davis <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
This commit is contained in:
parent
3c13ab1d96
commit
e01957abd4
3 changed files with 3 additions and 2 deletions
|
|
@ -1,7 +1,8 @@
|
|||
#
|
||||
# Makefile for HSI
|
||||
#
|
||||
obj-$(CONFIG_HSI_BOARDINFO) += hsi_boardinfo.o
|
||||
obj-$(CONFIG_HSI) += hsi.o
|
||||
hsi-objs := hsi_core.o
|
||||
hsi-$(CONFIG_HSI_BOARDINFO) += hsi_boardinfo.o
|
||||
obj-y += controllers/
|
||||
obj-y += clients/
|
||||
|
|
|
|||
Loading…
Reference in a new issue