diff options
author | Florian Fainelli <florian@openwrt.org> | 2013-04-05 12:36:12 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2013-04-05 12:36:12 +0000 |
commit | e861f11c45cdbe7632bf6d9266dafd0d3cf2780c (patch) | |
tree | ac9d19555150e98419eb2e00f2e7a2caeaed1b5b /scripts | |
parent | 221ef39aabf390285cd5af0b72b02e020832f9ff (diff) | |
download | upstream-e861f11c45cdbe7632bf6d9266dafd0d3cf2780c.tar.gz upstream-e861f11c45cdbe7632bf6d9266dafd0d3cf2780c.tar.bz2 upstream-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 'scripts')
-rwxr-xr-x | scripts/metadata.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl index b04cd8cc3d..6249127e3d 100755 --- a/scripts/metadata.pl +++ b/scripts/metadata.pl @@ -174,6 +174,7 @@ sub target_config_features(@) { /ramdisk/ and $ret .= "\tselect USES_INITRAMFS\n"; /powerpc64/ and $ret .= "\tselect powerpc64\n"; /nommu/ and $ret .= "\tselect NOMMU\n"; + /mips16/ and $ret .= "\tselect HAS_MIPS16\n"; } return $ret; } |