From 9c0f3e355194d1c43bf70f35f953d6a2babc815a Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Tue, 1 Feb 2011 14:52:05 -0800 Subject: [PATCH] Build only userdata.img. Use build command like: $make -j16 showcommands userdataimage dist TARGET_PRODUCT=trygon_with_data_preloaded TARGET_BUILD_VARIANT=user Change-Id: I964490e03090c3696d1595c92363273e35cfaed7 --- core/main.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/main.mk b/core/main.mk index 4a530d079..10a01ce5a 100644 --- a/core/main.mk +++ b/core/main.mk @@ -720,6 +720,10 @@ boottarball: $(INSTALLED_BOOTTARBALL_TARGET) .PHONY: userdataimage userdataimage: $(INSTALLED_USERDATAIMAGE_TARGET) +ifneq (,$(filter userdataimage, $(MAKECMDGOALS))) +$(call dist-for-goals, userdataimage, $(BUILT_USERDATAIMAGE_TARGET)) +endif + .PHONY: userdatatarball userdatatarball: $(INSTALLED_USERDATATARBALL_TARGET)