From: Khem Raj Date: Thu, 24 Apr 2008 16:49:57 +0000 (+0000) Subject: Fix make to compile on uclibc. X-Git-Tag: Release-2010-05/1~7109^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50726fb3830a587cb2243587e98c9c57e19ebdc0;p=openembedded.git Fix make to compile on uclibc. --- diff --git a/packages/make/make.inc b/packages/make/make.inc index 31223cbbf1..8a43f40a24 100644 --- a/packages/make/make.inc +++ b/packages/make/make.inc @@ -9,3 +9,11 @@ SRC_URI = "${GNU_MIRROR}/make/make-${PV}.tar.bz2 \ file://SCCS.patch;patch=1" inherit autotools + +do_configure_prepend() { + if [ "${TARGET_OS}" = "linux-uclibc" -o "${TARGET_OS}" = "linux-uclibcgnueabi" ]; then + export make_cv_sys_gnu_glob="no" + export GLOBINC=-I`pwd`/glob + export GLOBLIB=glob/libglob.a + fi +}