1 ifneq ($(BOARD_GPT_INI),) 2 3 LOCAL_PATH := $(call my-dir) 4 PRIVATE_TOOL_PATH := $(LOCAL_PATH)/gpt_ini2bin.py 5 6 include $(CLEAR_VARS) 7 8 LOCAL_MODULE := gpt.bin 9 LOCAL_MODULE_CLASS := ETC 10 LOCAL_MODULE_PATH := $(PRODUCT_OUT) 11 12 include $(BUILD_SYSTEM)/base_rules.mk 13 14 $(LOCAL_BUILT_MODULE): $(BOARD_GPT_INI) | $(PRIVATE_TOOL_PATH) 15 $(hide) $(PRIVATE_TOOL_PATH) $^ > $@ 16 17 endif 18