aboutsummaryrefslogtreecommitdiffstats
path: root/meta-fsl-arm/recipes-bsp/apptrk/apptrk/apptrk-install-create-all-components-of-DEST.patch
blob: 6b4a0e83fe14b45ed2f7ca56db76b28c88ec7b0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Upstream-Status: Pending 

Signed-off-by: Chunrong Guo <B40290@freescale.com>


  for  fix the following error:
  |install: cannot create regular file /usr/bin/apptrk
  |No such file or directory


--- a/Makefileold	2014-12-21 23:46:26.872329032 -0600
+++ b/Makefile	2014-12-21 23:47:33.724326646 -0600
@@ -89,9 +89,9 @@
 # Other Targets
 install: all
 	if [ -f $(DESTDIR)/usr/bin/apptrk ]; then rm -f $(DESTDIR)/usr/bin/apptrk ; fi
-	install $(OUTPUT) $(DESTDIR)/usr/bin/apptrk
+	install -D $(OUTPUT) $(DESTDIR)/usr/bin/apptrk
 	if [ -f $(DESTDIR)/usr/bin/apptrk_debug ]; then rm -f $(DESTDIR)/usr/bin/apptrk_debug ; fi
-	install $(OUTPUT_DBG) $(DESTDIR)/usr/bin/apptrk_debug
+	install -D $(OUTPUT_DBG) $(DESTDIR)/usr/bin/apptrk_debug
 
 clean:
 	-$(RM) $(OBJS)$(OBJS_DBG)$(EXECUTABLES)$(C_DEPS)$(C_DEPS_DBG) $(OUTPUT) $(OUTPUT_DBG)