diff options
Diffstat (limited to 'toolbox/Android.mk')
-rw-r--r-- | toolbox/Android.mk | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/toolbox/Android.mk b/toolbox/Android.mk index ef0593a04..afe66a3a8 100644 --- a/toolbox/Android.mk +++ b/toolbox/Android.mk @@ -21,18 +21,22 @@ ifeq ($(TWHAVE_SELINUX), true) endif LOCAL_SRC_FILES := \ - dynarray.c \ toolbox.c \ $(patsubst %,%.c,$(TOOLS)) -TOOLS += reboot - -ifeq ($(BOARD_USES_BOOTMENU),true) - LOCAL_SRC_FILES += ../../../external/bootmenu/libreboot/reboot.c -else - LOCAL_SRC_FILES += reboot.c +ifneq ($(wildcard system/core/toolbox/dynarray.c),) + LOCAL_SRC_FILES += dynarray.c endif +# reboot.c was removed in 4.4 kitkat +#TOOLS += reboot + +#ifeq ($(BOARD_USES_BOOTMENU),true) +# LOCAL_SRC_FILES += ../../../external/bootmenu/libreboot/reboot.c +#else +# LOCAL_SRC_FILES += reboot.c +#endif + LOCAL_C_INCLUDES := bionic/libc/bionic LOCAL_SHARED_LIBRARIES := \ |