forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information
Showing
3 changed files
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/ |
File renamed without changes.