[Samsung Galaxy Player 4.0, 5.0] dorfd1:
LOCAL_PATH := $(call my-dir)

# Uncompress ramdisk.img to avoid double compression
uncompressed_ramdisk := $(PRODUCT_OUT)/ramdisk.cpio
$(uncompressed_ramdisk): $(INSTALLED_RAMDISK_TARGET)
$(MINIGZIP) -d < $(INSTALLED_RAMDISK_TARGET) > $@

# Add ramdisk dependencies to kernel
TARGET_KERNEL_BINARIES: $(recovery_ramdisk) $(uncompressed_ramdisk) $(PRODUCT_OUT)/symbols/system/bin/flash_image $(PRODUCT_OUT)/utilities/busybox $(PRODUCT_OUT)/symbols/system/bin/make_ext4fs $(PRODUCT_OUT)/utilities/erase_image $(PRODUCT_OUT)/symbols/system/bin/bml_over_mtd

#

INSTALLED_BOOTIMAGE_TARGET := $(PRODUCT_OUT)/boot.img
$(INSTALLED_BOOTIMAGE_TARGET): $(INSTALLED_KERNEL_TARGET)
$(call pretty,"Boot image: $@")
$(hide) $(ACP) $(INSTALLED_KERNEL_TARGET) $@

$(INSTALLED_RECOVERYIMAGE_TARGET): $(INSTALLED_BOOTIMAGE_TARGET)
$(ACP) $(INSTALLED_BOOTIMAGE_TARGET) $@

my shbootimg.mk

Export includes file: system/core/adf/libadf/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libadf_intermediates/export_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libadf_intermediates/import_includes
Export includes file: external/zlib/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/libz_intermediates/export_includes
Export includes file: system/core/libbacktrace/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/libbacktrace_intermediates/export_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libz_intermediates/import_includes
Export includes file: external/stlport/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/libstlport_intermediates/export_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libstdc++_intermediates/import_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libsuspend_intermediates/import_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libhealthd.default_intermediates/import_includes
Export includes file: system/core/healthd/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/EXECUTABLES/healthd_intermediates/export_includes
Notice file: external/libpng/NOTICE -- /home/owner/android/system/out/target/product/ypg1/obj/NOTICE_FILES/src//system/lib/libpng.a.txt
Notice file: external/zlib/NOTICE -- /home/owner/android/system/out/target/product/ypg1/obj/NOTICE_FILES/src//system/lib/libz.a.txt
Notice file: system/core/libutils/NOTICE -- /home/owner/android/system/out/target/product/ypg1/obj/NOTICE_FILES/src//system/lib/libutils.a.txt
Notice file: bionic/libc/NOTICE -- /home/owner/android/system/out/target/product/ypg1/obj/NOTICE_FILES/src//system/lib/libstdc++.a.txt
Export includes file: external/f2fs-tools/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libf2fs_fmt_intermediates/export_includes
Export includes file: external/e2fsprogs/lib/uuid/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libext2_uuid_static_intermediates/export_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libf2fs_fmt_intermediates/import_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libext2_uuid_static_intermediates/import_includes
Export includes file: external/f2fs-tools/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/EXECUTABLES/mkfs.f2fs_intermediates/export_includes
Notice file: external/f2fs-tools/NOTICE -- /home/owner/android/system/out/target/product/ypg1/obj/NOTICE_FILES/src//root/sbin/mkfs.f2fs.txt
Notice file: external/f2fs-tools/NOTICE -- /home/owner/android/system/out/target/product/ypg1/obj/NOTICE_FILES/src//system/lib/libf2fs_fmt.a.txt
Import includes file: /home/owner/android/system/out/host/linux-x86/obj32/EXECUTABLES/checkseapp_intermediates/import_includes
Export includes file: external/sepolicy/tools/Android.mk -- /home/owner/android/system/out/host/linux-x86/obj32/EXECUTABLES/checkseapp_intermediates/export_includes
Notice file: external/sepolicy/NOTICE -- /home/owner/android/system/out/target/product/ypg1/obj/NOTICE_FILES/src//root/seapp_contexts.txt
Notice file: external/sepolicy/NOTICE -- /home/owner/android/system/out/target/product/ypg1/obj/NOTICE_FILES/src//root/selinux_version.txt
Notice file: external/sepolicy/NOTICE -- /home/owner/android/system/out/target/product/ypg1/obj/NOTICE_FILES/src//root/sepolicy.txt
Notice file: external/sepolicy/NOTICE -- /home/owner/android/system/out/target/product/ypg1/obj/NOTICE_FILES/src//root/service_contexts.txt
make: Circular /home/owner/android/system/out/target/product/ypg1/ramdisk-recovery.img <- /home/owner/android/system/out/target/product/ypg1/boot.img dependency dropped.
Target buildinfo: /home/owner/android/system/out/target/product/ypg1/root/default.prop
Export includes file: bootable/recovery/minzip/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libminzip_intermediates/export_includes
build/tools/post_process_props.py /home/owner/android/system/out/target/product/ypg1/root/default.prop
Export includes file: bootable/recovery/mtdutils/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libmtdutils_intermediates/export_includes
Export includes file: bootable/recovery/minadbd/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libminadbd_intermediates/export_includes
Export includes file: bootable/recovery/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libfusesideload_intermediates/export_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libsparse_static_intermediates/import_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libminzip_intermediates/import_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libmtdutils_intermediates/import_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libminadbd_intermediates/import_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libfusesideload_intermediates/import_includes
Export includes file: bootable/recovery/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/EXECUTABLES/recovery_intermediates/export_includes
Target buildinfo: /home/owner/android/system/out/target/product/ypg1/system/build.prop
host Java: bouncycastle-host (/home/owner/android/system/out/host/common/obj/JAVA_LIBRARIES/bouncycastle-host_intermediates/classes)
Target buildinfo from: device/samsung/ypg1/system.prop
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/EXECUTABLES/flash_image_intermediates/import_includes
find: `/home/owner/android/system/out/target/product/ypg1/obj/EXECUTABLES/busybox_intermediates': No such file or directory
Prepare config for busybox binary
make -C external/busybox prepare O=/home/owner/android/system/out/target/product/ypg1/obj/busybox/full
make[1]: Entering directory `/home/owner/android/system/external/busybox'
GEN /home/owner/android/system/out/target/product/ypg1/obj/busybox/full/Makefile
GEN include/applets.h
GEN include/usage.h
GEN networking/Kbuild
GEN networking/Config.in
GEN networking/udhcp/Kbuild
GEN networking/udhcp/Config.in
GEN networking/libiproute/Kbuild
GEN runit/Kbuild
GEN runit/Config.in
GEN sysklogd/Kbuild
GEN sysklogd/Config.in
GEN shell/Kbuild
GEN shell/Config.in
GEN modutils/Kbuild
GEN modutils/Config.in
GEN findutils/Kbuild
GEN findutils/Config.in
GEN debianutils/Kbuild
GEN debianutils/Config.in
GEN loginutils/Kbuild
GEN loginutils/Config.in
GEN procps/Kbuild
GEN procps/Config.in
GEN util-linux/Kbuild
GEN util-linux/Config.in
GEN util-linux/volume_id/Kbuild
GEN util-linux/volume_id/Config.in
GEN miscutils/Kbuild
GEN miscutils/Config.in
GEN libbb/Kbuild
GEN libbb/Config.in
GEN e2fsprogs/Kbuild
GEN e2fsprogs/Config.in
GEN e2fsprogs/old_e2fsprogs/Kbuild
GEN e2fsprogs/old_e2fsprogs/Config.in
GEN e2fsprogs/old_e2fsprogs/ext2fs/Kbuild
GEN e2fsprogs/old_e2fsprogs/uuid/Kbuild
GEN e2fsprogs/old_e2fsprogs/e2p/Kbuild
GEN e2fsprogs/old_e2fsprogs/blkid/Kbuild
GEN editors/Kbuild
GEN editors/Config.in
GEN printutils/Kbuild
GEN printutils/Config.in
GEN mailutils/Kbuild
GEN mailutils/Config.in
GEN applets/Kbuild
GEN libpwdgrp/Kbuild
GEN scripts/Kbuild
GEN console-tools/Kbuild
GEN console-tools/Config.in
GEN coreutils/Kbuild
GEN coreutils/Config.in
GEN coreutils/libcoreutils/Kbuild
GEN archival/Kbuild
GEN archival/Config.in
GEN archival/libarchive/Kbuild
GEN selinux/Kbuild
GEN selinux/Config.in
GEN init/Kbuild
GEN init/Config.in
Using /home/owner/android/system/external/busybox as source for busybox
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/split-include
/home/owner/android/system/external/busybox/scripts/basic/split-include.c: In function ‘main’:
/home/owner/android/system/external/busybox/scripts/basic/split-include.c:134:11: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
HOSTCC scripts/basic/docproc
GEN /home/owner/android/system/out/target/product/ypg1/obj/busybox/full/Makefile
HOSTCC scripts/kconfig/conf.o
/home/owner/android/system/external/busybox/scripts/kconfig/conf.c: In function ‘conf_choice’:
/home/owner/android/system/external/busybox/scripts/kconfig/conf.c:354:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
/home/owner/android/system/external/busybox/scripts/kconfig/conf.c: In function ‘conf_askvalue’:
/home/owner/android/system/external/busybox/scripts/kconfig/conf.c:106:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/mconf.o
/home/owner/android/system/external/busybox/scripts/kconfig/mconf.c: In function ‘show_textbox’:
/home/owner/android/system/external/busybox/scripts/kconfig/mconf.c:847:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
/home/owner/android/system/external/busybox/scripts/kconfig/mconf.c: In function ‘exec_conf’:
/home/owner/android/system/external/busybox/scripts/kconfig/mconf.c:481:6: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result]
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s Config.in
#
# using defaults found in .config
#
Export includes file: external/busybox/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libclearsilverregex_intermediates/export_includes
Export includes file: external/busybox/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libuclibcrpc_intermediates/export_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libclearsilverregex_intermediates/import_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libuclibcrpc_intermediates/import_includes
Export includes file: external/busybox/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/UTILITY_EXECUTABLES/static_busybox_intermediates/export_includes
Export includes file: system/extras/ext4_utils/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/libext4_utils_intermediates/export_includes
Export includes file: external/libselinux/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/libselinux_intermediates/export_includes
Export includes file: system/core/libsparse/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/libsparse_intermediates/export_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/libselinux_intermediates/import_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/libsparse_intermediates/import_includes
make: *** No rule to make target `/home/owner/android/system/out/target/product/ypg1/utilities/erase_image', needed by `TARGET_KERNEL_BINARIES'. Stop.
make: *** Waiting for unfinished jobs....
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/libz_intermediates/import_includes
SPLIT include/autoconf.h -> include/config/*
HOSTCC applets/usage
/home/owner/android/system/external/busybox/applets/usage.c: In function ‘main’:
/home/owner/android/system/external/busybox/applets/usage.c:52:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
HOSTCC applets/applet_tables
GEN include/bbconfigopts.h
/home/owner/android/system/external/busybox/applets/applet_tables.c: In function ‘main’:
/home/owner/android/system/external/busybox/applets/applet_tables.c:144:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
GEN include/usage_compressed.h
GEN include/applet_tables.h
HOSTCC applets/usage_pod
CC applets/applets.o
LD applets/built-in.o
make[1]: Leaving directory `/home/owner/android/system/external/busybox'