2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-13 23:01:31 +00:00

Kill off redundant references to the .zprefixes.

This commit is contained in:
Michael Brown 2007-07-16 17:26:07 +01:00
parent 84551d485e
commit 38dbe14bbe
2 changed files with 6 additions and 53 deletions

View File

@ -55,13 +55,13 @@ noargs : blib
@echo
@echo 'For example, '
@echo
@echo ' make allzroms '
@echo ' make allroms '
@echo
@echo 'will generate all possible .zrom (rom burnable) images, and'
@echo 'will generate all possible .rom (rom burnable) images, and'
@echo
@echo ' make allzdsks'
@echo ' make alldsks'
@echo
@echo 'will generate all possible .zdsk (bootable floppy) images, or'
@echo 'will generate all possible .dsk (bootable floppy) images, or'
@echo
@echo '===================================================='
@exit 1

View File

@ -36,74 +36,27 @@ LDSCRIPT = arch/i386/scripts/i386.lds
# Media types.
#
# It's ugly that we have to define these repetitive combinations by
# hand. Unforunately, $(eval ...) is available only in make >= 3.80,
# and using an external Makefile fragment doesn't work because
# OBJS_xxx need to be defined *before* the external Makefile fragments
# for the source files are generated...
CFLAGS_ZPREFIX = -DCOMPRESS
MEDIA += rom
OBJS_romprefix = romprefix zromprefix
CFLAGS_zromprefix = $(CFLAGS_ZPREFIX)
MEDIA += pxe
OBJS_pxeprefix = pxeprefix zpxeprefix
CFLAGS_zpxeprefix = $(CFLAGS_ZPREFIX)
MEDIA += elf
OBJS_elfprefix = elfprefix zelfprefix
CFLAGS_zelfprefix = $(CFLAGS_ZPREFIX)
MEDIA += elfd
OBJS_elfdprefix = elfdprefix zelfdprefix
CFLAGS_zelfdprefix = $(CFLAGS_ZPREFIX)
MEDIA += lmelf
OBJS_lmelfprefix = lmelfprefix zlmelfprefix
CFLAGS_zlmelfprefix = $(CFLAGS_ZPREFIX)
MEDIA += lmelfd
OBJS_lmelfdprefix = lmelfdprefix zlmelfdprefix
CFLAGS_zlmelfdprefix = $(CFLAGS_ZPREFIX)
MEDIA += lkrn
OBJS_lkrnprefix = lkrnprefix zlkrnprefix
CFLAGS_zlkrnprefix = $(CFLAGS_ZPREFIX)
MEDIA += bImage
OBJS_bImageprefix = bImageprefix zbImageprefix
CFLAGS_zbImageprefix = $(CFLAGS_ZPREFIX)
MEDIA += dsk
OBJS_dskprefix = dskprefix zdskprefix
CFLAGS_zdskprefix = $(CFLAGS_ZPREFIX)
MEDIA += nbi
OBJS_nbiprefix = nbiprefix znbiprefix
CFLAGS_znbiprefix = $(CFLAGS_ZPREFIX)
MEDIA += hd
OBJS_hdprefix = hdprefix zhdprefix
CFLAGS_zhdprefix = $(CFLAGS_ZPREFIX)
MEDIA += raw
OBJS_rawprefix = rawprefix zrawprefix
CFLAGS_zrawprefix = $(CFLAGS_ZPREFIX)
# These media cannot handle compressed payloads
MEDIA += com
MEDIA += exe
# Special target for building Master Boot Record binary
$(BIN)/mbr.bin : $(BIN)/mbr.o
$(OBJCOPY) -O binary $< $@
# Some suffixes (e.g. %.zfd0) are generated directly from other
# finished files (e.g. %.zdsk), rather than having their own prefix.
# Some suffixes (e.g. %.fd0) are generated directly from other
# finished files (e.g. %.dsk), rather than having their own prefix.
# rule to write disk images to /dev/fd0
NON_AUTO_MEDIA += fd0