mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-09 05:05:25 +00:00
Merge branch 'main' of https://github.com/openhwgroup/cvw into dev
This commit is contained in:
commit
9f40da54d4
@ -55,10 +55,23 @@ $(RISCV):
|
|||||||
|
|
||||||
# Disassembly rules ---------------------------------------------------
|
# Disassembly rules ---------------------------------------------------
|
||||||
|
|
||||||
|
vmlinux:
|
||||||
|
sed 's/BR2_LINUX_KERNEL_IMAGE=y/\# BR2_LINUX_KERNEL_IMAGE is not set/g' ${BR2023}/main.config > ${BR2023}/main-vmlinux.config
|
||||||
|
sed -i 's/\# BR2_LINUX_KERNEL_VMLINUX is not set/BR2_LINUX_KERNEL_VMLINUX=y/g' ${BR2023}/main-vmlinux.config
|
||||||
|
sed -i 's/\# BR2_TARGET_OPENSBI_LINUX_PAYLOAD is not set//g' ${BR2023}/main-vmlinux.config
|
||||||
|
cp $(BR2023)/main-vmlinux.config $(WALLYBOARD)/main.config
|
||||||
|
cp $(BR2023)/main-vmlinux.config $(BUILDROOT)/.config
|
||||||
|
make -C $(BUILDROOT) --jobs
|
||||||
|
|
||||||
disassemble:
|
disassemble:
|
||||||
mkdir -p $(DIS)
|
mkdir -p $(DIS)
|
||||||
make -j $(OBJDUMPS)
|
make -j $(OBJDUMPS)
|
||||||
|
|
||||||
|
Image:
|
||||||
|
cp $(BR2023)/main.config $(WALLYBOARD)/main.config
|
||||||
|
cp $(BR2023)/main.config $(BUILDROOT)/.config
|
||||||
|
make -C $(BUILDROOT) --jobs
|
||||||
|
|
||||||
$(DIS)/%.objdump: $(IMAGES)/%.elf
|
$(DIS)/%.objdump: $(IMAGES)/%.elf
|
||||||
riscv64-unknown-elf-objdump -DS $< >> $@
|
riscv64-unknown-elf-objdump -DS $< >> $@
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user