summaryrefslogtreecommitdiff
path: root/recipes-bsp/at91bootstrap/at91bootstrap-3.5.3/at91bootstrap-3.5.2-add-install.patch
blob: 6f007b9dcb934dd8e66eecad0caa9f793496d205 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Index: at91bootstrap-3.5.2/Makefile
===================================================================
--- at91bootstrap-3.5.2.orig/Makefile	2013-02-08 14:38:40.660054339 -0600
+++ at91bootstrap-3.5.2/Makefile	2013-02-08 14:41:30.626272862 -0600
@@ -359,4 +359,15 @@
 
 PHONY+=tarball tarballx
 
+install:
+	-install -d $(DESTDIR)
+	install $(AT91BOOTSTRAP) $(DESTDIR)/$(IMAGE)
+	-rm -f $(DESTDIR)/$(SYMLINK)
+	(cd ${DESTDIR} ; \
+	ln -sf ${IMAGE} ${SYMLINK} \
+	)
+
+
+PHONY+=install
+
 .PHONY: $(PHONY)