Makefile
资源名称:idt438.rar [点击查看]
上传用户:yingyi0918
上传日期:2022-06-26
资源大小:214k
文件大小:2k
源码类别:
VxWorks
开发平台:
C/C++
- # Makefile - make rules for bsp/config/idt79pmc438
- #
- # Copyright 1984-2002 Wind River Systems, Inc.
- #
- # This file has been developed or significantly modified by the
- # MIPS Center of Excellence Dedicated Engineering Staff.
- # This notice is as per the MIPS Center of Excellence Master Partner
- # Agreement, do not remove this notice without checking first with
- # WR/Platforms MIPS Center of Excellence engineering management.
- #
- # modification history
- # --------------------
- # 01a,19Jun02,krao New from IDT modified for IDT 79PMC438 Board
- #
- # DESCRIPTION
- # This file contains rules for building VxWorks for the IDT79PMC438.
- #
- #
- CPU = MIPS32
- TOOL = sfgnu
- TGT_DIR=$(WIND_BASE)/target
- include $(TGT_DIR)/h/make/defs.bsp
- include $(TGT_DIR)/h/make/make.$(CPU)$(TOOL)
- include $(TGT_DIR)/h/make/defs.$(WIND_HOST_TYPE)
- CONFIG_ALL=$(SRC_DIR)/all
- ## Only redefine make definitions below this point, or your definitions will
- ## be overwritten by the makefile stubs above.
- # Add some options to CFLAGS for drivers and platform
- # To enable HINT PCI bridge support add -DPCI_DECOUPLED -DHB_RESET_HACK. Also
- # add -DPCI_DECOUPLED in ../../../config/Makefile.vxworks-idt438
- CFLAGS += -DBROADCOM_BSP -DVXWORKS -DBRINGUP # -DPCI_DECOUPLED -DHB_RESET_HACK #-DPCI_INTA_HACK
- TARGET_DIR = idt438
- VENDOR = IDT
- BOARD = 438
- CFLAGS +=-DCPU_VAR=RC32364 -DTARGETOS_vxWorks -Dvxworks -DIDT438
- # The constants ROM_TEXT_ADRS, ROM_SIZE, RAM_LOW_ADRS and
- # RAM_HIGH_ADRS are defined in config.h and Makefile.
- # All definitions for these constants must be identical.
- #
- ROM_TEXT_ADRS = bfc00000 # ROM entry address
- ROM_SIZE = 00100000 # number of bytes of ROM space
- RAM_LOW_ADRS = 80100000 # RAM text/data address
- RAM_HIGH_ADRS = 80c10000 # RAM text/data address
- ## XModem driver, fix flags!
- #XMODEM_FLAGS = $(CFLAGS) -DIDT438
- #XMODEM_SRC_DIR = ../../drv/xmodem
- #XMODEM_OBJS = xmodem/xmodem.o xmodem/getput.o xmodem/misc.o
- # xmodem/send.o xmodem/receive.o xmodem/batch.o xmodem/rtcTime.o
- #xmodem/%.o : $(XMODEM_SRC_DIR)/%.c
- # mkdir -p xmodem
- # $(CC) -I$(XMODEM_SRC_DIR) $(XMODEM_FLAGS) -c $< -o $@
- bsplib_clean:
- echo "bsplib_clean"
- MACH_EXTRA = idt32438End.o $(XMODEM_OBJS)
- BOOT_EXTRA =
- CPU_VARIANT = _mti4kx
- include $(TGT_DIR)/h/make/rules.bsp
- include $(TGT_DIR)/h/make/rules.$(WIND_HOST_TYPE)