target/arm: Update CNTP for PREDDESC
[qemu/ar7.git] / tests / tcg / minilib / Makefile.target
blobc821d2806a9c544c5b23089a944b0d2861405137
2 # System test minilib objects
4 # The system tests are very constrained in terms of the library they
5 # support but we are not savages. We provide a few helpful routines
6 # that can be shared with the tests for basic I/O.
8 # They assume each arch has provided a putc function.
11 SYSTEM_MINILIB_SRC=$(SRC_PATH)/tests/tcg/minilib
12 MINILIB_SRCS=$(wildcard $(SYSTEM_MINILIB_SRC)/*.c)
13 MINILIB_OBJS=$(patsubst $(SYSTEM_MINILIB_SRC)/%.c, %.o, $(MINILIB_SRCS))
15 MINILIB_CFLAGS+=-nostdlib -ggdb -O0
16 MINILIB_INC=-isystem $(SYSTEM_MINILIB_SRC)
18 .PRECIOUS: $(MINILIB_OBJS)
20 %.o: $(SYSTEM_MINILIB_SRC)/%.c
21         $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c $< -o $@