tuhdo / os01

Bootstrap yourself to write an OS from scratch. A book for self-learner.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[pg.211][Code] DISK_IMAGE path error

TLHorse opened this issue · comments

In page 211, Makefile, there's a line of code:

DISK_IMG=disk.img

According to Figure 7.7.4, disk.img should be in build/.
Using this wrong path would cause disk.img generated in ./, but not in build/.
Correction:

DISK_IMG=$(BUILD_DIR)/disk.img