Makefile: simplify fox32os.img rule
This commit is contained in:
parent
c9457baa42
commit
46f44cdf30
6
Makefile
6
Makefile
|
@ -59,6 +59,6 @@ FILES = \
|
||||||
base_image/launcher.fxf
|
base_image/launcher.fxf
|
||||||
|
|
||||||
fox32os.img: $(BOOTLOADER) $(FILES)
|
fox32os.img: $(BOOTLOADER) $(FILES)
|
||||||
$(RYFS) -s $(IMAGE_SIZE) -l fox32os -b $(BOOTLOADER) create fox32os.img.tmp
|
$(RYFS) -s $(IMAGE_SIZE) -l fox32os -b $(BOOTLOADER) create $@.tmp
|
||||||
cd base_image; for file in *; do $(RYFS) add ../fox32os.img.tmp $$file; done
|
for file in $(FILES); do $(RYFS) add $@.tmp $$file; done
|
||||||
cp fox32os.img.tmp fox32os.img
|
mv $@.tmp $@
|
||||||
|
|
Loading…
Reference in New Issue
Block a user