From 9e1d2c15d905cf210760d9d4f654f91a5d6c5f42 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Fri, 5 Apr 2013 12:36:12 +0000 Subject: 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 SVN-Revision: 36202 --- Config.in | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Config.in') 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" -- cgit v1.2.3