blob: 30de0b3ae6e938a65a91ae8b4bcb8e4140350f1e [file] [log] [blame]
Mike Lockwood94afecf2012-10-24 10:45:23 -07001LOCAL_PATH := $(call my-dir)
2
Andreas Gampe99e2b262016-07-09 11:44:12 -07003# OTA slot script
4
5include $(CLEAR_VARS)
6LOCAL_MODULE:= otapreopt_slot
7LOCAL_MODULE_TAGS := optional
8LOCAL_MODULE_CLASS := EXECUTABLES
9LOCAL_SRC_FILES := otapreopt_slot.sh
10LOCAL_INIT_RC := otapreopt.rc
11
12include $(BUILD_PREBUILT)
13
Andreas Gampe01ad5982016-03-09 16:27:29 -080014# OTA postinstall script
15
16include $(CLEAR_VARS)
17LOCAL_MODULE:= otapreopt_script
18LOCAL_MODULE_TAGS := optional
19LOCAL_MODULE_CLASS := EXECUTABLES
20LOCAL_SRC_FILES := otapreopt_script.sh
21
Andreas Gampe99e2b262016-07-09 11:44:12 -070022# Let this depend on otapreopt, the chroot tool and the slot script, so we just have to mention one
23# in a configuration.
24LOCAL_REQUIRED_MODULES := otapreopt otapreopt_chroot otapreopt_slot
Andreas Gampe01ad5982016-03-09 16:27:29 -080025
26include $(BUILD_PREBUILT)