[Feature]add MT2731_MP2_MR2_SVN388 baseline version
Change-Id: Ief04314834b31e27effab435d3ca8ba33b499059
diff --git a/src/apps/ivt-base/thermal-manager/Makefile b/src/apps/ivt-base/thermal-manager/Makefile
new file mode 100644
index 0000000..7208696
--- /dev/null
+++ b/src/apps/ivt-base/thermal-manager/Makefile
@@ -0,0 +1,33 @@
+TARGET := thermal_manager
+SOURCES := thermal_manager.c
+OBJ_PATH = thermal_manager.o
+#OBJECTS := $(SOURCES:.c=.o)
+OBJ = thermal_manager.o
+LDFLAGS += -lmtcloader
+
+CFLAGS += -O3 -D__EXTERN_C_LIB__ -ldl
+GET_LOCAL_DIR = $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST))))
+
+.PHONY: all clean install
+
+all: $(TARGET)
+
+${TARGET}:${OBJ_PATH}
+ ${CC} ${OBJ} ${CFLAGS} -o $@
+
+#$(TARGET): $(OBJECTS)
+# $(LINK.o) $^ $(LOADLIBES) $(LDLIBS) -o $@
+
+clean:
+ $(RM) $(OBJECTS) $(TARGET)
+
+MTKTHERMAL_DIR_INSTALL = "/usr/bin/"
+
+install: $(TARGET)
+ echo $(DESTDIR)
+ echo $(PREFIX)
+ echo $(shell pwd)
+ install -d $(DESTDIR)$(PREFIX)/bin/
+ install -d $(DESTDIR)$(PREFIX)/lib/
+ install -d ${DESTDIR}${PREFIX}/lib/pkgconfig/
+ install -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/bin/