From ec7621ebf9e2a64ddfc0fd085f6e383609cf5bec Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Fri, 21 Aug 2009 22:32:03 +0000
Subject: [PATCH] add nommu target feature flag

SVN-Revision: 17347
---
 scripts/metadata.pl | 1 +
 target/Config.in    | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/scripts/metadata.pl b/scripts/metadata.pl
index 39304dfbe79..41147d0ab8e 100755
--- a/scripts/metadata.pl
+++ b/scripts/metadata.pl
@@ -166,6 +166,7 @@ sub target_config_features(@) {
 		/fpu/ and $ret .= "\tselect HAS_FPU\n";
 		/ramdisk/ and $ret .= "\tselect USES_INITRAMFS\n";
 		/powerpc64/ and $ret .= "\tselect powerpc64\n";
+		/nommu/ and $ret .= "\tselect NOMMU\n";
 	}
 	return $ret;
 }
diff --git a/target/Config.in b/target/Config.in
index 0d597e69b17..8c2d73d337f 100644
--- a/target/Config.in
+++ b/target/Config.in
@@ -53,6 +53,9 @@ config USES_CPIOGZ
 config PROFILE_KCONFIG 
 	bool
 
+config NOMMU
+	bool
+
 # Architecture selection
 
 config i386