2010-09-16 09:25:16 +02:00
|
|
|
ifneq ($(strip $(LOCAL_SRC_FILES)),)
|
|
|
|
$(error LOCAL_SRC_FILES are not allowed for phony packages)
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(strip $(LOCAL_REQUIRED_MODULES)),)
|
|
|
|
$(error LOCAL_REQUIRED_MODULES is required for phony packages)
|
|
|
|
endif
|
|
|
|
|
2010-09-28 02:37:17 +02:00
|
|
|
LOCAL_MODULE_CLASS := FAKE
|
|
|
|
LOCAL_MODULE_SUFFIX := -timestamp
|
2010-09-16 09:25:16 +02:00
|
|
|
|
2010-09-28 02:37:17 +02:00
|
|
|
include $(BUILD_SYSTEM)/base_rules.mk
|
2010-09-16 09:25:16 +02:00
|
|
|
|
2010-09-28 02:37:17 +02:00
|
|
|
$(LOCAL_BUILT_MODULE):
|
|
|
|
$(hide) echo "Fake: $@"
|
|
|
|
$(hide) mkdir -p $(dir $@)
|
|
|
|
$(hide) touch $@
|