02c08cc347
The script prints out the boot image header contents and extracts the kernel, ramdisk, second bootloader and recovery DTBO images. Bug: 74763691 Test: unpack_bootimg --boot_img $OUT/recovery.img Change-Id: Iadbca81c157d9e4607f808a14468ab5542347507
20 lines
377 B
Makefile
20 lines
377 B
Makefile
|
|
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := mkbootimg
|
|
LOCAL_MODULE_CLASS := EXECUTABLES
|
|
LOCAL_IS_HOST_MODULE := true
|
|
|
|
LOCAL_MODULE := mkbootimg
|
|
|
|
include $(BUILD_PREBUILT)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_SRC_FILES := unpack_bootimg
|
|
LOCAL_MODULE_CLASS := EXECUTABLES
|
|
LOCAL_IS_HOST_MODULE := true
|
|
|
|
LOCAL_MODULE := unpack_bootimg
|
|
|
|
include $(BUILD_PREBUILT)
|