build: consistently use 'depends on' instead of 'depends'

make the syntax more compatible with kernel menuconfig

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36351
lede-17.01
Felix Fietkau 2013-04-17 15:36:41 +00:00
parent 6d3c6e3053
commit 96bb7c123b
21 changed files with 150 additions and 150 deletions

View File

@ -25,7 +25,7 @@ menu "Target Images"
default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_ar71xx default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_ar71xx
default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_ramips default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_ramips
default TARGET_INITRAMFS_COMPRESSION_NONE default TARGET_INITRAMFS_COMPRESSION_NONE
depends TARGET_ROOTFS_INITRAMFS depends on TARGET_ROOTFS_INITRAMFS
help help
Select ramdisk compression. Select ramdisk compression.
@ -74,7 +74,7 @@ menu "Target Images"
config TARGET_ROOTFS_EXT4FS config TARGET_ROOTFS_EXT4FS
bool "ext4" bool "ext4"
default y if USES_EXT4 default y if USES_EXT4
depends !TARGET_ROOTFS_INITRAMFS depends on !TARGET_ROOTFS_INITRAMFS
help help
Ext4 file system with some free space for uml images Ext4 file system with some free space for uml images
@ -82,28 +82,28 @@ menu "Target Images"
bool "iso" bool "iso"
default n default n
depends on TARGET_x86_generic depends on TARGET_x86_generic
depends !TARGET_ROOTFS_INITRAMFS depends on !TARGET_ROOTFS_INITRAMFS
help help
Create some bootable ISO image Create some bootable ISO image
config TARGET_ROOTFS_JFFS2 config TARGET_ROOTFS_JFFS2
bool "jffs2" bool "jffs2"
default y if USES_JFFS2 default y if USES_JFFS2
depends !TARGET_ROOTFS_INITRAMFS depends on !TARGET_ROOTFS_INITRAMFS
help help
Build a jffs2 root filesystem Build a jffs2 root filesystem
config TARGET_ROOTFS_SQUASHFS config TARGET_ROOTFS_SQUASHFS
bool "squashfs" bool "squashfs"
default y if USES_SQUASHFS default y if USES_SQUASHFS
depends !TARGET_ROOTFS_INITRAMFS depends on !TARGET_ROOTFS_INITRAMFS
help help
Build a squashfs-lzma root filesystem Build a squashfs-lzma root filesystem
config TARGET_ROOTFS_UBIFS config TARGET_ROOTFS_UBIFS
bool "ubifs" bool "ubifs"
default y if USES_UBIFS default y if USES_UBIFS
depends !TARGET_ROOTFS_INITRAMFS && USES_UBIFS depends on !TARGET_ROOTFS_INITRAMFS && USES_UBIFS
help help
Build a ubifs root filesystem Build a ubifs root filesystem
@ -113,21 +113,21 @@ menu "Target Images"
config TARGET_ROOTFS_PARTSIZE config TARGET_ROOTFS_PARTSIZE
int "Root filesystem partition size (in MB)" int "Root filesystem partition size (in MB)"
depends X86_GRUB_IMAGES || TARGET_ROOTFS_EXT4FS || TARGET_rb532 depends on X86_GRUB_IMAGES || TARGET_ROOTFS_EXT4FS || TARGET_rb532
default 48 default 48
help help
Allows you to change the root filesystem partition size Allows you to change the root filesystem partition size
config TARGET_ROOTFS_MAXINODE config TARGET_ROOTFS_MAXINODE
int "Maximum number of inodes in root filesystem" int "Maximum number of inodes in root filesystem"
depends TARGET_ROOTFS_EXT4FS depends on TARGET_ROOTFS_EXT4FS
default 6000 default 6000
help help
Allows you to change the maximum number of inodes in the root filesystem Allows you to change the maximum number of inodes in the root filesystem
config TARGET_ROOTFS_RESERVED_PCT config TARGET_ROOTFS_RESERVED_PCT
int "Percentage of reserved blocks in root filesystem" int "Percentage of reserved blocks in root filesystem"
depends TARGET_ROOTFS_EXT4FS depends on TARGET_ROOTFS_EXT4FS
default 0 default 0
help help
Allows you to change the percentage of reserved blocks in the root filesystem Allows you to change the percentage of reserved blocks in the root filesystem
@ -303,90 +303,90 @@ menu "Global build settings"
config KERNEL_FREEZER config KERNEL_FREEZER
bool bool
default y if KERNEL_CGROUP_FREEZER default y if KERNEL_CGROUP_FREEZER
depends KERNEL_CGROUPS depends on KERNEL_CGROUPS
config KERNEL_CGROUP_FREEZER config KERNEL_CGROUP_FREEZER
bool bool
depends KERNEL_CGROUPS depends on KERNEL_CGROUPS
config KERNEL_CGROUP_DEVICE config KERNEL_CGROUP_DEVICE
bool bool
depends KERNEL_CGROUPS depends on KERNEL_CGROUPS
config KERNEL_CPUSETS config KERNEL_CPUSETS
bool bool
default y if KERNEL_CGROUP_CPUACCT default y if KERNEL_CGROUP_CPUACCT
depends KERNEL_CGROUPS depends on KERNEL_CGROUPS
config KERNEL_PROC_PID_CPUSET config KERNEL_PROC_PID_CPUSET
bool bool
default y if KERNEL_CGROUP_CPUACCT default y if KERNEL_CGROUP_CPUACCT
depends KERNEL_CGROUPS depends on KERNEL_CGROUPS
config KERNEL_CGROUP_CPUACCT config KERNEL_CGROUP_CPUACCT
bool bool
depends KERNEL_CGROUPS depends on KERNEL_CGROUPS
config KERNEL_RESOURCE_COUNTERS config KERNEL_RESOURCE_COUNTERS
bool bool
default y if KERNEL_CGROUP_MEM_RES_CTLR default y if KERNEL_CGROUP_MEM_RES_CTLR
depends KERNEL_CGROUPS depends on KERNEL_CGROUPS
config KERNEL_CGROUP_MEM_RES_CTLR config KERNEL_CGROUP_MEM_RES_CTLR
bool bool
depends KERNEL_CGROUPS depends on KERNEL_CGROUPS
config KERNEL_CGROUP_MEM_RES_CTLR_SWAP config KERNEL_CGROUP_MEM_RES_CTLR_SWAP
bool bool
depends KERNEL_CGROUPS depends on KERNEL_CGROUPS
config KERNEL_CGROUP_MEM_RES_CTLR_SWAP_ENABLED config KERNEL_CGROUP_MEM_RES_CTLR_SWAP_ENABLED
bool bool
depends KERNEL_CGROUPS depends on KERNEL_CGROUPS
config KERNEL_CGROUP_MEM_RES_CTLR_KMEM config KERNEL_CGROUP_MEM_RES_CTLR_KMEM
bool bool
depends KERNEL_CGROUPS depends on KERNEL_CGROUPS
config KERNEL_CGROUP_PERF config KERNEL_CGROUP_PERF
bool bool
depends KERNEL_CGROUPS depends on KERNEL_CGROUPS
config KERNEL_CFS_BANDWIDTH config KERNEL_CFS_BANDWIDTH
bool bool
default y if KERNEL_FAIR_GROUP_SCHED default y if KERNEL_FAIR_GROUP_SCHED
depends KERNEL_CGROUP_SCHED depends on KERNEL_CGROUP_SCHED
config KERNEL_FAIR_GROUP_SCHED config KERNEL_FAIR_GROUP_SCHED
bool bool
default y if KERNEL_CGROUP_SCHED default y if KERNEL_CGROUP_SCHED
depends KERNEL_CGROUP_SCHED depends on KERNEL_CGROUP_SCHED
config KERNEL_RT_GROUP_SCHED config KERNEL_RT_GROUP_SCHED
bool bool
default y if KERNEL_CGROUP_SCHED default y if KERNEL_CGROUP_SCHED
depends KERNEL_CGROUP_SCHED depends on KERNEL_CGROUP_SCHED
config KERNEL_CGROUP_SCHED config KERNEL_CGROUP_SCHED
bool bool
depends KERNEL_CGROUPS depends on KERNEL_CGROUPS
config KERNEL_NET_CLS_CGROUP config KERNEL_NET_CLS_CGROUP
bool bool
depends KERNEL_CGROUPS depends on KERNEL_CGROUPS
config KERNEL_NETPRIO_CGROUP config KERNEL_NETPRIO_CGROUP
bool bool
depends KERNEL_CGROUPS depends on KERNEL_CGROUPS
config KERNEL_BLK_CGROUP config KERNEL_BLK_CGROUP
bool bool
depends KERNEL_CGROUPS depends on KERNEL_CGROUPS
config KERNEL_DEBUG_BLK_CGROUP config KERNEL_DEBUG_BLK_CGROUP
bool bool
default n if KERNEL_CGROUPS default n if KERNEL_CGROUPS
depends KERNEL_CGROUPS depends on KERNEL_CGROUPS
config KERNEL_CGROUPS config KERNEL_CGROUPS
bool "Enable kernel cgroups" bool "Enable kernel cgroups"
@ -410,27 +410,27 @@ menu "Global build settings"
config KERNEL_UTS_NS config KERNEL_UTS_NS
bool bool
depends KERNEL_NAMESPACES depends on KERNEL_NAMESPACES
config KERNEL_IPC_NS config KERNEL_IPC_NS
bool bool
depends KERNEL_NAMESPACES depends on KERNEL_NAMESPACES
config KERNEL_USER_NS config KERNEL_USER_NS
bool bool
depends KERNEL_NAMESPACES depends on KERNEL_NAMESPACES
config KERNEL_PID_NS config KERNEL_PID_NS
bool bool
depends KERNEL_NAMESPACES depends on KERNEL_NAMESPACES
config KERNEL_NET_NS config KERNEL_NET_NS
bool bool
depends KERNEL_NAMESPACES depends on KERNEL_NAMESPACES
config KERNEL_DEVPTS_MULTIPLE_INSTANCES config KERNEL_DEVPTS_MULTIPLE_INSTANCES
bool bool
depends KERNEL_NAMESPACES depends on KERNEL_NAMESPACES
config KERNEL_NAMESPACES config KERNEL_NAMESPACES
bool "Enable kernel namespaces" bool "Enable kernel namespaces"
@ -536,9 +536,9 @@ menu "Global build settings"
config USE_SSTRIP config USE_SSTRIP
bool "sstrip" bool "sstrip"
depends !DEBUG depends on !DEBUG
depends !USE_GLIBC depends on !USE_GLIBC
depends !USE_EGLIBC depends on !USE_EGLIBC
help help
This will install binaries stripped using sstrip This will install binaries stripped using sstrip
endchoice endchoice
@ -546,7 +546,7 @@ menu "Global build settings"
config STRIP_ARGS config STRIP_ARGS
string string
prompt "Strip arguments" prompt "Strip arguments"
depends USE_STRIP depends on USE_STRIP
default "--strip-unneeded --remove-section=.comment --remove-section=.note" if DEBUG default "--strip-unneeded --remove-section=.comment --remove-section=.note" if DEBUG
default "--strip-all" default "--strip-all"
help help

View File

@ -1,15 +1,15 @@
menu "Configuration" menu "Configuration"
depends PACKAGE_libpcap depends on PACKAGE_libpcap
config PCAP_HAS_USB config PCAP_HAS_USB
bool "Include USB support" bool "Include USB support"
depends PACKAGE_kmod-usb-core depends on PACKAGE_kmod-usb-core
default n default n
config PCAP_HAS_BT config PCAP_HAS_BT
bool "Include bluetooth support" bool "Include bluetooth support"
depends PACKAGE_kmod-bluetooth depends on PACKAGE_kmod-bluetooth
depends BROKEN depends on BROKEN
default n default n
endmenu endmenu

View File

@ -7,7 +7,7 @@ config OPENSSL_ENGINE_CRYPTO
config OPENSSL_ENGINE_DIGEST config OPENSSL_ENGINE_DIGEST
bool bool
depends OPENSSL_ENGINE_CRYPTO depends on OPENSSL_ENGINE_CRYPTO
prompt "Digests acceleration support" prompt "Digests acceleration support"
endmenu endmenu

View File

@ -221,7 +221,7 @@ define KernelPackage/rt2x00-lib/config
config PACKAGE_RT2X00_LIB_DEBUGFS config PACKAGE_RT2X00_LIB_DEBUGFS
bool "Enable rt2x00 debugfs support" bool "Enable rt2x00 debugfs support"
depends PACKAGE_MAC80211_DEBUGFS depends on PACKAGE_MAC80211_DEBUGFS
help help
Enable creation of debugfs files for the rt2x00 drivers. Enable creation of debugfs files for the rt2x00 drivers.
These debugfs files support both reading and writing of the These debugfs files support both reading and writing of the

View File

@ -1,7 +1,7 @@
# wpa_supplicant config # wpa_supplicant config
config WPA_SUPPLICANT_NO_TIMESTAMP_CHECK config WPA_SUPPLICANT_NO_TIMESTAMP_CHECK
bool "Disable timestamp check" bool "Disable timestamp check"
depends PACKAGE_wpa-supplicant || PACKAGE_wpa-supplicant-mini || PACKAGE_wpad || PACKAGE_wpad-mini depends on PACKAGE_wpa-supplicant || PACKAGE_wpa-supplicant-mini || PACKAGE_wpad || PACKAGE_wpad-mini
default n default n
help help
This disables the timestamp check for certificates in wpa_supplicant This disables the timestamp check for certificates in wpa_supplicant
@ -10,7 +10,7 @@ config WPA_SUPPLICANT_NO_TIMESTAMP_CHECK
choice choice
prompt "Choose TLS provider" prompt "Choose TLS provider"
default WPA_SUPPLICANT_INTERNAL default WPA_SUPPLICANT_INTERNAL
depends PACKAGE_wpa-supplicant || PACKAGE_wpad depends on PACKAGE_wpa-supplicant || PACKAGE_wpad
config WPA_SUPPLICANT_INTERNAL config WPA_SUPPLICANT_INTERNAL
bool "internal" bool "internal"
@ -23,7 +23,7 @@ endchoice
config WPA_RFKILL_SUPPORT config WPA_RFKILL_SUPPORT
bool "Add rfkill support" bool "Add rfkill support"
depends PACKAGE_wpa-supplicant || PACKAGE_wpa-supplicant-mini || PACKAGE_wpad || PACKAGE_wpad-mini depends on PACKAGE_wpa-supplicant || PACKAGE_wpa-supplicant-mini || PACKAGE_wpad || PACKAGE_wpad-mini
default n default n
config WPA_MSG_MIN_PRIORITY config WPA_MSG_MIN_PRIORITY

View File

@ -49,7 +49,7 @@ endef
define Package/samba36-server/config define Package/samba36-server/config
config PACKAGE_SAMBA_MAX_DEBUG_LEVEL config PACKAGE_SAMBA_MAX_DEBUG_LEVEL
int "Maximum level of compiled-in debug messages" int "Maximum level of compiled-in debug messages"
depends PACKAGE_samba36-server || PACKAGE_samba36-client depends on PACKAGE_samba36-server || PACKAGE_samba36-client
default -1 default -1
endef endef

View File

@ -25,7 +25,7 @@ endef
define Package/kmod-mmc-over-gpio/config define Package/kmod-mmc-over-gpio/config
menu "Configuration" menu "Configuration"
depends PACKAGE_kmod-mmc-over-gpio depends on PACKAGE_kmod-mmc-over-gpio
config KMOD_MMC_OVER_GPIO_DI_PIN config KMOD_MMC_OVER_GPIO_DI_PIN
int "GPIO DI (Data-In) pin" int "GPIO DI (Data-In) pin"

View File

@ -34,19 +34,19 @@ endef
define Package/libgcc/config define Package/libgcc/config
menu "Configuration" menu "Configuration"
depends EXTERNAL_TOOLCHAIN && PACKAGE_libgcc depends on EXTERNAL_TOOLCHAIN && PACKAGE_libgcc
config LIBGCC_ROOT_DIR config LIBGCC_ROOT_DIR
string string
prompt "libgcc shared library base directory" prompt "libgcc shared library base directory"
depends EXTERNAL_TOOLCHAIN && PACKAGE_libgcc depends on EXTERNAL_TOOLCHAIN && PACKAGE_libgcc
default TOOLCHAIN_ROOT if !NATIVE_TOOLCHAIN default TOOLCHAIN_ROOT if !NATIVE_TOOLCHAIN
default "/" if NATIVE_TOOLCHAIN default "/" if NATIVE_TOOLCHAIN
config LIBGCC_FILE_SPEC config LIBGCC_FILE_SPEC
string string
prompt "libgcc shared library files (use wildcards)" prompt "libgcc shared library files (use wildcards)"
depends EXTERNAL_TOOLCHAIN && PACKAGE_libgcc depends on EXTERNAL_TOOLCHAIN && PACKAGE_libgcc
default "./lib/libgcc_s.so.*" default "./lib/libgcc_s.so.*"
endmenu endmenu
@ -61,19 +61,19 @@ endef
define Package/libssp/config define Package/libssp/config
menu "Configuration" menu "Configuration"
depends EXTERNAL_TOOLCHAIN && PACKAGE_libssp depends on EXTERNAL_TOOLCHAIN && PACKAGE_libssp
config LIBSSP_ROOT_DIR config LIBSSP_ROOT_DIR
string string
prompt "libssp shared library base directory" prompt "libssp shared library base directory"
depends EXTERNAL_TOOLCHAIN && PACKAGE_libssp depends on EXTERNAL_TOOLCHAIN && PACKAGE_libssp
default TOOLCHAIN_ROOT if !NATIVE_TOOLCHAIN default TOOLCHAIN_ROOT if !NATIVE_TOOLCHAIN
default "/" if NATIVE_TOOLCHAIN default "/" if NATIVE_TOOLCHAIN
config LIBSSP_FILE_SPEC config LIBSSP_FILE_SPEC
string string
prompt "libssp shared library files (use wildcards)" prompt "libssp shared library files (use wildcards)"
depends EXTERNAL_TOOLCHAIN && PACKAGE_libssp depends on EXTERNAL_TOOLCHAIN && PACKAGE_libssp
default "./lib/libssp.so.*" default "./lib/libssp.so.*"
endmenu endmenu
@ -89,19 +89,19 @@ endef
define Package/libstdcpp/config define Package/libstdcpp/config
menu "Configuration" menu "Configuration"
depends EXTERNAL_TOOLCHAIN && PACKAGE_libstdcpp depends on EXTERNAL_TOOLCHAIN && PACKAGE_libstdcpp
config LIBSTDCPP_ROOT_DIR config LIBSTDCPP_ROOT_DIR
string string
prompt "libstdcpp shared library base directory" prompt "libstdcpp shared library base directory"
depends EXTERNAL_TOOLCHAIN && PACKAGE_libstdcpp depends on EXTERNAL_TOOLCHAIN && PACKAGE_libstdcpp
default TOOLCHAIN_ROOT if !NATIVE_TOOLCHAIN default TOOLCHAIN_ROOT if !NATIVE_TOOLCHAIN
default "/" if NATIVE_TOOLCHAIN default "/" if NATIVE_TOOLCHAIN
config LIBSTDCPP_FILE_SPEC config LIBSTDCPP_FILE_SPEC
string string
prompt "libstdc++ shared library files (use wildcards)" prompt "libstdc++ shared library files (use wildcards)"
depends EXTERNAL_TOOLCHAIN && PACKAGE_libstdcpp depends on EXTERNAL_TOOLCHAIN && PACKAGE_libstdcpp
default "./lib/libstdc++.so.*" default "./lib/libstdc++.so.*"
endmenu endmenu
@ -125,19 +125,19 @@ endef
define Package/libc/config define Package/libc/config
menu "Configuration" menu "Configuration"
depends EXTERNAL_TOOLCHAIN && PACKAGE_libc depends on EXTERNAL_TOOLCHAIN && PACKAGE_libc
config LIBC_ROOT_DIR config LIBC_ROOT_DIR
string string
prompt "libc shared library base directory" prompt "libc shared library base directory"
depends EXTERNAL_TOOLCHAIN && PACKAGE_libc depends on EXTERNAL_TOOLCHAIN && PACKAGE_libc
default TOOLCHAIN_ROOT if !NATIVE_TOOLCHAIN default TOOLCHAIN_ROOT if !NATIVE_TOOLCHAIN
default "/" if NATIVE_TOOLCHAIN default "/" if NATIVE_TOOLCHAIN
config LIBC_FILE_SPEC config LIBC_FILE_SPEC
string string
prompt "libc shared library files (use wildcards)" prompt "libc shared library files (use wildcards)"
depends EXTERNAL_TOOLCHAIN && PACKAGE_libc depends on EXTERNAL_TOOLCHAIN && PACKAGE_libc
default "./lib/ld{-*.so,-linux*.so.*} ./lib/lib{anl,c,cidn,crypt,dl,m,nsl,nss_dns,nss_files,resolv,util}{-*.so,.so.*}" default "./lib/ld{-*.so,-linux*.so.*} ./lib/lib{anl,c,cidn,crypt,dl,m,nsl,nss_dns,nss_files,resolv,util}{-*.so,.so.*}"
endmenu endmenu
@ -151,19 +151,19 @@ endef
define Package/libpthread/config define Package/libpthread/config
menu "Configuration" menu "Configuration"
depends EXTERNAL_TOOLCHAIN && PACKAGE_libpthread depends on EXTERNAL_TOOLCHAIN && PACKAGE_libpthread
config LIBPTHREAD_ROOT_DIR config LIBPTHREAD_ROOT_DIR
string string
prompt "libpthread shared library base directory" prompt "libpthread shared library base directory"
depends EXTERNAL_TOOLCHAIN && PACKAGE_libpthread depends on EXTERNAL_TOOLCHAIN && PACKAGE_libpthread
default TOOLCHAIN_ROOT if !NATIVE_TOOLCHAIN default TOOLCHAIN_ROOT if !NATIVE_TOOLCHAIN
default "/" if NATIVE_TOOLCHAIN default "/" if NATIVE_TOOLCHAIN
config LIBPTHREAD_FILE_SPEC config LIBPTHREAD_FILE_SPEC
string string
prompt "libpthread shared library files (use wildcards)" prompt "libpthread shared library files (use wildcards)"
depends EXTERNAL_TOOLCHAIN && PACKAGE_libpthread depends on EXTERNAL_TOOLCHAIN && PACKAGE_libpthread
default "./lib/libpthread{-*.so,.so.*}" default "./lib/libpthread{-*.so,.so.*}"
endmenu endmenu
@ -184,19 +184,19 @@ endef
define Package/librt/config define Package/librt/config
menu "Configuration" menu "Configuration"
depends EXTERNAL_TOOLCHAIN && PACKAGE_librt depends on EXTERNAL_TOOLCHAIN && PACKAGE_librt
config LIBRT_ROOT_DIR config LIBRT_ROOT_DIR
string string
prompt "librt shared library base directory" prompt "librt shared library base directory"
depends EXTERNAL_TOOLCHAIN && PACKAGE_librt depends on EXTERNAL_TOOLCHAIN && PACKAGE_librt
default TOOLCHAIN_ROOT if !NATIVE_TOOLCHAIN default TOOLCHAIN_ROOT if !NATIVE_TOOLCHAIN
default "/" if NATIVE_TOOLCHAIN default "/" if NATIVE_TOOLCHAIN
config LIBRT_FILE_SPEC config LIBRT_FILE_SPEC
string string
prompt "librt shared library files (use wildcards)" prompt "librt shared library files (use wildcards)"
depends EXTERNAL_TOOLCHAIN && PACKAGE_librt depends on EXTERNAL_TOOLCHAIN && PACKAGE_librt
default "./lib/librt{-*.so,.so.*}" default "./lib/librt{-*.so,.so.*}"
endmenu endmenu
@ -211,19 +211,19 @@ endef
define Package/libgfortran/config define Package/libgfortran/config
menu "Configuration" menu "Configuration"
depends EXTERNAL_TOOLCHAIN && PACKAGE_libgfortran depends on EXTERNAL_TOOLCHAIN && PACKAGE_libgfortran
config LIBGFORTRAN_ROOT_DIR config LIBGFORTRAN_ROOT_DIR
string string
prompt "libgfortran shared library base directory" prompt "libgfortran shared library base directory"
depends EXTERNAL_TOOLCHAIN && PACKAGE_libgfortran depends on EXTERNAL_TOOLCHAIN && PACKAGE_libgfortran
default TOOLCHAIN_ROOT if !NATIVE_TOOLCHAIN default TOOLCHAIN_ROOT if !NATIVE_TOOLCHAIN
default "/" if NATIVE_TOOLCHAIN default "/" if NATIVE_TOOLCHAIN
config LIBGFORTRAN_FILE_SPEC config LIBGFORTRAN_FILE_SPEC
string string
prompt "libgfortran shared library files (use wildcards)" prompt "libgfortran shared library files (use wildcards)"
depends EXTERNAL_TOOLCHAIN && PACKAGE_libgfortran depends on EXTERNAL_TOOLCHAIN && PACKAGE_libgfortran
default "./usr/lib/libgfortran.so.*" default "./usr/lib/libgfortran.so.*"
endmenu endmenu
@ -239,19 +239,19 @@ endef
define Package/ldd/config define Package/ldd/config
menu "Configuration" menu "Configuration"
depends EXTERNAL_TOOLCHAIN && PACKAGE_ldd depends on EXTERNAL_TOOLCHAIN && PACKAGE_ldd
config LDD_ROOT_DIR config LDD_ROOT_DIR
string string
prompt "ldd trace utility base directory" prompt "ldd trace utility base directory"
depends EXTERNAL_TOOLCHAIN && PACKAGE_ldd depends on EXTERNAL_TOOLCHAIN && PACKAGE_ldd
default TOOLCHAIN_ROOT if !NATIVE_TOOLCHAIN default TOOLCHAIN_ROOT if !NATIVE_TOOLCHAIN
default "/" if NATIVE_TOOLCHAIN default "/" if NATIVE_TOOLCHAIN
config LDD_FILE_SPEC config LDD_FILE_SPEC
string string
prompt "ldd trace utility file" prompt "ldd trace utility file"
depends EXTERNAL_TOOLCHAIN && PACKAGE_ldd depends on EXTERNAL_TOOLCHAIN && PACKAGE_ldd
default "./usr/bin/ldd" default "./usr/bin/ldd"
endmenu endmenu
@ -268,19 +268,19 @@ endef
define Package/ldconfig/config define Package/ldconfig/config
menu "Configuration" menu "Configuration"
depends EXTERNAL_TOOLCHAIN && PACKAGE_ldconfig depends on EXTERNAL_TOOLCHAIN && PACKAGE_ldconfig
config LDCONFIG_ROOT_DIR config LDCONFIG_ROOT_DIR
string string
prompt "ldconfig base directory" prompt "ldconfig base directory"
depends EXTERNAL_TOOLCHAIN && PACKAGE_ldconfig depends on EXTERNAL_TOOLCHAIN && PACKAGE_ldconfig
default TOOLCHAIN_ROOT if !NATIVE_TOOLCHAIN default TOOLCHAIN_ROOT if !NATIVE_TOOLCHAIN
default "/" if NATIVE_TOOLCHAIN default "/" if NATIVE_TOOLCHAIN
config LDCONFIG_FILE_SPEC config LDCONFIG_FILE_SPEC
string string
prompt "ldconfig file" prompt "ldconfig file"
depends EXTERNAL_TOOLCHAIN && PACKAGE_ldconfig depends on EXTERNAL_TOOLCHAIN && PACKAGE_ldconfig
default "./sbin/ldconfig" default "./sbin/ldconfig"
endmenu endmenu

View File

@ -153,7 +153,7 @@ sub target_config_features(@) {
my $ret; my $ret;
while ($_ = shift @_) { while ($_ = shift @_) {
/broken/ and $ret .= "\tdepends BROKEN\n"; /broken/ and $ret .= "\tdepends on BROKEN\n";
/audio/ and $ret .= "\tselect AUDIO_SUPPORT\n"; /audio/ and $ret .= "\tselect AUDIO_SUPPORT\n";
/display/ and $ret .= "\tselect DISPLAY_SUPPORT\n"; /display/ and $ret .= "\tselect DISPLAY_SUPPORT\n";
/gpio/ and $ret .= "\tselect GPIO_SUPPORT\n"; /gpio/ and $ret .= "\tselect GPIO_SUPPORT\n";
@ -230,11 +230,11 @@ config TARGET_$target->{conf}
EOF EOF
} }
if ($target->{subtarget}) { if ($target->{subtarget}) {
$confstr .= "\tdepends TARGET_$target->{boardconf}\n"; $confstr .= "\tdepends on TARGET_$target->{boardconf}\n";
} }
if (@{$target->{subtargets}} > 0) { if (@{$target->{subtargets}} > 0) {
$confstr .= "\tselect HAS_SUBTARGETS\n"; $confstr .= "\tselect HAS_SUBTARGETS\n";
grep { /broken/ } @{$target->{features}} and $confstr .= "\tdepends BROKEN\n"; grep { /broken/ } @{$target->{features}} and $confstr .= "\tdepends on BROKEN\n";
} else { } else {
$confstr .= $features; $confstr .= $features;
} }
@ -243,7 +243,7 @@ EOF
$confstr .= "\tselect $target->{arch}\n"; $confstr .= "\tselect $target->{arch}\n";
} }
foreach my $dep (@{$target->{depends}}) { foreach my $dep (@{$target->{depends}}) {
my $mode = "depends"; my $mode = "depends on";
my $flags; my $flags;
my $name; my $name;
@ -317,7 +317,7 @@ EOF
print <<EOF; print <<EOF;
config TARGET_$target->{conf}_$profile->{id} config TARGET_$target->{conf}_$profile->{id}
bool "$profile->{name}" bool "$profile->{name}"
depends TARGET_$target->{conf} depends on TARGET_$target->{conf}
$profile->{config} $profile->{config}
EOF EOF
$profile->{kconfig} and print "\tselect PROFILE_KCONFIG\n"; $profile->{kconfig} and print "\tselect PROFILE_KCONFIG\n";
@ -443,7 +443,7 @@ sub mconf_depends {
$depends or return; $depends or return;
my @depends = @$depends; my @depends = @$depends;
foreach my $depend (@depends) { foreach my $depend (@depends) {
my $m = "depends"; my $m = "depends on";
my $flags = ""; my $flags = "";
$depend =~ s/^([@\+]+)// and $flags = $1; $depend =~ s/^([@\+]+)// and $flags = $1;
my $vdep; my $vdep;
@ -602,7 +602,7 @@ sub gen_package_config() {
print <<EOF print <<EOF
config UCI_PRECONFIG_$conf config UCI_PRECONFIG_$conf
string "$preconfig{$preconfig}->{$cfg}->{label}" if IMAGEOPT string "$preconfig{$preconfig}->{$cfg}->{label}" if IMAGEOPT
depends PACKAGE_$preconfig depends on PACKAGE_$preconfig
default "$preconfig{$preconfig}->{$cfg}->{default}" default "$preconfig{$preconfig}->{$cfg}->{default}"
EOF EOF

View File

@ -3,7 +3,7 @@ source "tmp/.config-target.in"
# Kernel/Hardware features # Kernel/Hardware features
config HAS_SPE_FPU config HAS_SPE_FPU
depends powerpc depends on powerpc
select HAS_FPU select HAS_FPU
bool bool
@ -67,7 +67,7 @@ config NOMMU
bool bool
config HAS_MIPS16 config HAS_MIPS16
depends (mips || mipsel || mips64 || mips64el) depends on (mips || mipsel || mips64 || mips64el)
bool bool
config ARCH_64BIT config ARCH_64BIT

View File

@ -1,8 +1,8 @@
config IB config IB
bool "Build the OpenWrt Image Builder" bool "Build the OpenWrt Image Builder"
depends !TARGET_ROOTFS_INITRAMFS depends on !TARGET_ROOTFS_INITRAMFS
depends !PROFILE_KCONFIG depends on !PROFILE_KCONFIG
depends !EXTERNAL_TOOLCHAIN depends on !EXTERNAL_TOOLCHAIN
help help
This is essentially a stripped-down version of the buildroot This is essentially a stripped-down version of the buildroot
with precompiled packages, kernel image and image building tools. with precompiled packages, kernel image and image building tools.

View File

@ -1,16 +1,16 @@
config AT91_DFBOOT config AT91_DFBOOT
bool "Build dataflashboot loader" bool "Build dataflashboot loader"
depends TARGET_at91 depends on TARGET_at91
default n default n
config AT91_UBOOT config AT91_UBOOT
bool "Build U-Boot bootloader" bool "Build U-Boot bootloader"
depends TARGET_at91 depends on TARGET_at91
default n default n
config UBOOT_TARGET config UBOOT_TARGET
string "U-Boot target board" string "U-Boot target board"
depends AT91_UBOOT depends on AT91_UBOOT
default "netusg20" default "netusg20"
help help
For all supported boards there are ready-to-use default For all supported boards there are ready-to-use default
@ -18,20 +18,20 @@ config UBOOT_TARGET
config UBOOT_IPADDR config UBOOT_IPADDR
string "IP Address for U-Boot" string "IP Address for U-Boot"
depends AT91_UBOOT depends on AT91_UBOOT
default "192.168.0.178" default "192.168.0.178"
help help
IP address of device to be used in U-Boot IP address of device to be used in U-Boot
config UBOOT_SERVERIP config UBOOT_SERVERIP
string "IP Address of TFTP server" string "IP Address of TFTP server"
depends AT91_UBOOT depends on AT91_UBOOT
default "192.168.0.232" default "192.168.0.232"
help help
IP address of TFTP server for U-Boot IP address of TFTP server for U-Boot
config FLEXIBITY_ROOT config FLEXIBITY_ROOT
bool "Build Flexibity RootFS (with embedded kernel)" bool "Build Flexibity RootFS (with embedded kernel)"
depends TARGET_at91_flexibity depends on TARGET_at91_flexibity
default n default n

View File

@ -1,12 +1,12 @@
config AVR32_UBOOT config AVR32_UBOOT
bool "Build U-Boot bootloader" bool "Build U-Boot bootloader"
depends TARGET_avr32 depends on TARGET_avr32
default n default n
config AVR32_UBOOT_TARGET config AVR32_UBOOT_TARGET
string "U-Boot target board" string "U-Boot target board"
depends TARGET_avr32 depends on TARGET_avr32
depends AVR32_UBOOT depends on AVR32_UBOOT
default "atngw100" default "atngw100"
help help
For all supported boards there are ready-to-use default For all supported boards there are ready-to-use default

View File

@ -1,5 +1,5 @@
config BRCM2708_SD_BOOT_PARTSIZE config BRCM2708_SD_BOOT_PARTSIZE
int "Boot (SD Card) filesystem partition size (in MB)" int "Boot (SD Card) filesystem partition size (in MB)"
depends TARGET_brcm2708 depends on TARGET_brcm2708
default 20 default 20

View File

@ -1,13 +1,13 @@
config X86_ETHERBOOT_IMAGES config X86_ETHERBOOT_IMAGES
bool "Build Etherboot image" bool "Build Etherboot image"
depends TARGET_x86 && TARGET_x86_thincan_DBE61 depends on TARGET_x86 && TARGET_x86_thincan_DBE61
default y default y
help help
Builds network bootable image for ThinCan DBE61 (Etherboot BIOS) Builds network bootable image for ThinCan DBE61 (Etherboot BIOS)
config X86_ETHERBOOT_BOOTOPTS config X86_ETHERBOOT_BOOTOPTS
string "Extra kernel boot options" string "Extra kernel boot options"
depends X86_ETHERBOOT_IMAGES depends on X86_ETHERBOOT_IMAGES
default "ip=dhcp nbdport=2000 " if TARGET_ROOTFS_SQUASHFS default "ip=dhcp nbdport=2000 " if TARGET_ROOTFS_SQUASHFS
default "ip=dhcp root=/dev/nfs nfsroot=192.168.0.1:/srv/dbe61" default "ip=dhcp root=/dev/nfs nfsroot=192.168.0.1:/srv/dbe61"
help help
@ -15,26 +15,26 @@ config X86_ETHERBOOT_BOOTOPTS
config X86_GRUB_IMAGES config X86_GRUB_IMAGES
bool "Build GRUB images (Linux x86 or x86_64 host only)" bool "Build GRUB images (Linux x86 or x86_64 host only)"
depends TARGET_x86 && !(TARGET_x86_olpc || TARGET_x86_rdc) depends on TARGET_x86 && !(TARGET_x86_olpc || TARGET_x86_rdc)
depends TARGET_ROOTFS_EXT4FS || TARGET_ROOTFS_ISO || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS depends on TARGET_ROOTFS_EXT4FS || TARGET_ROOTFS_ISO || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS
select PACKAGE_grub2 select PACKAGE_grub2
default y default y
config X86_GRUB_CONSOLE config X86_GRUB_CONSOLE
bool "Use Console Terminal (in addition to Serial)" bool "Use Console Terminal (in addition to Serial)"
depends X86_GRUB_IMAGES depends on X86_GRUB_IMAGES
default n if (TARGET_x86_generic_Soekris45xx || TARGET_x86_generic_Soekris48xx || TARGET_x86_net5501 || TARGET_x86_geos || TARGET_x86_alix2) default n if (TARGET_x86_generic_Soekris45xx || TARGET_x86_generic_Soekris48xx || TARGET_x86_net5501 || TARGET_x86_geos || TARGET_x86_alix2)
default y default y
config X86_GRUB_SERIAL config X86_GRUB_SERIAL
string "Serial port device" string "Serial port device"
depends X86_GRUB_IMAGES depends on X86_GRUB_IMAGES
default "hvc0" if TARGET_x86_xen_domu default "hvc0" if TARGET_x86_xen_domu
default "ttyS0" if ! TARGET_x86_xen_domu default "ttyS0" if ! TARGET_x86_xen_domu
config X86_GRUB_BAUDRATE config X86_GRUB_BAUDRATE
int "Serial port baud rate" int "Serial port baud rate"
depends X86_GRUB_IMAGES depends on X86_GRUB_IMAGES
default 19200 if TARGET_x86_generic_Soekris45xx || TARGET_x86_generic_Soekris48xx || TARGET_x86_net5501 default 19200 if TARGET_x86_generic_Soekris45xx || TARGET_x86_generic_Soekris48xx || TARGET_x86_net5501
default 38400 if TARGET_x86_alix2 default 38400 if TARGET_x86_alix2
default 115200 if TARGET_x86_geos || TARGET_x86_kvm_guest default 115200 if TARGET_x86_geos || TARGET_x86_kvm_guest
@ -42,57 +42,57 @@ config X86_GRUB_BAUDRATE
config X86_GRUB_BOOTOPTS config X86_GRUB_BOOTOPTS
string "Extra kernel boot options" string "Extra kernel boot options"
depends X86_GRUB_IMAGES depends on X86_GRUB_IMAGES
default "xencons=hvc" if TARGET_x86_xen_domu default "xencons=hvc" if TARGET_x86_xen_domu
help help
If you don't know, just leave it blank. If you don't know, just leave it blank.
config X86_GRUB_TIMEOUT config X86_GRUB_TIMEOUT
string "Seconds to wait before booting the default entry" string "Seconds to wait before booting the default entry"
depends X86_GRUB_IMAGES depends on X86_GRUB_IMAGES
default "5" default "5"
help help
If you don't know, 5 seconds is a reasonable default. If you don't know, 5 seconds is a reasonable default.
config X86_VDI_IMAGES config X86_VDI_IMAGES
bool "Build VirtualBox image files (VDI)" bool "Build VirtualBox image files (VDI)"
depends X86_GRUB_IMAGES depends on X86_GRUB_IMAGES
depends TARGET_x86 depends on TARGET_x86
depends TARGET_ROOTFS_EXT4FS depends on TARGET_ROOTFS_EXT4FS
select PACKAGE_kmod-pcnet32 select PACKAGE_kmod-pcnet32
config X86_VMDK_IMAGES config X86_VMDK_IMAGES
bool "Build VMware image files (VMDK)" bool "Build VMware image files (VMDK)"
depends X86_GRUB_IMAGES depends on X86_GRUB_IMAGES
depends TARGET_x86 depends on TARGET_x86
depends TARGET_ROOTFS_EXT4FS depends on TARGET_ROOTFS_EXT4FS
select PACKAGE_kmod-e1000 select PACKAGE_kmod-e1000
config OLPC_BOOTSCRIPT_IMAGES config OLPC_BOOTSCRIPT_IMAGES
bool "Build images with bootscript" bool "Build images with bootscript"
depends TARGET_x86_olpc depends on TARGET_x86_olpc
depends TARGET_ROOTFS_EXT4FS || TARGET_ROOTFS_ISO || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS depends on TARGET_ROOTFS_EXT4FS || TARGET_ROOTFS_ISO || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS
default TARGET_x86_olpc default TARGET_x86_olpc
config TARGET_IMAGES_PAD config TARGET_IMAGES_PAD
bool "Pad images to filesystem size (for JFFS2)" bool "Pad images to filesystem size (for JFFS2)"
depends OLPC_BOOTSCRIPT_IMAGES || X86_GRUB_IMAGES depends on OLPC_BOOTSCRIPT_IMAGES || X86_GRUB_IMAGES
config TARGET_IMAGES_GZIP config TARGET_IMAGES_GZIP
bool "GZip images" bool "GZip images"
depends TARGET_IMAGES_PAD || TARGET_ROOTFS_EXT4FS depends on TARGET_IMAGES_PAD || TARGET_ROOTFS_EXT4FS
default y default y
config TARGET_KERNEL_PARTSIZE config TARGET_KERNEL_PARTSIZE
int "Kernel partition size (in MB)" int "Kernel partition size (in MB)"
depends OLPC_BOOTSCRIPT_IMAGES || X86_GRUB_IMAGES depends on OLPC_BOOTSCRIPT_IMAGES || X86_GRUB_IMAGES
default 4 default 4
config TARGET_ROOTFS_PARTNAME config TARGET_ROOTFS_PARTNAME
string "Root partition on target device" string "Root partition on target device"
depends OLPC_BOOTSCRIPT_IMAGES || X86_GRUB_IMAGES depends on OLPC_BOOTSCRIPT_IMAGES || X86_GRUB_IMAGES
default "/dev/vda2" if TARGET_x86_kvm_guest default "/dev/vda2" if TARGET_x86_kvm_guest
default "/dev/xvda2" if TARGET_x86_xen_domu default "/dev/xvda2" if TARGET_x86_xen_domu
default "/dev/sda2" if ! (TARGET_x86_kvm_guest || TARGET_x86_xen_domu) default "/dev/sda2" if ! (TARGET_x86_kvm_guest || TARGET_x86_xen_domu)

View File

@ -1,6 +1,6 @@
config SDK config SDK
bool "Build the OpenWrt SDK" bool "Build the OpenWrt SDK"
depends !EXTERNAL_TOOLCHAIN depends on !EXTERNAL_TOOLCHAIN
help help
This is essentially a stripped-down version of the buildroot This is essentially a stripped-down version of the buildroot
with a precompiled toolchain. It can be used to develop and with a precompiled toolchain. It can be used to develop and

View File

@ -1,6 +1,6 @@
config MAKE_TOOLCHAIN config MAKE_TOOLCHAIN
bool "Build the OpenWrt based Toolchain" bool "Build the OpenWrt based Toolchain"
depends !EXTERNAL_TOOLCHAIN depends on !EXTERNAL_TOOLCHAIN
help help
This is essentially the toolchain created by OpenWrt. This is essentially the toolchain created by OpenWrt.

View File

@ -9,7 +9,7 @@ menuconfig EXTERNAL_TOOLCHAIN
config NATIVE_TOOLCHAIN config NATIVE_TOOLCHAIN
bool bool
prompt "Use host's toolchain" if DEVEL prompt "Use host's toolchain" if DEVEL
depends EXTERNAL_TOOLCHAIN depends on EXTERNAL_TOOLCHAIN
select NO_STRIP select NO_STRIP
help help
If enabled, OpenWrt will compile using the native toolchain for your host instead of compiling one If enabled, OpenWrt will compile using the native toolchain for your host instead of compiling one
@ -17,7 +17,7 @@ menuconfig EXTERNAL_TOOLCHAIN
config TARGET_NAME config TARGET_NAME
string string
prompt "Target name" if DEVEL prompt "Target name" if DEVEL
depends EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN depends on EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN
default "arm-unknown-linux-gnu" if arm default "arm-unknown-linux-gnu" if arm
default "armeb-unknown-linux-gnu" if armeb default "armeb-unknown-linux-gnu" if armeb
default "i486-unknown-linux-gnu" if i386 default "i486-unknown-linux-gnu" if i386
@ -29,7 +29,7 @@ menuconfig EXTERNAL_TOOLCHAIN
config TOOLCHAIN_PREFIX config TOOLCHAIN_PREFIX
string string
prompt "Toolchain prefix" if DEVEL prompt "Toolchain prefix" if DEVEL
depends EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN depends on EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN
default "arm-unknown-linux-gnu-" if arm default "arm-unknown-linux-gnu-" if arm
default "armeb-unknown-linux-gnu-" if armeb default "armeb-unknown-linux-gnu-" if armeb
default "i486-unknown-linux-gnu-" if i386 default "i486-unknown-linux-gnu-" if i386
@ -41,7 +41,7 @@ menuconfig EXTERNAL_TOOLCHAIN
config TOOLCHAIN_ROOT config TOOLCHAIN_ROOT
string string
prompt "Toolchain root" if DEVEL prompt "Toolchain root" if DEVEL
depends EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN depends on EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN
default "/opt/cross/arm-unknown-linux-gnu" if arm default "/opt/cross/arm-unknown-linux-gnu" if arm
default "/opt/cross/armeb-unknown-linux-gnu" if armeb default "/opt/cross/armeb-unknown-linux-gnu" if armeb
default "/opt/cross/i486-unknown-linux-gnu" if i386 default "/opt/cross/i486-unknown-linux-gnu" if i386
@ -53,7 +53,7 @@ menuconfig EXTERNAL_TOOLCHAIN
config TOOLCHAIN_LIBC config TOOLCHAIN_LIBC
string string
prompt "Toolchain libc" if DEVEL prompt "Toolchain libc" if DEVEL
depends EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN depends on EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN
default "uclibc" default "uclibc"
help help
Specify the libc type used by the external toolchain. The given value us passed as -m Specify the libc type used by the external toolchain. The given value us passed as -m
@ -64,7 +64,7 @@ menuconfig EXTERNAL_TOOLCHAIN
config TOOLCHAIN_BIN_PATH config TOOLCHAIN_BIN_PATH
string string
prompt "Toolchain program path" if DEVEL prompt "Toolchain program path" if DEVEL
depends EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN depends on EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN
default "./usr/bin ./bin" default "./usr/bin ./bin"
help help
Specify additional directories searched for toolchain binaries (override PATH) Specify additional directories searched for toolchain binaries (override PATH)
@ -73,7 +73,7 @@ menuconfig EXTERNAL_TOOLCHAIN
config TOOLCHAIN_INC_PATH config TOOLCHAIN_INC_PATH
string string
prompt "Toolchain include path" if DEVEL prompt "Toolchain include path" if DEVEL
depends EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN depends on EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN
default "./usr/include ./include" default "./usr/include ./include"
help help
Specify additional directories searched for header files (override CPPFLAGS) Specify additional directories searched for header files (override CPPFLAGS)
@ -82,7 +82,7 @@ menuconfig EXTERNAL_TOOLCHAIN
config TOOLCHAIN_LIB_PATH config TOOLCHAIN_LIB_PATH
string string
prompt "Toolchain library path" if DEVEL prompt "Toolchain library path" if DEVEL
depends EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN depends on EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN
default "./usr/lib ./lib" default "./usr/lib ./lib"
help help
Specify additional directories searched for libraries (override LDFLAGS) Specify additional directories searched for libraries (override LDFLAGS)
@ -90,17 +90,17 @@ menuconfig EXTERNAL_TOOLCHAIN
config NEED_TOOLCHAIN config NEED_TOOLCHAIN
bool bool
depends DEVEL depends on DEVEL
default y if !EXTERNAL_TOOLCHAIN default y if !EXTERNAL_TOOLCHAIN
menuconfig TOOLCHAINOPTS menuconfig TOOLCHAINOPTS
bool "Toolchain Options" if DEVEL bool "Toolchain Options" if DEVEL
depends NEED_TOOLCHAIN depends on NEED_TOOLCHAIN
menuconfig EXTRA_TARGET_ARCH menuconfig EXTRA_TARGET_ARCH
bool bool
prompt "Enable an extra toolchain target architecture" if TOOLCHAINOPTS prompt "Enable an extra toolchain target architecture" if TOOLCHAINOPTS
depends !sparc depends on !sparc
default y if powerpc64 default y if powerpc64
default n default n
help help
@ -150,17 +150,17 @@ menuconfig EXTRA_TARGET_ARCH
endchoice endchoice
comment "Binary tools" comment "Binary tools"
depends TOOLCHAINOPTS depends on TOOLCHAINOPTS
source "toolchain/binutils/Config.in" source "toolchain/binutils/Config.in"
comment "Compiler" comment "Compiler"
depends TOOLCHAINOPTS depends on TOOLCHAINOPTS
source "toolchain/gcc/Config.in" source "toolchain/gcc/Config.in"
comment "C Library" comment "C Library"
depends TOOLCHAINOPTS depends on TOOLCHAINOPTS
choice choice
prompt "C Library implementation" if TOOLCHAINOPTS prompt "C Library implementation" if TOOLCHAINOPTS
@ -170,14 +170,14 @@ choice
config USE_EGLIBC config USE_EGLIBC
bool "Use eglibc" bool "Use eglibc"
depends !avr32 depends on !avr32
config USE_UCLIBC config USE_UCLIBC
bool "Use uClibc" bool "Use uClibc"
config USE_MUSL config USE_MUSL
bool "Use musl" bool "Use musl"
depends !(mips64 || mips64el) depends on !(mips64 || mips64el)
endchoice endchoice
@ -186,11 +186,11 @@ source "toolchain/uClibc/Config.in"
source "toolchain/musl/Config.in" source "toolchain/musl/Config.in"
comment "Debuggers" comment "Debuggers"
depends TOOLCHAINOPTS depends on TOOLCHAINOPTS
config GDB config GDB
bool bool
depends !avr32 depends on !avr32
prompt "Build gdb" if TOOLCHAINOPTS prompt "Build gdb" if TOOLCHAINOPTS
default y default y
help help
@ -240,7 +240,7 @@ config TARGET_SUFFIX
default "musl" if USE_MUSL && !(arm || armeb) default "musl" if USE_MUSL && !(arm || armeb)
config MIPS64_ABI config MIPS64_ABI
depends mips64 || mips64el depends on mips64 || mips64el
string string
default "64" if MIPS64_ABI_N64 default "64" if MIPS64_ABI_N64
default "n32" if MIPS64_ABI_N32 default "n32" if MIPS64_ABI_N32

View File

@ -11,19 +11,19 @@ choice
bool "binutils 2.19.1" bool "binutils 2.19.1"
config BINUTILS_VERSION_2_20_1 config BINUTILS_VERSION_2_20_1
depends avr32 depends on avr32
bool "binutils 2.20.1" bool "binutils 2.20.1"
config BINUTILS_VERSION_2_21_1 config BINUTILS_VERSION_2_21_1
depends !avr32 || (avr32 && BROKEN) depends on !avr32 || (avr32 && BROKEN)
bool "binutils 2.21.1" bool "binutils 2.21.1"
config BINUTILS_VERSION_2_22 config BINUTILS_VERSION_2_22
depends !avr32 || (avr32 && BROKEN) depends on !avr32 || (avr32 && BROKEN)
bool "binutils 2.22" bool "binutils 2.22"
config BINUTILS_VERSION_2_23_1 config BINUTILS_VERSION_2_23_1
depends !avr32 || (avr32 && BROKEN) depends on !avr32 || (avr32 && BROKEN)
bool "binutils 2.23.1" bool "binutils 2.23.1"
endchoice endchoice

View File

@ -7,15 +7,15 @@ choice
config EGLIBC_VERSION_2_15 config EGLIBC_VERSION_2_15
bool "eglibc 2.15" bool "eglibc 2.15"
depends !GCC_VERSION_LLVM depends on !GCC_VERSION_LLVM
config EGLIBC_VERSION_2_16 config EGLIBC_VERSION_2_16
bool "eglibc 2.16" bool "eglibc 2.16"
depends !GCC_VERSION_LLVM depends on !GCC_VERSION_LLVM
config EGLIBC_VERSION_2_17 config EGLIBC_VERSION_2_17
bool "eglibc 2.17" bool "eglibc 2.17"
depends !GCC_VERSION_LLVM depends on !GCC_VERSION_LLVM
endchoice endchoice

View File

@ -9,7 +9,7 @@ choice
config GCC_VERSION_4_4_7 config GCC_VERSION_4_4_7
bool "gcc 4.4.7" bool "gcc 4.4.7"
depends avr32 depends on avr32
config GCC_VERSION_4_6_3 config GCC_VERSION_4_6_3
bool "gcc 4.6.3" bool "gcc 4.6.3"
@ -35,7 +35,7 @@ config GCC_USE_GRAPHITE
config GCC_USE_SYSTEM_PPL_CLOOG config GCC_USE_SYSTEM_PPL_CLOOG
bool bool
prompt "Use the system versions of PPL and CLooG" prompt "Use the system versions of PPL and CLooG"
depends GCC_USE_GRAPHITE depends on GCC_USE_GRAPHITE
default n default n
config EXTRA_GCC_CONFIG_OPTIONS config EXTRA_GCC_CONFIG_OPTIONS