mirror of
https://ghproxy.com/https://github.com/tossp/redpill-tool-chain.git
synced 2024-09-20 08:07:43 +00:00
build(all): add build_boot_debug
This commit is contained in:
parent
b6162ed0ed
commit
1c71ab3a38
4
Makefile
4
Makefile
|
@ -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))
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user