aboutsummaryrefslogtreecommitdiffstats
path: root/Config.in
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-04-05 12:36:12 +0000
committerFlorian Fainelli <florian@openwrt.org>2013-04-05 12:36:12 +0000
commite861f11c45cdbe7632bf6d9266dafd0d3cf2780c (patch)
treeac9d19555150e98419eb2e00f2e7a2caeaed1b5b /Config.in
parent221ef39aabf390285cd5af0b72b02e020832f9ff (diff)
downloadmaster-187ad058-e861f11c45cdbe7632bf6d9266dafd0d3cf2780c.tar.gz
master-187ad058-e861f11c45cdbe7632bf6d9266dafd0d3cf2780c.tar.bz2
master-187ad058-e861f11c45cdbe7632bf6d9266dafd0d3cf2780c.zip
buildroot: allow enabling MIPS16 user-space build
Enabling MIPS16 is made conditional on advertising the "mips16" feature for a specific target since it requires support from the CPU (HAS_MIPS16) and the actual use of MIPS16 for building packages (USE_MIPS16). Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36202 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'Config.in')
-rw-r--r--Config.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/Config.in b/Config.in
index 8de6e1aa87..7b03c7a245 100644
--- a/Config.in
+++ b/Config.in
@@ -681,6 +681,17 @@ menuconfig TARGET_OPTIONS
Most people will answer N.
+ config USE_MIPS16
+ bool "Build packages with MIPS16 instructions" if TARGET_OPTIONS
+ depends on HAS_MIPS16
+ help
+ If your target CPU does support the MIPS16 instruction set
+ and you want to use it for packages, enable this option.
+ MIPS16 produces smaller binaries thus reducing pressure on
+ caches and TLB.
+
+ Most people will answer N.
+
source "toolchain/Config.in"
source "target/imagebuilder/Config.in"