Need this flag to compile busybox when we don't have vaild uClibc flags.

Signed-off-by: Thomas Chou <[EMAIL PROTECTED]>

diff --git a/user/busybox/include/platform.h b/user/busybox/include/platform.h
index 69d031d..4695892 100644
--- a/user/busybox/include/platform.h
+++ b/user/busybox/include/platform.h
@@ -208,7 +208,7 @@ typedef unsigned smalluint;
  * for a mmu-less system; the user should pass EXTRA_CFLAGS="-DBB_NOMMU"
  * on his own.
  */
-#if defined __UCLIBC__ && __UCLIBC_MAJOR__ >= 0 && __UCLIBC_MINOR__ >= 9 && \
+#if defined __uClinux__ || defined __UCLIBC__ && __UCLIBC_MAJOR__ >= 0 && 
__UCLIBC_MINOR__ >= 9 && \
     __UCLIBC_SUBLEVEL__ > 28 && !defined __ARCH_USE_MMU__
 #define BB_NOMMU
 #endif
-- 
1.5.3.3

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to