#=============================================================================
#
#    packages
#
#    This file lists the available packages.
#
#=============================================================================
#####COPYRIGHTBEGIN####
#
# -------------------------------------------
# The contents of this file are subject to the Cygnus eCos Public License
# Version 1.0 (the "License"); you may not use this file except in
# compliance with the License.  You may obtain a copy of the License at
# http://sourceware.cygnus.com/ecos
# 
# Software distributed under the License is distributed on an "AS IS"
# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.  See the
# License for the specific language governing rights and limitations under
# the License.
# 
# The Original Code is eCos - Embedded Cygnus Operating System, released
# September 30, 1998.
# 
# The Initial Developer of the Original Code is Cygnus.  Portions created
# by Cygnus are Copyright (C) 1998,1999 Cygnus Solutions.  All Rights Reserved.
# -------------------------------------------
#
#####COPYRIGHTEND####
#=============================================================================
######DESCRIPTIONBEGIN####
#
# Author(s):	bartv
# Contributors:	bartv
# Date:		1998-04-11
#
# Purpose:      To provide the interim build system with information
#               about the various packages.
#
# Description:  This file defines details of the available packages.
#		HAL packages are not contained within this file.
#		They are handled by the targets file instead.
#
# Usage:
#
#####DESCRIPTIONEND####
#===============================================================================
#

#
# Format of this file:
#
# Each package is defined by a statement of the form:
#	package <name> <body>
#
# The name of the package should correspond to the formal name of the package
# as per CDL, for example CYGPKG_KERNEL. Most of the time aliases will be
# uses instead.
#
# The body can contain the following commands:
#
# 1) alias		one or more aliases for this target. The first alias will
#			be used for output purposes. All aliases will be accepted
#			as input, and the input matching is not case-sensitive.
#
# 2) directory		the package's location within the component repository.
#
# 3) default_value	whether or not this package should be enabled by default.
#			Currently the main packages such as the kernel are enabled,
#			but support packages such as the Common Device Code are
#			enabled only if there is a device driver that uses them.
#
# 4) include_dir	the location in the install tree where the header files
#			should go.
#
# 5) hardware	        a flag indicating that this package is normally associated
#                       with specific hardware, and hence should only be enabled
#                       for appropriate hardware.

package CYGPKG_HAL {
        alias		{ "eCos common HAL" hal hal_common }
	directory	hal/common
	default_value	1
	include_dir	cyg/hal
}

package CYGPKG_INFRA {
	alias 		{ Infrastructure infra }
	directory	infra
	default_value	1
	include_dir	cyg/infra
}

package CYGPKG_KERNEL {
	alias		{ "eCos kernel" kernel }
	directory	kernel
	default_value	1
	include_dir	cyg/kernel
}

package CYGPKG_UITRON {
	alias		{ "uITRON compatibility" uitron }
	directory	compat/uitron
	default_value	1
	include_dir	cyg/compat/uitron
}

package CYGPKG_LIBC {
	alias		{ "C Library" libc clib clibrary }
	directory	language/c/libc
	default_value	1
}

package CYGPKG_LIBM {
	alias		{ "Math Library" libm mathlib mathlibrary }
	directory	language/c/libm
	default_value	1
}

package CYGPKG_ERROR {
	alias 		{ "Common error code support" error errors }
	directory	error
	default_value	1
	include_dir	cyg/error
}

package CYGPKG_HAL_ARM {
	alias		{ "ARM common HAL" hal_arm arm_hal arm_arch_hal }
	directory	hal/arm/arch
        include_dir	cyg/hal
	hardware
}

package CYGPKG_HAL_ARM_PID {
	alias		{ "Arm Development board support" hal_arm_pid arm_pid_hal }
	directory	hal/arm/pid
        include_dir	cyg/hal
	hardware
}

package CYGPKG_HAL_ARM_AEB {
	alias		{ "Arm evaluation board (AEB-1) support" hal_arm_aeb arm_aeb_hal }
	directory	hal/arm/aeb
        include_dir	cyg/hal
	hardware
}

package CYGPKG_HAL_ARM_CL7211 {
	alias		{ "Cirrus Logic CL7211 evaluation board support" hal_arm_cl7211 arm_cl7211_hal }
	directory	hal/arm/cl7211
        include_dir	cyg/hal
	hardware
}


package CYGPKG_HAL_I386 {
	alias		{ "i386 common HAL" hal_i386 i386_hal i386_arch_hal }
	directory	hal/i386/arch
	include_dir	cyg/hal
	hardware
}

package CYGPKG_HAL_I386_LINUX {
	alias		{ "Linux Synthetic target support" hal_i386_linux }
	directory	hal/i386/linux
	include_dir	cyg/hal
	hardware
}

package CYGPKG_HAL_MIPS {
	alias		{ "MIPS common HAL" hal_mips mips_hal mips_arch_hal }
	directory	hal/mips/arch/
        include_dir	cyg/hal
	hardware
}

package CYGPKG_HAL_MIPS_SIM {
	alias		{ "MIPS simulator support" hal_mips_sim mips_sim_hal }
	directory	hal/mips/sim
        include_dir	cyg/hal
	hardware
}

package CYGPKG_HAL_MN10300 {
	alias		{ "MN10300 common HAL" hal_mn10300 mn10300_hal mn10300_arch_hal }
	directory	hal/mn10300/arch
	include_dir	cyg/hal
	hardware
}

package CYGPKG_HAL_MN10300_AM31 {
	alias		{ "MN10300 AM31 variant HAL" hal_mn10300_am31 mn10300_am31_hal }
	directory	hal/mn10300/am31
	include_dir	cyg/hal
	hardware
}

package CYGPKG_HAL_MN10300_AM31_STDEVAL1 {
	alias		{ "MN10300 stdeval1 support" hal_mn10300_stdeval1 mn10300_stdeval1_hal }
	directory	hal/mn10300/stdeval1
	include_dir	cyg/hal
	hardware
}

package CYGPKG_HAL_MN10300_AM31_SIM {
	alias		{ "MN10300 simulator support" hal_mn10300_sim mn10300_sim_hal }
	directory	hal/mn10300/sim
        include_dir	cyg/hal
	hardware
}

package CYGPKG_HAL_POWERPC {
	alias		{ "PowerPC common HAL" hal_powerpc powerpc_hal powerpc_arch_hal }
	directory	hal/powerpc/arch
        include_dir	cyg/hal
	hardware
}

package CYGPKG_HAL_POWERPC_COGENT {
	alias		{ "PowerPC Cogent board support" hal_powerpc_cogent powerpc_cogent_hal }
	directory	hal/powerpc/cogent
        include_dir	cyg/hal
	hardware
}

package CYGPKG_HAL_POWERPC_FADS {
	alias		{ "PowerPC Motorola FADS board support" hal_powerpc_fads powerpc_fads_hal }
	directory	hal/powerpc/fads
        include_dir	cyg/hal
	hardware
}

package CYGPKG_HAL_POWERPC_MBX {
	alias		{ "PowerPC Motorola MBX860/821 board support" hal_powerpc_mbx powerpc_mbx_hal }
	directory	hal/powerpc/mbx
        include_dir	cyg/hal
	hardware
}
package CYGPKG_HAL_QUICC {
	alias		{ "PowerPC MBX860/821 QUICC support" hal_quicc quicc_hal quicc }
	directory	hal/powerpc/quicc
        include_dir	cyg/hal/quicc
	hardware
}
package CYGPKG_HAL_POWERPC_SIM {
	alias		{ "PowerPC simulator support" hal_powerpc_sim powerpc_sim_hal }
	directory	hal/powerpc/sim
        include_dir	cyg/hal
	hardware
}

package CYGPKG_HAL_SPARCLITE {
	alias		{ "SPARClite common HAL" hal_sparclite sparclite_hal sparclite_arch_hal }
	directory	hal/sparclite/arch
        include_dir	cyg/hal
	hardware
}

package CYGPKG_HAL_SPARCLITE_SLEB {
	alias		{ "SPARClite Evaluation Board support" hal_sparclite_sleb sparclite_sleb_hal }
	directory	hal/sparclite/sleb
        include_dir	cyg/hal
	hardware
}

package CYGPKG_HAL_SPARCLITE_SIM {
	alias		{ "SPARClite ERC32 simulator support" hal_sparclite_sim sparclite_sim_hal }
	directory	hal/sparclite/sim
        include_dir	cyg/hal
	hardware
}

package CYGPKG_HAL_MIPS_TX39 {
	alias		{ "TX39 chip HAL" hal_tx39 tx39_hal tx39_arch_hal }
	directory	hal/mips/tx39/
        include_dir	cyg/hal
	hardware
}

package CYGPKG_HAL_MIPS_TX39_JMR3904 {
	alias		{ "TX39 jmr3904 support" hal_tx39_jmr3904 tx39_jmr3904_hal }
	directory	hal/mips/jmr3904
        include_dir	cyg/hal
	hardware
}

package CYGPKG_IO	{
	alias		{ "Common I/O Code" io io_common }
	directory	io/common
	default_value	1
	include_dir	cyg/io
}

package CYGPKG_IO_SERIAL	{
	alias		{ "Serial Device Drivers" io_serial io_serial_common }
	directory	io/serial
	default_value	1
	include_dir	cyg/io
}

package CYGPKG_DEVICES_WALLCLOCK {
	alias		{ "Wallclock Device Code" wallclock devices_wallclock device_wallclock }
	directory	devs/wallclock
	default_value	1
	include_dir	cyg/devs
}

package CYGPKG_DEVICES_WATCHDOG {
	alias		{ "Watchdog Device Code" watchdog devices_watchdog device_watchdog }
	directory	devs/watchdog
	default_value	1
	include_dir	cyg/devs
}

