9931f7f3c1
Adds the following edify functions: mount unmount format show_progress delete delete_recursive package_extract symlink set_perm set_perm_recursive This set is enough to extract and install the system part of a (full) OTA package. Adds the updater binary that extracts an edify script from the OTA package and then executes it. Minor changes to the edify core (adds a sleep() builtin for debugging, adds "." to the set of characters that can appear in an unquoted string).
25 lines
471 B
Makefile
25 lines
471 B
Makefile
# Copyright 2009 The Android Open Source Project
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
updater_src_files := \
|
|
install.c \
|
|
updater.c
|
|
|
|
#
|
|
# Build the device-side library
|
|
#
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := $(updater_src_files)
|
|
|
|
LOCAL_STATIC_LIBRARIES := libedify libmtdutils libminzip libz
|
|
LOCAL_STATIC_LIBRARIES += libcutils libstdc++ libc
|
|
LOCAL_C_INCLUDES += $(LOCAL_PATH)/..
|
|
|
|
LOCAL_MODULE := updater
|
|
|
|
LOCAL_FORCE_STATIC_EXECUTABLE := true
|
|
|
|
include $(BUILD_EXECUTABLE)
|