f2b82ca00a1719a5fae1513912c9f44935f7b79c
[openwrt/openwrt.git] / tools / sdimage / Makefile
1 #
2 # Copyright (C) 2015 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=imx-uuc
10 PKG_RELEASE:=1
11
12 PKG_SOURCE_PROTO:=git
13 PKG_SOURCE_URL:=https://github.com/mhei/fsl-imx-uuc.git
14 PKG_SOURCE_DATE:=2015-09-13
15 PKG_SOURCE_VERSION:=2b99403b6dc60a22b07eb7a5cc0cb184abb89bdd
16 PKG_MIRROR_HASH:=b0edd55674cd60268c9b293b47df17db319fd58bd78fdbf26e77039f1a6cf681
17
18 PKG_LICENSE:=GPL-2.0+
19 PKG_LICENSE_FILES:=LICENSE
20
21 include $(INCLUDE_DIR)/host-build.mk
22
23 define Host/Configure
24 endef
25
26 define Host/Install
27 $(INSTALL_BIN) $(HOST_BUILD_DIR)/sdimage $(STAGING_DIR_HOST)/bin/sdimage
28 endef
29
30 define Host/Clean
31 rm -f $(STAGING_DIR_HOST)/bin/sdimage
32 endef
33
34 $(eval $(call HostBuild))