Quoting hrmvb <[EMAIL PROTECTED]>:
> I am also looking into SMS Server Tools by Stefan Frings. It seems
> portable enough for the FoxServ board.
>
I have successfully compiled gammu on the Foxboard - see the attached
Makefile.
Just create a gammu directory, copy the Makefile there, cd to it and
type "make":
hopefully everything should work out fine.
John - would you mind adding gammu to the ported applications inside
Phrozen SDK?
Thanks a lot!
Ant9000
----------
AXIS_USABLE_LIBS = UCLIBC GLIBC
include $(AXIS_TOP_DIR)/tools/build/Rules.axis
ifeq ($(AXIS_BUILDTYPE),cris-axis-linux-gnuuclibc)
HOST=cris-axis-linux-gnuuclibc
AXIS_TARGET=$(AXIS_TOP_DIR)/target/$(HOST)
CC=gcc_cris -mlinux -mno-mul-bug-workaround -muclibc=$(AXIS_TARGET)
else
HOST=cris-axis-linux-gnu
AXIS_TARGET=$(AXIS_TOP_DIR)/target/$(HOST)
CC=gcc-cris -mlinux -mno-mul-bug-workaround
endif
LN= ln
RM= rm -f
AR= ar-cris
INSTALL= install_elinux -p
LD= ld-cris -mcrislinux
OBJCOPY= objcopy-cris
RANLIB= ranlib-cris
STRIP= strip-cris
OPT=-Os
CFLAGS=-Wall -Wshadow -g
LDFLAGS=-fPIC -L$(AXIS_TARGET)/lib -Wl,-rpath-link,$(AXIS_TARGET)/lib
PROGS = gammu
DEST = $(prefix)/usr/bin
all: $(PROGS)
$(PROGS): prepare
cd gammu && \
./configure \
--prefix=/usr \
--host=$(HOST) \
--build=`uname -m`-pc-linux-gnu
make -C gammu
$(STRIP) gammu/gammu/gammu
prepare:
[ -f gammu-1.10.2.tar.bz2 ] || wget
http://dl.cihar.com/gammu/releases/gammu-1.10.2.tar.bz2
[ -d gammu-1.10.2 ] || tar jxvf gammu-1.10.2.tar.bz2
[ -L gammu ] || ln -s gammu-1.10.2 gammu
install: $(PROGS)
make -C gammu install prefix=$(AXIS_TARGET)
clean:
make -C gammu clean
[Non-text portions of this message have been removed]