Files
debugcc/Makefile
Bryan O'Donoghue d91475ee54 Add MSM8936 platform
Add in msm8936 downstream clock-mapping definitions. This also covers
msm8939, at the level of the fundamental clock layout, there is no
difference between msm8936 and msm8939.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
2022-04-15 20:47:25 -05:00

24 lines
462 B
Makefile

OUT := debugcc
CC=aarch64-linux-gnu-gcc
CFLAGS := -O2 -Wall -g
LDFLAGS := -static -static-libgcc
prefix := /usr/local
SRCS := debugcc.c msm8936.c qcs404.c sdm845.c sm8350.c sm8450.c
OBJS := $(SRCS:.c=.o)
$(OUT): $(OBJS)
$(CC) -o $@ $^ $(LDFLAGS)
ln -f $(OUT) msm8936-debugcc
ln -f $(OUT) qcs404-debugcc
ln -f $(OUT) sdm845-debugcc
ln -f $(OUT) sm8350-debugcc
ln -f $(OUT) sm8450-debugcc
$(OBJS): %.o: debugcc.h
clean:
rm -f $(OUT) $(OBJS) *-debugcc