1 $(call record-module-type,PHONY_PACKAGE) 2 ifneq ($(strip $(LOCAL_SRC_FILES)),) 3 $(error LOCAL_SRC_FILES are not allowed for phony packages) 4 endif 5 6 LOCAL_MODULE_CLASS := FAKE 7 LOCAL_MODULE_SUFFIX := -timestamp 8 9 include $(BUILD_SYSTEM)/base_rules.mk 10 11 $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) 12 $(hide) echo "Fake: $@" 13 $(hide) mkdir -p $(dir $@) 14 $(hide) touch $@ 15