FreeCalypso > hg > freecalypso-tools
view miscutil/Makefile @ 718:098fea21ba13
doc/Host-tools-overview: tiffs-mkfs description updated
The first version of tiffs-mkfs did not include a journal file in the created
FFS, expecting the firmware to create it on first boot. All historical
firmwares prior to a recent FC fix (2020-05) contain a bug in that code path,
thus images made with the first version of tiffs-mkfs were only acceptable to
very recent FC firmwares. tiffs-mkfs has now been extended to include an empty
journal in the created FFS, thus the restriction of working with recent fw only
has been lifted.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 23 Aug 2020 04:55:02 +0000 |
parents | 89e9e79a7f55 |
children | 5b8287c655cf |
line wrap: on
line source
CC= gcc CFLAGS= -O2 PROGS= fc-fr2tch fc-gsm2vm fc-rgbconv fc-serterm fc-tch2fr fc-vm2hex imei-luhn\ mokosrec2bin srec-regions SCRIPTS=c139explore pirexplore INSTALL_PREFIX= /opt/freecalypso INSTBIN=${INSTALL_PREFIX}/bin all: ${PROGS} FR2TCH_OBJS= fc-fr2tch.o gsm0610.o GSM2VM_OBJS= fc-gsm2vm.o gsm0610.o TCH2FR_OBJS= fc-tch2fr.o gsm0610.o SERTERM_OBJS= fc-serterm.o ttypassthru.o ../libserial/libserial.a fc-fr2tch: ${FR2TCH_OBJS} ${CC} ${CFLAGS} -o $@ ${FR2TCH_OBJS} fc-gsm2vm: ${GSM2VM_OBJS} ${CC} ${CFLAGS} -o $@ ${GSM2VM_OBJS} fc-rgbconv: fc-rgbconv.c ${CC} ${CFLAGS} -o $@ $@.c fc-serterm: ${SERTERM_OBJS} ${CC} ${CFLAGS} -o $@ ${SERTERM_OBJS} ttypassthru.o: ../loadtools/ttypassthru.c ${CC} ${CFLAGS} -c -o $@ $< fc-tch2fr: ${TCH2FR_OBJS} ${CC} ${CFLAGS} -o $@ ${TCH2FR_OBJS} fc-vm2hex: fc-vm2hex.c ${CC} ${CFLAGS} -o $@ $@.c imei-luhn: imei-luhn.c ${CC} ${CFLAGS} -o $@ $@.c mokosrec2bin: mokosrec2bin.c ${CC} ${CFLAGS} -o $@ $@.c srec-regions: srec-regions.c ${CC} ${CFLAGS} -o $@ $@.c install: mkdir -p ${INSTBIN} install -c ${PROGS} ${SCRIPTS} ${INSTBIN} clean: rm -f ${PROGS} *.o *errs *.out