mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-05 22:43:39 +00:00
Unify all tests to use same common makefile includes
This commit is contained in:
parent
125c79176e
commit
1e5555f66d
14 changed files with 76 additions and 278 deletions
|
|
@ -1,13 +1,2 @@
|
|||
TOPDIR=../../../
|
||||
PROJECT:=$(shell basename ${PWD})
|
||||
SRCS=${PROJECT}.c ${TOPDIR}/apps/common/crt0.S
|
||||
all: all_common
|
||||
@# Convert ROM to C file and header
|
||||
@xxd -i ${PROJECT}.bin > ${PROJECT}-header.c
|
||||
@echo "extern unsigned char ${PROJECT}_bin[]; extern int ${PROJECT}_bin_len;" > ${PROJECT}-header.h
|
||||
|
||||
test: test_common
|
||||
clean: clean_common
|
||||
rm -f ${PROJECT}-header.h ${PROJECT}-header.c
|
||||
|
||||
include ${TOPDIR}/apps/common/makefile.common
|
||||
TOPDIR=../../..
|
||||
include ${TOPDIR}/test/common/makefile-rom.common
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue