tools/libtool: clean up build recipes
Host/Clean/Default is no longer defined. Use the uninstall makefile target to remove the obsolete m4 files, and more. Signed-off-by: Michael Pratt <mcpratt@pm.me>
This commit is contained in:
		 Michael Pratt
					Michael Pratt
				
			
				
					committed by
					
						 Hauke Mehrtens
						Hauke Mehrtens
					
				
			
			
				
	
			
			
			 Hauke Mehrtens
						Hauke Mehrtens
					
				
			
						parent
						
							83c1bf2cd4
						
					
				
				
					commit
					7c0727c263
				
			| @@ -23,7 +23,7 @@ HOST_CONFIGURE_VARS += \ | |||||||
|  |  | ||||||
| define Host/Prepare | define Host/Prepare | ||||||
| 	$(call Host/Prepare/Default) | 	$(call Host/Prepare/Default) | ||||||
| 	(cd $(STAGING_DIR_HOST)/share/aclocal/ && rm -f libtool.m4 ltdl.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4) | 	$(call Host/Uninstall) | ||||||
| 	$(if $(QUILT),,(cd $(HOST_BUILD_DIR); touch README-release; $(AM_TOOL_PATHS) ./bootstrap --skip-git --skip-po --force)) | 	$(if $(QUILT),,(cd $(HOST_BUILD_DIR); touch README-release; $(AM_TOOL_PATHS) ./bootstrap --skip-git --skip-po --force)) | ||||||
| endef | endef | ||||||
|  |  | ||||||
| @@ -33,16 +33,13 @@ define Host/Configure | |||||||
| endef | endef | ||||||
|  |  | ||||||
| define Host/Install | define Host/Install | ||||||
| 	$(MAKE) -C $(HOST_BUILD_DIR) install | 	$(call Host/Compile/Default,install) | ||||||
| 	$(SED) 's,\(hardcode_into_libs\)=yes,\1=no,g' $(STAGING_DIR_HOST)/bin/libtool | 	$(SED) 's,\(hardcode_into_libs\)=yes,\1=no,g' $(STAGING_DIR_HOST)/bin/libtool | ||||||
| endef | endef | ||||||
|  |  | ||||||
| define Host/Uninstall | define Host/Uninstall | ||||||
| 	-$(call Host/Compile/Default,uninstall) | 	-$(call Host/Compile/Default,uninstall) | ||||||
| endef | 	(cd $(STAGING_DIR_HOST)/share/aclocal/ && rm -f libtool.m4 ltdl.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4) | ||||||
|  |  | ||||||
| define Host/Clean |  | ||||||
| 	$(call Host/Clean/Default) |  | ||||||
| endef | endef | ||||||
|  |  | ||||||
| $(eval $(call HostBuild)) | $(eval $(call HostBuild)) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user