|
谁知道?
放OPTION.MAK和放在程序里,有什么分别?
ifeq ($(strip $(USB_SUPPORT)),TRUE)
COM_DEFS += __USB_ENABLE__ __NVRAM_IN_USB_MS__
ifeq ($(strip $(BOARD_VER)),MT6228_EVB)
COM_DEFS += _USB_VBUS_DETECT_WITH_NIRQ_
endif
ifeq ($(strip $(BOARD_VER)),MT6229_EVB)
COM_DEFS += _USB_VBUS_DETECT_WITH_NIRQ_
endif
ifeq ($(strip $(BOARD_VER)),MT6229_MGM_EVB)
COM_DEFS += _USB_VBUS_DETECT_WITH_NIRQ_
endif
ifeq ($(strip $(BOARD_VER)),MT6230_EVB)
COM_DEFS += _USB_VBUS_DETECT_WITH_NIRQ_
endif
ifeq ($(strip $(PLATFORM)),MT6235)
COM_DEFS += __CHARGER_USB_DETECT_WIHT_ONE_EINT__
endif
ifeq ($(strip $(PLATFORM)),MT6235B)
COM_DEFS += __CHARGER_USB_DETECT_WIHT_ONE_EINT__
endif
ifeq ($(strip $(PLATFORM)),MT6236)
COM_DEFS += __CHARGER_USB_DETECT_WIHT_ONE_EINT__
endif
ifeq ($(strip $(PLATFORM)),MT6236B)
COM_DEFS += __CHARGER_USB_DETECT_WIHT_ONE_EINT__
endif
ifeq ($(strip $(PLATFORM)),MT6238)
COM_DEFS += __CHARGER_USB_DETECT_WIHT_ONE_EINT__
endif
ifeq ($(strip $(PLATFORM)),MT6239)
COM_DEFS += __CHARGER_USB_DETECT_WIHT_ONE_EINT__
endif
ifeq ($(strip $(PLATFORM)),MT6268A)
COM_DEFS += __CHARGER_USB_DETECT_WIHT_ONE_EINT__
endif |
|