mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-08-22 13:37:29 +00:00
c6cfeb1792
This patch moves PIT tests to separate directory and adds Makefile for it. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
21 lines
269 B
Makefile
21 lines
269 B
Makefile
NAME := tick
|
|
|
|
BIN := $(NAME).bin
|
|
ELF := $(NAME).elf
|
|
OBJ := $(NAME).o
|
|
|
|
all: $(BIN)
|
|
|
|
$(BIN): $(ELF)
|
|
objcopy -O binary $< $@
|
|
|
|
$(ELF): $(OBJ)
|
|
ld -Ttext=0x00 -nostdlib -static $< -o $@
|
|
|
|
%.o: %.S
|
|
gcc -nostdinc -c $< -o $@
|
|
|
|
clean:
|
|
rm -f $(BIN) $(ELF) $(OBJ)
|
|
.PHONY: clean
|