2022-12-12 16:35:34 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# unifdef
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
UNIFDEF_VERSION = 2.12
|
|
|
|
UNIFDEF_SITE = https://dotat.at/prog/unifdef
|
2023-09-28 02:27:27 +02:00
|
|
|
UNIFDEF_LICENSE = BSD-2-Clause, BSD-3-Clause
|
2022-12-12 16:35:34 +01:00
|
|
|
UNIFDEF_LICENSE_FILES = COPYING
|
|
|
|
|
2023-09-28 02:27:28 +02:00
|
|
|
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
|
|
|
|
|
2022-12-12 16:35:34 +01:00
|
|
|
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
|
|
|
|
|
2023-09-28 02:27:28 +02:00
|
|
|
$(eval $(generic-package))
|
2022-12-12 16:35:34 +01:00
|
|
|
$(eval $(host-generic-package))
|