xref: /OK3568_Linux_fs/buildroot/package/am335x-pru-package/0001-install-does-not-build.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunMakefile: do not force the release build on install
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunIf we did build any of the other targets, and are just interested
4*4882a593Smuzhiyunin those and not the release one, we still want to use the 'install'
5*4882a593Smuzhiyunrule, but not build (and install) the release libraries.
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunSo, remove the dependency on the 'release' target from the 'install'
8*4882a593Smuzhiyunrule.
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunSigned-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
11*4882a593Smuzhiyun
12*4882a593Smuzhiyundiff -durN am335x-pru-package-506e074859891a2b350eb4f5fcb451c4961410ea.orig/pru_sw/app_loader/interface/Makefile am335x-pru-package-506e074859891a2b350eb4f5fcb451c4961410ea/pru_sw/app_loader/interface/Makefile
13*4882a593Smuzhiyun--- am335x-pru-package-506e074859891a2b350eb4f5fcb451c4961410ea.orig/pru_sw/app_loader/interface/Makefile	2014-08-18 00:24:36.000000000 +0200
14*4882a593Smuzhiyun+++ am335x-pru-package-506e074859891a2b350eb4f5fcb451c4961410ea/pru_sw/app_loader/interface/Makefile	2014-10-12 11:39:17.144682697 +0200
15*4882a593Smuzhiyun@@ -38,7 +38,7 @@
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun all:	debug release sodebug sorelease
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun-install: release
20*4882a593Smuzhiyun+install:
21*4882a593Smuzhiyun 	install -m 0755 -d $(DESTDIR)$(PREFIX)/lib
22*4882a593Smuzhiyun 	install -m 0755 -d $(DESTDIR)$(PREFIX)/include
23*4882a593Smuzhiyun 	install -m 0644 $(LIBDIR)/* $(DESTDIR)$(PREFIX)/lib
24