34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
# defs.subdirs - Wireless LAN (WLAN) specific SUBDIR definition.
|
|
#
|
|
# Copyright 1996-2004 Wind River Systems, Inc.
|
|
#
|
|
# # modification history
|
|
# --------------------
|
|
# 00d,28sep04,dxb Changed file names to detect driver to be more specific.
|
|
# 00c,10aug04,dxb Changed absolute paths to relative paths.
|
|
# 00b,08jul04,tf Fix Base B0007: Uninstalled comps should not be compiled.
|
|
# 00a,03mar04,tf Written.
|
|
#
|
|
# DESCRIPTION
|
|
# This file defines the list of subdirs to be built for WLAN. This
|
|
# file is included by '$(WIND_BASE)/target/h/make/config/common/defs.subdirs'
|
|
# if the feature set being built includes WLAN comps
|
|
# (i.e., if COMPONENT_WLAN==true).
|
|
#
|
|
# Note that SUBDIRS is extended to include WLAN sub-directories.
|
|
#
|
|
TGT_DIR=$(WIND_BASE)/target
|
|
|
|
IS_DOT11B := $(wildcard $(TGT_DIR)/h/wrn/wlan/intPrismHw.h)
|
|
IS_DOT11ABG := $(wildcard $(TGT_DIR)/h/drv/wlan/dot11HddLib.h)
|
|
|
|
# first build the original 802.11b driver if it exists
|
|
ifneq ($(IS_DOT11B),)
|
|
SUBDIRS += wrn/wlan
|
|
endif
|
|
|
|
# next build the new 802.11a/b/g driver if it exists
|
|
ifneq ($(IS_DOT11ABG),)
|
|
SUBDIRS += drv/wlan
|
|
endif
|