mirror of
				https://github.com/optim-enterprises-bv/openwrt-ipq.git
				synced 2025-10-30 17:58:28 +00:00 
			
		
		
		
	tools/padjffs2: use Host/Prepare/Default instead of raw commands
Now that Host/Prepare/Default is always defined, we can use that instead of using raw commands to move files from the src directory to HOST_BUILD_DIR. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
		| @@ -13,8 +13,7 @@ PKG_RELEASE:=1 | |||||||
| include $(INCLUDE_DIR)/host-build.mk | include $(INCLUDE_DIR)/host-build.mk | ||||||
|  |  | ||||||
| define Host/Prepare | define Host/Prepare | ||||||
| 	mkdir -p $(HOST_BUILD_DIR) | 	$(call Host/Prepare/Default) | ||||||
| 	$(CP) ./src/* $(HOST_BUILD_DIR)/ |  | ||||||
| 	find $(HOST_BUILD_DIR) -name .svn | $(XARGS) rm -rf | 	find $(HOST_BUILD_DIR) -name .svn | $(XARGS) rm -rf | ||||||
| endef | endef | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Christian Marangi
					Christian Marangi