Michael Olbrich wrote:
On Fri, Jan 29, 2010 at 11:22:08AM +0100, [email protected] wrote:
+GLEW_PATH      := PATH=$(CROSS_PATH)
+GLEW_MAKE_ENV  := $(CROSS_ENV)

Remove these please.

+#
+# autoconf
+#

It's not autoconf, right?

+GLEW_MAKE_OPT  := \
+       CC=$(CROSS_CC) \
+       LD=$(CROSS_CC) \
+       AR=$(CROSS_AR) \
use $(CROSS_ENV_PROGS) here.

That doesn't work, cause the glew makefile wants to use gcc as linker.


+       STRIP=$(CROSS_STRIP) \
+       CFLAGS.EXTRA='$(CROSS_CPPFLAGS)' \
+       LDFLAGS.EXTRA='$(CROSS_LDFLAGS)' \
+       LDFLAGS.GL='`$(CROSS_ENV) eval $$PKG_CONFIG --libs glu`' \
+       GLEW_DEST=$(GLEW_PKGDIR)/usr \
+       BINDIR=$(GLEW_PKGDIR)/usr/bin \
+       LIBDIR=$(GLEW_PKGDIR)/usr/lib \
+       INCDIR=$(GLEW_PKGDIR)/usr/include/GL

Are you sure this path won't show up on the target?

It is a simple library, and i have not found anything where these
paths are used at run time, they only seem to be used to install
things.


- Erwin


+$(STATEDIR)/glew.prepare:
+       @$(call targetinfo)
+       @$(call touch)

Use
GLEW_CONF_TOOL := NO
and the default prepare stage will do nothing.

Michael



--
ptxdist mailing list
[email protected]

Reply via email to