📄 makefile
字号:
# Makefile - make rules for target/config/ks8695p
#
# Copyright 1999-2001 Wind River Systems, Inc.
#
# modification history
# --------------------
# 06/07/2004 pcd Added "MACH_EXTRA= " and "BOOTCONFIG= " for configure flash
# device to dosFS for both vxWorks and bootrom.
# Added compiler option "EXTRA_DEFINE+=-D$(PCB_FLAGS)" to build bootrom_uncmp.bin
# for KS8695 or KS8695X, or KS8695P.
# 9/15/2003 Ritter Yeh created
#
# DESCRIPTION
# This file contains rules for building VxWorks for the MICREL KS8695P demo board
#
# INCLUDES
# makeTarget
#*/
CPU = ARMARCH4
TOOL = gnu
EXTRA_DEFINE = -Wcomment -DCPU_920T \
-DARMMMU=ARMMMU_920T -DARMCACHE=ARMCACHE_920T
EXTRA_DEFINE +=-D$(PCB_FLAGS)
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)
## Only redefine make definitions below this point, or your definitions will
## be overwritten by the makefile stubs above.
TARGET_DIR = ks8695p
VENDOR = Micrel Inc.
BOARD = KS8695P
RELEASE += bootrom_uncmp.bin
#
# The constants ROM_TEXT_ADRS, ROM_SIZE, and RAM_HIGH_ADRS are defined
# in config.h and Makefile.
# All definitions for these constants must be identical.
#
ROM_TEXT_ADRS = 02800000 # ROM entry address
ROM_SIZE = 00400000 # number of bytes of ROM space
RAM_LOW_ADRS = 00001000 # RAM text/data address
RAM_HIGH_ADRS = 00600000 # RAM text/data address
VMA_START = 0x$(ROM_TEXT_ADRS)
MACH_EXTRA = flashFsLib.o flashDrvLib.o flashAmdMem.o \
usrDosFsOld.o
BOOTCONFIG = ${TGT_DIR}/config/${TARGET_DIR}/bootConfig.c
# Binary version of VxWorks ROM images, suitable for programming
# into Flash using tools provided by ARM. If other ROM images need to
# be put into Flash, add similar rules here.
bootrom.bin: bootrom
- @ $(RM) $@
$(EXTRACT_BIN) -O binary bootrom $@
bootrom_res.bin: bootrom_res
- @ $(RM) $@
$(EXTRACT_BIN) -O binary bootrom_res $@
bootrom_uncmp.bin: bootrom_uncmp
- @ $(RM) $@
$(EXTRACT_BIN) -O binary bootrom_uncmp $@
vxWorks_rom.bin: vxWorks_rom
- @ $(RM) $@
$(EXTRACT_BIN) -O binary vxWorks_rom $@
vxWorks.st_rom.bin: vxWorks.st_rom
- @ $(RM) $@
$(EXTRACT_BIN) -O binary vxWorks.st_rom $@
vxWorks.res_rom.bin: vxWorks.res_rom
- @ $(RM) $@
$(EXTRACT_BIN) -O binary vxWorks.res_rom $@
vxWorks.res_rom_nosym.bin: vxWorks.res_rom_nosym
- @ $(RM) $@
$(EXTRACT_BIN) -O binary vxWorks.res_rom_nosym $@
## Only redefine make definitions above this point, or the expansion of
## makefile target dependencies may be incorrect.
include $(TGT_DIR)/h/make/rules.bsp
#include $(TGT_DIR)/h/make/rules.$(WIND_HOST_TYPE)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -