From b4261d9ddd8b6e251d8e1bd5458b365cdd0b7ec7 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Mon, 27 Jun 2011 17:54:16 -0700 Subject: [PATCH] hopefully fix the logic. also address that the tune2fs and mke2fs binaries provided by codeaurora is arm v7, and thus can not be included for all devices. Change-Id: I9ca996c904579fdb5df9a5453d2f1b9448f505db --- Android.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Android.mk b/Android.mk index cebd834..4d72ade 100644 --- a/Android.mk +++ b/Android.mk @@ -88,7 +88,10 @@ ALL_DEFAULT_INSTALLED_MODULES += $(RECOVERY_SYMLINKS) # Now let's do recovery symlinks BUSYBOX_LINKS := $(shell cat external/busybox/busybox-minimal.links) ifndef BOARD_HAS_SMALL_RECOVERY -exclude := tune2fs mke2fs +exclude := tune2fs +ifeq ($(BOARD_HAS_LARGE_FILESYSTEM),true) +exclude += mke2fs +endif endif RECOVERY_BUSYBOX_SYMLINKS := $(addprefix $(TARGET_RECOVERY_ROOT_OUT)/sbin/,$(filter-out $(exclude),$(notdir $(BUSYBOX_LINKS)))) $(RECOVERY_BUSYBOX_SYMLINKS): BUSYBOX_BINARY := busybox