aboutsummaryrefslogtreecommitdiffstats
path: root/init/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'init/Android.mk')
-rw-r--r--init/Android.mk10
1 files changed, 7 insertions, 3 deletions
diff --git a/init/Android.mk b/init/Android.mk
index 7dae9df8..a1c1e7ae 100644
--- a/init/Android.mk
+++ b/init/Android.mk
@@ -15,7 +15,8 @@ LOCAL_SRC_FILES:= \
signal_handler.c \
init_parser.c \
ueventd.c \
- ueventd_parser.c
+ ueventd_parser.c \
+ watchdogd.c
ifeq ($(strip $(INIT_BOOTCHART)),true)
LOCAL_SRC_FILES += bootchart.c
@@ -42,8 +43,11 @@ endif
include $(BUILD_EXECUTABLE)
-# Make a symlink from /sbin/ueventd to /init
-SYMLINKS := $(TARGET_ROOT_OUT)/sbin/ueventd
+# Make a symlink from /sbin/ueventd and /sbin/watchdogd to /init
+SYMLINKS := \
+ $(TARGET_ROOT_OUT)/sbin/ueventd \
+ $(TARGET_ROOT_OUT)/sbin/watchdogd
+
$(SYMLINKS): INIT_BINARY := $(LOCAL_MODULE)
$(SYMLINKS): $(LOCAL_INSTALLED_MODULE) $(LOCAL_PATH)/Android.mk
@echo "Symlink: $@ -> ../$(INIT_BINARY)"