Add NO_BLUETOOTH knob to the build process
Requested by: phk Reviewed by: imp (mentor), ru
This commit is contained in:
parent
254ae03ba3
commit
18d948adb1
@ -40,7 +40,9 @@ LSUBDIRS= cam/scsi dev/an dev/bktr dev/firewire dev/ic dev/iicbus \
|
|||||||
security/mac_lomac security/mac_mls security/mac_partition \
|
security/mac_lomac security/mac_mls security/mac_partition \
|
||||||
ufs/ffs ufs/ufs
|
ufs/ffs ufs/ufs
|
||||||
|
|
||||||
|
.if !defined(NO_BLUETOOTH)
|
||||||
LSUBSUBDIRS= netgraph/bluetooth/include
|
LSUBSUBDIRS= netgraph/bluetooth/include
|
||||||
|
.endif
|
||||||
|
|
||||||
# Define SHARED to indicate whether you want symbolic links to the system
|
# Define SHARED to indicate whether you want symbolic links to the system
|
||||||
# source (``symlinks''), or a separate copy (``copies''). ``symlinks'' is
|
# source (``symlinks''), or a separate copy (``copies''). ``symlinks'' is
|
||||||
|
@ -70,10 +70,12 @@ _libusbhid= libusbhid
|
|||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${MACHINE_ARCH} == "i386"
|
.if ${MACHINE_ARCH} == "i386"
|
||||||
_compat= compat
|
.if !defined(NO_BLUETOOTH)
|
||||||
_libbluetooth= libbluetooth
|
_libbluetooth= libbluetooth
|
||||||
_libncp= libncp
|
|
||||||
_libsdp= libsdp
|
_libsdp= libsdp
|
||||||
|
.endif
|
||||||
|
_compat= compat
|
||||||
|
_libncp= libncp
|
||||||
_libsmb= libsmb
|
_libsmb= libsmb
|
||||||
_libvgl= libvgl
|
_libvgl= libvgl
|
||||||
.endif
|
.endif
|
||||||
|
@ -103,6 +103,7 @@
|
|||||||
#NO_CVS= true # do not build CVS
|
#NO_CVS= true # do not build CVS
|
||||||
#NO_CXX= true # do not build C++ and friends
|
#NO_CXX= true # do not build C++ and friends
|
||||||
#NO_BIND= true # do not build BIND
|
#NO_BIND= true # do not build BIND
|
||||||
|
#NO_BLUETOOTH= true # do not build Bluetooth related stuff
|
||||||
#NO_FORTRAN= true # do not build g77 and related libraries
|
#NO_FORTRAN= true # do not build g77 and related libraries
|
||||||
#NO_GDB= true # do not build GDB
|
#NO_GDB= true # do not build GDB
|
||||||
#NO_I4B= true # do not build isdn4bsd package
|
#NO_I4B= true # do not build isdn4bsd package
|
||||||
|
@ -43,7 +43,9 @@ _mppc= mppc
|
|||||||
|
|
||||||
.if ${MACHINE_ARCH} == "i386"
|
.if ${MACHINE_ARCH} == "i386"
|
||||||
# Things that don't compile on alpha or are aout specific:
|
# Things that don't compile on alpha or are aout specific:
|
||||||
|
.if !defined(NO_BLUETOOTH) || defined(ALL_MODULES)
|
||||||
_bluetooth= bluetooth
|
_bluetooth= bluetooth
|
||||||
.endif
|
.endif
|
||||||
|
.endif
|
||||||
|
|
||||||
.include <bsd.subdir.mk>
|
.include <bsd.subdir.mk>
|
||||||
|
@ -264,7 +264,9 @@ _usbhidctl= usbhidctl
|
|||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${MACHINE_ARCH} == "i386"
|
.if ${MACHINE_ARCH} == "i386"
|
||||||
|
.if !defined(NO_BLUETOOTH)
|
||||||
_bluetooth= bluetooth
|
_bluetooth= bluetooth
|
||||||
|
.endif
|
||||||
_doscmd= doscmd
|
_doscmd= doscmd
|
||||||
_ncplist= ncplist
|
_ncplist= ncplist
|
||||||
_ncplogin= ncplogin
|
_ncplogin= ncplogin
|
||||||
|
@ -243,7 +243,9 @@ _acpi= acpi
|
|||||||
_apm= apm
|
_apm= apm
|
||||||
_apmd= apmd
|
_apmd= apmd
|
||||||
_asf= asf
|
_asf= asf
|
||||||
|
.if !defined(NO_BLUETOOTH)
|
||||||
_bluetooth= bluetooth
|
_bluetooth= bluetooth
|
||||||
|
.endif
|
||||||
.if ${MACHINE} == "i386"
|
.if ${MACHINE} == "i386"
|
||||||
_boot0cfg= boot0cfg
|
_boot0cfg= boot0cfg
|
||||||
.endif
|
.endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user