1
0
Fork 0
mirror of https://gitlab.com/bztsrc/bootboot.git synced 2023-02-13 20:54:32 -05:00
This commit is contained in:
bzt 2021-01-17 22:34:37 +01:00
parent 2def7a7d9a
commit 3794ee43da
3 changed files with 4 additions and 2 deletions

View file

@ -14,9 +14,9 @@ all: ../mkbootimg/mkbootimg initdir disk
initdir:
@mkdir initrd initrd/sys 2>/dev/null | true
ifeq ($(PLATFORM),x86)
cp ../mykernel/mykernel.x86_64.elf initrd/sys/core
cp ../mykernel/c/mykernel.x86_64.elf initrd/sys/core
else
cp ../mykernel/mykernel.aarch64.elf initrd/sys/core
cp ../mykernel/c/mykernel.aarch64.elf initrd/sys/core
endif
# create hybrid disk / cdrom image or ROM image

View file

@ -22,6 +22,7 @@ megfelelően, vagy csak módosítsd az mkbootimg.json fájlt és adj hozzá reko
Fordítás
--------
Először is mozgasd át ezt az egész `images` mappát a helyi repód master ága alá.
Lásd mkbootimg.json. Nézz bele a Makefile-ba is, az elején fogsz látni konfigurálható változókat.
- PLATFORM: vagy "x86" vagy "rpi", ez választja ki, melyik lemezképet generálja

View file

@ -22,6 +22,7 @@ modify mkbootimg.json and add more elements to the `partitions` array.
Compilation
-----------
First, move this `images` directory to your local master branch of the repository.
See mkbootimg.json. Look at the beginning of the Makefile too, you'll find configurable variables there.
- PLATFORM: either "x86" or "rpi", this selects which disk image to create