0a16452704
Signed-off-by: Brandon Maier <brandon.maier@collins.com> Reviewed-by: Thomas Devoogdt <thomas@devoogdt.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
30 lines
759 B
Makefile
30 lines
759 B
Makefile
################################################################################
|
|
#
|
|
# unifdef
|
|
#
|
|
################################################################################
|
|
|
|
UNIFDEF_VERSION = 2.12
|
|
UNIFDEF_SITE = https://dotat.at/prog/unifdef
|
|
UNIFDEF_LICENSE = BSD-2-Clause, BSD-3-Clause
|
|
UNIFDEF_LICENSE_FILES = COPYING
|
|
|
|
define UNIFDEF_BUILD_CMDS
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
|
|
endef
|
|
|
|
define UNIFDEF_INSTALL_TARGET_CMDS
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) prefix=$(TARGET_DIR) install
|
|
endef
|
|
|
|
define HOST_UNIFDEF_BUILD_CMDS
|
|
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D)
|
|
endef
|
|
|
|
define HOST_UNIFDEF_INSTALL_CMDS
|
|
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) prefix=$(HOST_DIR) install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|
|
$(eval $(host-generic-package))
|