Permalink
Browse files

classes: Remove klibc and dietlibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
  • Loading branch information...
kraj committed Feb 24, 2012
1 parent befb139 commit 856e4cfed0aca7309546e6d6c0996161c349ae73
Showing with 0 additions and 39 deletions.
  1. +0 −30 classes/dietlibc.bbclass
  2. +0 −9 classes/klibc.bbclass
View
@@ -1,30 +0,0 @@
-DEPENDS =+ "dietlibc"
-
-def dietlibc_after_parse(d):
- import bb
- # Remove the NLS
- cfg = oe_filter_out('--(dis|en)able-nls', bb.data.getVar('EXTRA_OECONF', d, 1) or "", d)
- # Remove shared enable static only
- cfg += " --disable-nls --disable-shared --enable-static"
- bb.data.setVar('EXTRA_OECONF', cfg, d)
- cfg = bb.data.getVar('EXTRA_OEMAKE', d, 1) or ""
- cfg = oe_filter_out("\'CC=", bb.data.getVar('EXTRA_OEMAKE', d, 1) or "", d)
- cfgtmp = "\'CC=\"diet ${CCACHE}\""
- cfgtmp += cfg
- bb.data.setVar('EXTRA_OEMAKE', cfgtmp, d)
-
-#python () {
-# dietlibc_after_parse(d)
-#}
-
-set_dietlibc_env () {
- export CC="diet ${CC}"
-}
-
-do_compile_prepend() {
- set_dietlibc_env
-}
-
-do_configure_prepend() {
- set_dietlibc_env
-}
View
@@ -1,9 +0,0 @@
-# klcc-cross depends on klibc
-DEPENDS =+ "klcc-cross"
-
-export CC=${TARGET_PREFIX}klcc
-
-# reset inherited OE flags to avoid e.g. ggdb3 and keep size small
-export CFLAGS=""
-export CPPFLAGS=""
-export LDFLAGS=""

0 comments on commit 856e4cf

Please sign in to comment.