if PACKAGE_bcm963xx-bsp
menu "Configuration"

config BCM_OPEN
	bool
	prompt "Build package from public SDK"
	default n
	help
	  Set this to build the package using a release tarball with the proprietary source code removed.

config BCM_KERNEL_PROFILE
	string
	prompt "Broadcom kernel profile"
	default "947622GW_WL22D1GA" if TARGET_SUBTARGET="bcm947622"
	default "963138G" if TARGET_SUBTARGET="bcm963138"
	default "963146GW_WL22D1GA" if TARGET_SUBTARGET="bcm963146"
	default "963158GW_WL22D1GA" if TARGET_SUBTARGET="bcm963158"
	default "963178GW_WL22D1GA" if TARGET_SUBTARGET="bcm963178"
	default "96846GOV" if TARGET_SUBTARGET="bcm96846"
	default "96856GWO_WL21D2GA" if TARGET_SUBTARGET="bcm96856"
	default "96858GWO_WL22D1GA" if TARGET_SUBTARGET="bcm96858"
	default "968880GWO_WL22D1GA" if TARGET_SUBTARGET="bcm968880"
	default "96368GWV"
	help
	  Profile to build the broadcom software with, 96368GWV, 963268GWV, 96362GWV, 96816GWV, 96816OV

menu "Toolchains"

	config BRCM_ALT_TOOLCHAIN_BASE
	string "Toolchain Base Directory"
	default "/opt/toolchains"
	help
	  Base path to toolchains

	config BRCM_ALT_ARM_TOOLCHAIN_TOPDIR
	string "ARM toolchain top directory"
	default "crosstools-arm-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1"
	help
	  ARM toolchain basename

	config BRCM_ALT_ARM_TOOLCHAIN_PREFIX
	string "ARM toolchain prefix"
	default "arm-buildroot-linux-gnueabi"
	help
	  ARM cross compiler prefix

	config BRCM_ALT_ARM_TOOLCHAIN_VER
	string "ARM toolchain version"
	default "10.3.0"
	help
	  ARM toolchain version

	config BRCM_ALT_ARM_TOOLCHAIN_SYSROOT_DIR
	string "ARM toolchains sysroot directory"
	default "sysroot"
	help
	  ARM toolchain sysroot directory

	config BRCM_ALT_AARCH64_TOOLCHAIN_TOPDIR
	string "AARCH64 toolchain top directory"
	default "crosstools-aarch64-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1"
	help
	  AARCH64 toolchain basename

	config BRCM_ALT_AARCH64_TOOLCHAIN_PREFIX
	string "AARCH64 toolchain prefix"
	default "aarch64-buildroot-linux-gnu"
	help
	  AARCH64 cross compiler prefix

	config BRCM_ALT_AARCH64_TOOLCHAIN_VER
	string "AARCH64 toolchain version"
	default "10.3.0"
	help
	  AARCH64 toolchain version

	config BRCM_ALT_AARCH64_TOOLCHAIN_SYSROOT_DIR
	string "AARCH64 toolchains sysroot directory"
	default "sysroot"
	help
	  AARCH64 toolchain sysroot directory

	config BRCM_ALT_ARMSFP_TOOLCHAIN_TOPDIR
	string "ARM SFP toolchain top directory"
	default "crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1"
	help
	  ARM SFP toolchain basename

	config BRCM_ALT_ARMSFP_TOOLCHAIN_PREFIX
	string "ARM SFP toolchain prefix"
	default "arm-buildroot-linux-gnueabi"
	help
	  ARM SFP cross compiler prefix

	config BRCM_ALT_ARMSFP_TOOLCHAIN_VER
	string "ARM SFP toolchain version"
	default "10.3.0"
	help
	  ARM SFP toolchain version

	config BRCM_ALT_ARMSFP_TOOLCHAIN_SYSROOT_DIR
	string "ARM SFP toolchains sysroot directory"
	default "sysroot"
	help
	  ARM SFP toolchain sysroot directory

endmenu

config BRCM_MAX_JOBS
	string
	prompt "Number of threads to build Broadcom SDK with"
	default ""
	help
	  Not setting this will build with same amount of threads as cpu cores on computer.
	  most useful to set to 1 when debugging the make to get a readable log output.

config BCM_SECURE_BOOT_SUPPORT
	bool "Enable Secure Boot related options in Broadcom SDK"
	default n

config BCM_FLASH_LAYOUT_OPTIONS
	string
	prompt "Broadcom SDK  Flash image option file names"
	default ""
	help
	  The Broadcom SDK uses option files to configure the compilation of
	  U-Boot, U-Boot default environments, creation of images,
	  flash layout, etc.
	  To list multiple files, use a comma as a delimiter.
	  If left empty, the default from the corresponding Broadcom target
	  will be used.

config BCM_WIFI_MFGTEST
	bool "Build Broadcom mfgtest firmware and drivers"
	default n
	help
	  Mfgtest firmware is to support capability required by WLAN hardware (MFGc/DVT) testing.
	  Image will include both mfgtest and regular firmware, uboot setenv wlFeature used to pick:
	    wlFeature 0 => regular firmware
	    wlFeature 2 => mfgtest firmware

endmenu

endif