mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-29 20:23:01 +02:00
Relocate the default landing page from the rootfs overlay to a package so that customer repos can override it. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
19 lines
487 B
Makefile
19 lines
487 B
Makefile
################################################################################
|
|
#
|
|
# landing
|
|
#
|
|
################################################################################
|
|
|
|
LANDING_VERSION = 1.0
|
|
LANDING_SITE_METHOD = local
|
|
LANDING_SITE = $(BR2_EXTERNAL_INFIX_PATH)/src/landing
|
|
LANDING_LICENSE = ISC
|
|
LANDING_LICENSE_FILES = LICENSE
|
|
|
|
define LANDING_INSTALL_TARGET_CMDS
|
|
cp $(@D)/*.html $(TARGET_DIR)/usr/html/
|
|
cp $(@D)/*.png $(TARGET_DIR)/usr/html/
|
|
endef
|
|
|
|
$(eval $(generic-package))
|