libgtk3: remove non-existent configure options
[buildroot-gz.git] / package / sunxi-tools / sunxi-tools.mk
blob1a58aff1bedbe4554fc67a51d68f6fb3e9c4fac3
1 ################################################################################
3 # sunxi-tools
5 ################################################################################
7 SUNXI_TOOLS_VERSION = v1.4.1
8 SUNXI_TOOLS_SITE = $(call github,linux-sunxi,sunxi-tools,$(SUNXI_TOOLS_VERSION))
9 SUNXI_TOOLS_LICENSE = GPLv2+
10 SUNXI_TOOLS_LICENSE_FILES = LICENSE.md
11 HOST_SUNXI_TOOLS_DEPENDENCIES = host-libusb host-pkgconf
12 FEX2BIN = $(HOST_DIR)/usr/bin/fex2bin
14 define HOST_SUNXI_TOOLS_BUILD_CMDS
15 $(HOST_MAKE_ENV) $(MAKE) CC="$(HOSTCC)" PREFIX=$(HOST_DIR)/usr \
16 EXTRA_CFLAGS="$(HOST_CFLAGS)" LDFLAGS="$(HOST_LDFLAGS)" \
17 -C $(@D) tools
18 endef
20 define HOST_SUNXI_TOOLS_INSTALL_CMDS
21 $(HOST_MAKE_ENV) $(MAKE) PREFIX=$(HOST_DIR)/usr \
22 -C $(@D) install-tools
23 endef
25 define SUNXI_TOOLS_BUILD_CMDS
26 $(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" PREFIX=/usr \
27 EXTRA_CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" \
28 -C $(@D) sunxi-nand-part
29 endef
31 define SUNXI_TOOLS_INSTALL_TARGET_CMDS
32 $(INSTALL) -D -m 0755 $(@D)/sunxi-nand-part $(TARGET_DIR)/usr/bin/sunxi-nand-part
33 endef
35 $(eval $(generic-package))
36 $(eval $(host-generic-package))