From dc247478c67d663b6e3f5ce639e06b23b54e6aff Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 13 Mar 2017 12:05:23 +0100 Subject: poweroff: Allow to register poweroff handlers Allow to register handlers for poweroff. This allows to have multiple poweroff implementations in a single binary. The implementation is close to the restart handlers. Signed-off-by: Sascha Hauer Signed-off-by: Oleksij Rempel Signed-off-by: Sascha Hauer --- common/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'common/Makefile') diff --git a/common/Makefile b/common/Makefile index 5f58c81d22..8cd0ab3001 100644 --- a/common/Makefile +++ b/common/Makefile @@ -9,6 +9,7 @@ obj-pbl-y += memsize.o obj-y += resource.o obj-y += bootsource.o obj-y += restart.o +obj-y += poweroff.o obj-$(CONFIG_AUTO_COMPLETE) += complete.o obj-$(CONFIG_BANNER) += version.o obj-$(CONFIG_BAREBOX_UPDATE) += bbu.o -- cgit v1.2.3