Files
winf-photobooth/package/bootgen/bootgen.mk
Michael b8783708ae Initial Commit
- initial default booting image
2026-11-06 20:45:42 +01:00

26 lines
829 B
Makefile

################################################################################
#
# bootgen
#
################################################################################
BOOTGEN_VERSION = xilinx_v2026.1
BOOTGEN_SITE = $(call github,Xilinx,bootgen,$(BOOTGEN_VERSION))
HOST_BOOTGEN_DEPENDENCIES = host-openssl host-pkgconf
BOOTGEN_LICENSE = Apache-2.0
BOOTGEN_LICENSE_FILES = LICENSE
define HOST_BOOTGEN_BUILD_CMDS
$(MAKE) $(HOST_CONFIGURE_OPTS) \
LIBS="`$(HOST_MAKE_ENV) $(PKG_CONFIG_HOST_BINARY) --libs libssl libcrypto`" \
INCLUDE_USER="`$(HOST_MAKE_ENV) $(PKG_CONFIG_HOST_BINARY) --cflags libssl libcrypto`" \
CXXFLAGS="$(HOST_CXXFLAGS) -std=c++14" \
-C $(@D)
endef
define HOST_BOOTGEN_INSTALL_CMDS
$(INSTALL) -m 0755 -D $(@D)/build/bin/bootgen $(HOST_DIR)/bin/bootgen
endef
$(eval $(host-generic-package))