Commit b100e77f179c15a072df571b2a253b3bc2308486
Committed by
Zhang Rui
1 parent
0d0a2bf6ed
Exists in
smarc_imx_lf-5.15.y
and in
32 other branches
tools/thermal: tmon: fixed the 'make install' command
To install tmon we issue "make install" which produces bellow error. root@odroidxu3:/usr/src/odroidxu3-4.y-testing/tools/thermal/tmon# make install mkdir -p /usr/bin install -m 755 -p "tmon" "/usr/bin/tmon" mkdir -p / install -m 644 -p "" "/" install: cannot stat ‘’: No such file or directory make: [install] Error 1 (ignored) Signed-off-by: Anand Moon <linux.amoon@gmail.com> Acked-by: Jacob Pan <jacob.jun.pan@linux.intel.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Showing 1 changed file with 0 additions and 8 deletions Side-by-side Diff
tools/thermal/tmon/Makefile
... | ... | @@ -12,10 +12,6 @@ |
12 | 12 | INSTALL_PROGRAM=install -m 755 -p |
13 | 13 | DEL_FILE=rm -f |
14 | 14 | |
15 | -INSTALL_CONFIGFILE=install -m 644 -p | |
16 | -CONFIG_FILE= | |
17 | -CONFIG_PATH= | |
18 | - | |
19 | 15 | # Static builds might require -ltinfo, for instance |
20 | 16 | ifneq ($(findstring -static, $(LDFLAGS)),) |
21 | 17 | STATIC := --static |
22 | 18 | |
... | ... | @@ -38,13 +34,9 @@ |
38 | 34 | install: |
39 | 35 | - mkdir -p $(INSTALL_ROOT)/$(BINDIR) |
40 | 36 | - $(INSTALL_PROGRAM) "$(TARGET)" "$(INSTALL_ROOT)/$(BINDIR)/$(TARGET)" |
41 | - - mkdir -p $(INSTALL_ROOT)/$(CONFIG_PATH) | |
42 | - - $(INSTALL_CONFIGFILE) "$(CONFIG_FILE)" "$(INSTALL_ROOT)/$(CONFIG_PATH)" | |
43 | 37 | |
44 | 38 | uninstall: |
45 | 39 | $(DEL_FILE) "$(INSTALL_ROOT)/$(BINDIR)/$(TARGET)" |
46 | - $(CONFIG_FILE) "$(CONFIG_PATH)" | |
47 | - | |
48 | 40 | |
49 | 41 | clean: |
50 | 42 | find . -name "*.o" | xargs $(DEL_FILE) |