Skip to content

Commit

Permalink
drivers: hwinfo: fix shell dependency
Browse files Browse the repository at this point in the history
The hwinfo shell uses shell functions and thus doesn't build when
CONFIG_SHELL=n. Fix that by adding a dependency on SHELL.

Signed-off-by: Aurelien Jarno <[email protected]>
  • Loading branch information
aurel32 authored and nashif committed Feb 10, 2019
1 parent 0e4ff80 commit 2682170
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/hwinfo/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ if HWINFO

config HWINFO_SHELL
bool "Enable HWINFO Shell"
depends on SHELL
help
Enable hwinfo Shell for testing.

Expand Down

0 comments on commit 2682170

Please sign in to comment.