diff options
author | Doug Zongker <dougz@android.com> | 2009-06-10 14:11:53 -0700 |
---|---|---|
committer | Doug Zongker <dougz@android.com> | 2009-06-11 16:25:29 -0700 |
commit | 9931f7f3c1288171319e9ff7d053ebaad07db720 (patch) | |
tree | 42ae5b40309f6ea3410c5ad496f81368675274f7 /updater/Android.mk | |
parent | 9b9c2114bd7d02200ce43cb9ec513473079dfad9 (diff) | |
download | bootable_recovery-9931f7f3c1288171319e9ff7d053ebaad07db720.zip bootable_recovery-9931f7f3c1288171319e9ff7d053ebaad07db720.tar.gz bootable_recovery-9931f7f3c1288171319e9ff7d053ebaad07db720.tar.bz2 |
edify extensions for OTA package installation, part 1
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).
Diffstat (limited to 'updater/Android.mk')
-rw-r--r-- | updater/Android.mk | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/updater/Android.mk b/updater/Android.mk new file mode 100644 index 0000000..2716d48 --- /dev/null +++ b/updater/Android.mk @@ -0,0 +1,24 @@ +# 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) |