state: only build circular backend if MTD is enabled
The circular backend depends on MTD symbols and is only useful
if MTD is present. Exclude it from the build if MTD is not enabled.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 2ccd600 commit f3895311ef49171b58b5ea1f06942408c8685a1e
@Lucas Stach Lucas Stach authored on 22 Jul 2016
Sascha Hauer committed on 25 Jul 2016
Showing 2 changed files
View
common/state/Makefile
View
common/state/backend_storage.c