Update submodules and fix makefile

This commit is contained in:
ProtoByter 2022-12-12 15:16:27 +00:00
parent 23c4f42eb4
commit f6c65cb8fc
2 changed files with 3 additions and 3 deletions

View File

@ -47,12 +47,12 @@ kernel: $(BUILD_DIR)/kernel8.elf
$(BUILD_DIR)/r4.img: $(BUILD_DIR)/kernel8.img src/config.txt third-party/raspi-firmware/boot/* $(BUILD_DIR)/r4.img: $(BUILD_DIR)/kernel8.img src/config.txt third-party/raspi-firmware/boot/*
$(VERB) echo Building the image $(VERB) echo Building the image
$(VERB) echo -- Making the image file \($(BUILD_DIR)/tmp.img\) $(VERB) echo -- Making the image file \($(BUILD_DIR)/r4.img \)
$(VERB) dd if=/dev/zero of=$(BUILD_DIR)/tmp.img count=64 bs=1M $(VERB) dd if=/dev/zero of=$(BUILD_DIR)/tmp.img count=64 bs=1M
$(VERB) echo -e "unit: sectors\n/dev/hdc1 : Id=0c" | sfdisk $(BUILD_DIR)/tmp.img > /dev/null $(VERB) echo -e "unit: sectors\n/dev/hdc1 : Id=0c" | sfdisk $(BUILD_DIR)/tmp.img > /dev/null
$(VERB) mkfs.vfat -F 32 $(BUILD_DIR)/tmp.img > /dev/null $(VERB) mkfs.vfat -F 32 $(BUILD_DIR)/tmp.img > /dev/null
$(VERB) echo -- Copying files to `$(BUILD_DIR)/staging` $(VERB) echo -- Copying files to $(BUILD_DIR)/staging
$(VERB) mkdir -p $(BUILD_DIR)/staging $(VERB) mkdir -p $(BUILD_DIR)/staging
$(VERB) cp third-party/raspi-firmware/boot/bcm2710-rpi-3-b.dtb $(BUILD_DIR)/staging/ $(VERB) cp third-party/raspi-firmware/boot/bcm2710-rpi-3-b.dtb $(BUILD_DIR)/staging/
$(VERB) cp third-party/raspi-firmware/boot/bcm2710-rpi-3-b-plus.dtb $(BUILD_DIR)/staging/ $(VERB) cp third-party/raspi-firmware/boot/bcm2710-rpi-3-b-plus.dtb $(BUILD_DIR)/staging/

@ -1 +1 @@
Subproject commit 79fda7c033649dc04993a3bb1534d2f83d46359c Subproject commit 0a7ea7028461c61ad13ed5440cf0461c9013183c