# Makefile - makefile for src/hwif/fw/bios
#
# Copyright (c) 2010 Wind River Systems, Inc.
#
# The right to copy, distribute, modify or otherwise make use
# of this software may be licensed only pursuant to the terms
# of an applicable Wind River license agreement.
#
# modification history
# --------------------
# 01b,22sep10,sem  Add new IA cpus
# 01a,13apr10,sem  written
#
# DESCRIPTION
# This file contains the makefile rules for building the bios library
#
#*/

TGT_DIR=$(WIND_BASE)/target

LIB_BASE_NAME=drv

# Including defs.library to see if _WRS_CONFIG_LP64 is defined.
# It must be after LIB_BASE_NAME
include $(TGT_DIR)/h/make/defs.library

OBJS_COMMON = 

BIOS_E820_CPUS = PENTIUM4 ATOM CORE NEHALEM

ifdef _WRS_CONFIG_LP64

BIOS_E820_CPUS = CORE2 ATOM CORE NEHALEM

endif

ifeq ($(filter $(CPU),$(BIOS_E820_CPUS)),$(CPU))

OBJS_COMMON	+= vxBiosE820Lib.o

endif

OBJS= $(OBJS_COMMON)

include $(TGT_DIR)/h/make/rules.library

include  $(TGT_DIR)/h/make/defs.drivers
