summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2008-04-24 16:49:57 +0000
committerKhem Raj <raj.khem@gmail.com>2008-04-24 16:49:57 +0000
commit50726fb3830a587cb2243587e98c9c57e19ebdc0 (patch)
tree8aa7a49432ade7f30a68d5cc3c0f9b7101cae27d
parenta5f7a13805ca9851fa0dc818dc74162bb4dfbf95 (diff)
Fix make to compile on uclibc.
-rw-r--r--packages/make/make.inc8
1 files changed, 8 insertions, 0 deletions
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
+}