mirror of
https://github.com/dreamlayers/netbsd-mopd.git
synced 2026-02-27 08:58:59 +00:00
* Sun Nov 17 2002 Maciej W. Rozycki <macro@ds2.pg.gda.pl> 2.5.3-15 - modified Makefiles to improve portability: specify "-lelf" last for the linker, define LIBELF in the top-level Makefile to permit overriding (elf) * Sun Nov 11 2001 Maciej W. Rozycki <macro@ds2.pg.gda.pl> 2.5.3-13 - a bug affecting multisegment ELF files again, sigh... (elf) * Sun Nov 11 2001 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - 64-bit ELF support (elf) * Sun Nov 11 2001 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - pass the entry point address as is as it's more flexible; print ELF file information; bug fixes (elf) * Sat Nov 10 2001 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - reject dynamically linked executables; calculate a physical entry point address from the virtual one; bug fixes (elf) * Fri Nov 9 2001 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - map ELF segments by their physical addresses to facilitate systems which boot with their memory mapping different from the final one; sort phdrs by ascending addresses; bug fixes (elf) * Thu Nov 8 2001 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - took the header block count of MOP images into account (elf) - addedd handling of MOP images with a null block count or size specified in the header (elf) * Sun Oct 28 2001 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - fixed a stupid bug causing multisegment ELF files not to be sent properly (elf) * Fri Oct 26 2001 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - added ELF support (elf) Downloaded from: ftp://ftp.linux-mips.org/pub/linux/mips/people/macro/mopd/mopd-2.5.3-elf.patch.gz .patch SHA256 = f63818152cd74e551068ea7856e0cc872ddd2f78485cda08a77b3d81a1aa845c Patch history copied from: ftp://ftp.linux-mips.org/pub/linux/mips/people/macro/mopd/mopd-2.5.3-15.spec
19 lines
334 B
Makefile
19 lines
334 B
Makefile
AR = ar
|
|
CC = gcc
|
|
RANLIB = ranlib
|
|
|
|
CFLAGS = -O2 -g
|
|
LDFLAGS =
|
|
LIBELF = -lelf
|
|
|
|
SUBDIRS = common mopd mopchk mopprobe moptrace
|
|
|
|
all clean:
|
|
@for dir in $(SUBDIRS); do \
|
|
(cd $$dir && \
|
|
$(MAKE) "AR=$(AR)" "CC=$(CC)" "RANLIB=$(RANLIB)" \
|
|
"CFLAGS=$(CFLAGS)" "LDFLAGS=$(LDFLAGS)" \
|
|
"LIBELF=$(LIBELF)" $@) || \
|
|
exit 1; \
|
|
done
|