mirror of https://github.com/OpenIPC/firmware.git
				
				
				
			
		
			
				
	
	
		
			28 lines
		
	
	
		
			884 B
		
	
	
	
		
			Makefile
		
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			884 B
		
	
	
	
		
			Makefile
		
	
	
| ################################################################################
 | |
| #
 | |
| # vdec-openipc
 | |
| #
 | |
| ################################################################################
 | |
| 
 | |
| VDEC_OPENIPC_SITE = $(call github,openipc,silicon_research,$(VDEC_OPENIPC_VERSION))
 | |
| VDEC_OPENIPC_VERSION = master
 | |
| 
 | |
| VDEC_OPENIPC_LICENSE = MIT
 | |
| 
 | |
| define VDEC_OPENIPC_BUILD_CMDS
 | |
| 	$(MAKE) CC=$(TARGET_CC) DRV=$(HISILICON_OSDRV_HI3536DV100_PKGDIR)/files/lib -C $(@D)/vdec
 | |
| endef
 | |
| 
 | |
| define VDEC_OPENIPC_INSTALL_TARGET_CMDS
 | |
| 	$(INSTALL) -m 755 -d $(TARGET_DIR)/etc/init.d
 | |
| 	$(INSTALL) -m 755 -t $(TARGET_DIR)/etc/init.d $(VDEC_OPENIPC_PKGDIR)/files/S98vdec
 | |
| 
 | |
| 	$(INSTALL) -m 755 -d $(TARGET_DIR)/etc
 | |
| 	$(INSTALL) -m 644 -t $(TARGET_DIR)/etc $(VDEC_OPENIPC_PKGDIR)/files/vdec.conf
 | |
| 
 | |
| 	$(INSTALL) -m 755 -d $(TARGET_DIR)/usr/bin
 | |
| 	$(INSTALL) -m 755 -t $(TARGET_DIR)/usr/bin $(@D)/vdec/vdec
 | |
| endef
 | |
| 
 | |
| $(eval $(generic-package))
 |