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
|
||||
$(SD_IMAGE): $(SD_IMAGE_PATH)
|
||||
sh $(REPO_TOP)/sw/script/create_verilog_image.sh
|
||||
cp $(SD_IMAGE_PATH) $(SD_IMAGE)
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
|
||||
#!/bin/bash
|
||||
|
||||
BOOTLOADER=../bios/bootloader.bin
|
||||
BOOTLOADER=$REPO_TOP/sw/bios/bootloader.bin
|
||||
FILE=fs.fat
|
||||
|
||||
TMPMOUNT=/tmp/lo
|
||||
FSDIR=../fsdir
|
||||
FSDIR=$REPO_TOP/sw/fsdir
|
||||
|
||||
V=-v
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
BOOTLOADER=../bios/bootloader.bin
|
||||
BOOTLOADER=$REPO_TOP/sw/bios/bootloader.bin
|
||||
DEVICE=/dev/mmcblk0
|
||||
TMPBOOTSECT=/tmp/bootsect
|
||||
TMPMOUNT=/tmp/sd
|
||||
|
||||
Reference in New Issue
Block a user