Use REPO_TOP in script, call script from makefile
This commit is contained in:
@@ -33,6 +33,7 @@ $(INIT_MEM):
|
|||||||
|
|
||||||
# The script that makes this file uses relative paths
|
# The script that makes this file uses relative paths
|
||||||
$(SD_IMAGE): $(SD_IMAGE_PATH)
|
$(SD_IMAGE): $(SD_IMAGE_PATH)
|
||||||
|
sh $(REPO_TOP)/sw/script/create_verilog_image.sh
|
||||||
cp $(SD_IMAGE_PATH) $(SD_IMAGE)
|
cp $(SD_IMAGE_PATH) $(SD_IMAGE)
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
|
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
BOOTLOADER=../bios/bootloader.bin
|
BOOTLOADER=$REPO_TOP/sw/bios/bootloader.bin
|
||||||
FILE=fs.fat
|
FILE=fs.fat
|
||||||
|
|
||||||
TMPMOUNT=/tmp/lo
|
TMPMOUNT=/tmp/lo
|
||||||
FSDIR=../fsdir
|
FSDIR=$REPO_TOP/sw/fsdir
|
||||||
|
|
||||||
V=-v
|
V=-v
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
BOOTLOADER=../bios/bootloader.bin
|
BOOTLOADER=$REPO_TOP/sw/bios/bootloader.bin
|
||||||
DEVICE=/dev/mmcblk0
|
DEVICE=/dev/mmcblk0
|
||||||
TMPBOOTSECT=/tmp/bootsect
|
TMPBOOTSECT=/tmp/bootsect
|
||||||
TMPMOUNT=/tmp/sd
|
TMPMOUNT=/tmp/sd
|
||||||
|
|||||||
Reference in New Issue
Block a user