Re: [Etherboot-developers] 5.1.3 make changes?
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: <ke...@us...> - 2002-12-03 14:19:29
|
>There seems to be a change in the 5.1.3 Makefile. Previously in 5.0.x
>one could do:
>
>$ make bin32/mx98715.lzdsk
>cat bin/przloader.bin bin32/tulip.huf > bin32/mx98715.lzrom
>./makerom.pl -p 0x10d9,0x0531 -i'mx98715.lzrom 5.0.8 Etherboot (GPL)'
>bin32/mx98715.lzrom
>PCI header at 0x1c and PnP header at 0x34
>cat bin/boot1a.bin bin32/mx98715.lzrom > bin32/mx98715.lzdsk.x
>dd if=bin32/mx98715.lzdsk.x of=bin32/mx98715.lzdsk bs=36k conv=sync 2>
>/dev/null
>rm -f bin32/mx98715.lzdsk.x
>
>But now in 5.1.3 you get:
>
>$ make bin32/mx98715.lzdsk
>make: *** No rule to make target `bin32/mx98715.lzdsk'. Stop.
Ok, this was puzzling, but the reason is not that the .lzdsk rule has
gone away, but that it had not been updated to match the .dsk rule.
It seems that the rule to fix should look like:
%.lzdsk: %.lzrom $(DISKLOADER)
cat $(DISKLOADER) $< > $@.x
dd if=$@.x of=$@ bs=36k conv=sync 2> /dev/null
$(RM) $@.x
if it's to match .dsk. I assume that $(START16) is not needed any more.
The whole area needs a good cleanup, but I don't know which prefix files
can jump directly into the .img. Eric, could we have a crash course on
how to jump into the new .img/.lzimgs so that I can have a go at fixing
the prefixes for 5.1.4? I assume $(DISKLOADER) works?
|