diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-07-15 19:40:55 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-07-24 21:20:13 +0000 |
commit | 092c340a2062fa98b7387fc5fd63578ddae7d0b6 (patch) | |
tree | 98ec96946eeb2ae709cb0528cc6998e21bb9b290 /firmware/test/buflib/Makefile | |
parent | 17f7cc92c258bc456a27c3e7c5a19c9409851879 (diff) | |
download | rockbox-092c340a2062fa98b7387fc5fd63578ddae7d0b6.tar.gz rockbox-092c340a2062fa98b7387fc5fd63578ddae7d0b6.zip |
[1/4] Remove SH support and all archos targets
This removes all code specific to SH targets
Change-Id: I7980523785d2596e65c06430f4638eec74a06061
Diffstat (limited to 'firmware/test/buflib/Makefile')
-rw-r--r-- | firmware/test/buflib/Makefile | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/firmware/test/buflib/Makefile b/firmware/test/buflib/Makefile deleted file mode 100644 index 33191c6cbe..0000000000 --- a/firmware/test/buflib/Makefile +++ /dev/null | |||
@@ -1,67 +0,0 @@ | |||
1 | FIRMWARE=../.. | ||
2 | |||
3 | CC ?= gcc | ||
4 | # Note: Don't be fooled by MEMORYSIZE here | ||
5 | # We have a fixed, predictable buffer in UT_core_allocator_init() | ||
6 | CFLAGS += -g -O2 -DDEBUG -D__PCTOOL__ -DBUFLIB_UNIT_TEST -DMEMORYSIZE=8 -DBUFLIB_DEBUG_BLOCKS -std=gnu99 -I$(FIRMWARE)/include -I$(FIRMWARE)/export -I. | ||
7 | LDFLAGS += -L. -lpthread | ||
8 | |||
9 | .PHONY: clean all | ||
10 | |||
11 | TARGETS_OBJ = test_main.o \ | ||
12 | test_main2.o \ | ||
13 | test_move.o \ | ||
14 | test_move2.o \ | ||
15 | test_max.o \ | ||
16 | test_shrink.o \ | ||
17 | test_shrink_unaligned.o \ | ||
18 | test_shrink_startchanged.o \ | ||
19 | test_shrink_cb.o | ||
20 | |||
21 | TARGETS = $(TARGETS_OBJ:.o=) | ||
22 | |||
23 | LIB_OBJ = buflib.o \ | ||
24 | core_alloc.o \ | ||
25 | crc32.o \ | ||
26 | strlcpy.o \ | ||
27 | util.o | ||
28 | |||
29 | LIB_FILE = libbuflib.a | ||
30 | LIB = buflib | ||
31 | |||
32 | |||
33 | ifndef V | ||
34 | SILENT:=@ | ||
35 | else | ||
36 | VERBOSEOPT:=-v | ||
37 | endif | ||
38 | |||
39 | PRINTS=$(SILENT)$(call info,$(1)) | ||
40 | |||
41 | all: $(TARGETS) | ||
42 | |||
43 | test_%: test_%.o $(LIB_FILE) | ||
44 | $(call PRINTS,LD $@)$(CC) $(LDFLAGS) -o $@ $< -l$(LIB) | ||
45 | |||
46 | $(TARGETS): $(TARGETS_OBJ) $(LIB_FILE) | ||
47 | |||
48 | buflib.o: $(FIRMWARE)/buflib.c | ||
49 | $(CC) $(CFLAGS) -c $< -o $@ | ||
50 | |||
51 | core_alloc.o: $(FIRMWARE)/core_alloc.c | ||
52 | $(CC) $(CFLAGS) -c $< -o $@ | ||
53 | |||
54 | crc32.o: $(FIRMWARE)/common/crc32.c | ||
55 | $(CC) $(CFLAGS) -c $< -o $@ | ||
56 | |||
57 | strlcpy.o: $(FIRMWARE)/common/strlcpy.c | ||
58 | $(CC) $(CFLAGS) -c $< -o $@ | ||
59 | |||
60 | %.o: %.c | ||
61 | $(call PRINTS,CC $<)$(CC) $(CFLAGS) -c $< | ||
62 | |||
63 | $(LIB_FILE): $(LIB_OBJ) | ||
64 | $(call PRINTS,AR $@)ar rcs $@ $^ | ||
65 | |||
66 | clean: | ||
67 | rm *.o $(TARGETS) $(LIB_FILE) | ||