build(all): add build_boot_debug

This commit is contained in:
砼砼 2021-08-10 13:04:07 +08:00
parent b6162ed0ed
commit 1c71ab3a38
No known key found for this signature in database
GPG Key ID: 3FDE30A50EA2CCEA
2 changed files with 6 additions and 3 deletions

View File

@ -102,6 +102,10 @@ build_image: build_download
build_boot:
$(call runContainer,$(TARGET_PLATFORM),'-c','make build_all')
.PHONY: build_boot_debug
build_boot_debug:
$(call runContainer,$(TARGET_PLATFORM),'-c','BRP_DEBUG=1 make build_all')
.PHONY: run_container
run_container:
$(call runContainer,$(TARGET_PLATFORM))

View File

@ -28,10 +28,9 @@ For every other problem: please address it to the community - I don't know more
1. (on host) configure the Makefile and configure TARGET_PLATFORM (default: bromolow) and TARGET_VERSION (default: 6.2 - will build 6.2.4)
1. (on host) create your own user_config.json or edit the USERCONFIG_* variables in the Makefile
1. (on host) build image: make build_image
1. (on host) run container: make run_container
1. (in container) build redpill.ko module and redpill bootloader image: make build_all
1. (on host) build boot image: make build_boot
After running `make build_all` the created redpill bootloader image will be present in the ./image folder on the host.
After running `make build_boot` the created redpill bootloader image will be present in the ./image folder on the host.
Tested with hosts: Ubuntu 18.04 VM, Ubuntu 20.04 WSL2 and XPE (the make binary to build on Synology/XPE can be found here)