summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXU Benda <heroxbd@gmail.com>2013-06-19 22:46:50 +0900
committerXU Benda <heroxbd@gmail.com>2013-06-19 22:46:50 +0900
commit9cd40284e50b0f3f6afb0f54762dacd88c76f267 (patch)
tree5eaacd9ca7c53e2c4b7b9bc6ad302b8928973669 /profiles/features/32bit-native/profile.bashrc
parentdrop powerpc-softfloat-linux-gnu, glibc and wxPython updates (diff)
downloadandroid-9cd40284e50b0f3f6afb0f54762dacd88c76f267.tar.gz
android-9cd40284e50b0f3f6afb0f54762dacd88c76f267.tar.bz2
android-9cd40284e50b0f3f6afb0f54762dacd88c76f267.zip
Prefix with-libc for wiki
http://wiki.gentoo.org/wiki/Prefix/libc
Diffstat (limited to 'profiles/features/32bit-native/profile.bashrc')
-rw-r--r--profiles/features/32bit-native/profile.bashrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/profiles/features/32bit-native/profile.bashrc b/profiles/features/32bit-native/profile.bashrc
new file mode 100644
index 0000000..c601900
--- /dev/null
+++ b/profiles/features/32bit-native/profile.bashrc
@@ -0,0 +1,7 @@
+# Here we die on any arch that isn't 32-bit.
+case ${ARCH} in
+ amd64) die "This architecture always uses a 64-bit kernel. Please use an x86 profile!" ;;
+ mips) die "This architecture always uses a 64-bit kernel." ;;
+ ppc64) die "This architecture always uses a 64-bit kernel. Please use a ppc profile!" ;;
+ sparc) die "This architecture always uses a 64-bit kernel." ;;
+esac