02.03.2014 Views

BSP Developer's Guide

BSP Developer's Guide

BSP Developer's Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

B<br />

Upgrading a <strong>BSP</strong> for<br />

Tornado 2.2<br />

This chapter discusses the migration of a <strong>BSP</strong> to VxWorks 5.5. It includes<br />

information on both architecture-independent and architecture-dependent issues.<br />

B.1 Architecture-Independent Changes to <strong>BSP</strong>s<br />

<strong>BSP</strong> Makefile Changes and the bspCnvtT2_2 Tool<br />

The <strong>BSP</strong> makefile has been simplified by minimizing the number of include<br />

statements needed. In particular, prior to Tornado 2.2, a makefile needed several<br />

includes, as shown in Example B-1.<br />

Example B-1 Makefile includes Prior to Tornado 2.2<br />

...<br />

include $(TGT_DIR)/h/make/defs.bsp<br />

include $(TGT_DIR)/h/make/make.$(CPU)$(TOOL)<br />

include $(TGT_DIR)/h/make/defs.$(WIND_HOST_TYPE)<br />

...<br />

include $(TGT_DIR)/h/make/rules.bsp<br />

include $(TGT_DIR)/h/make/rules.$(WIND_HOST_TYPE)<br />

...<br />

In Tornado 2.2, only two of these include statements are necessary:<br />

211

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!