mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
3ce1e4c3d3
Historically it's possible to leave the `SUBTARGETS` undefined and automatically fallback to a "generic" subtarget. This however breaks various downstream scripts which may have expectations around filenames: While some targets with an explicit generic subtarget contain `generic` in the filenames of artifacts, implicit "subtargets" don't. Right now this breaks the CI[1], possibly also scripts using the ImageBuilders. Do to the D1 target what's done to other target, explicitly define the "generic" subtarget. [1]: https://github.com/openwrt/openwrt/actions/runs/8592821105/job/23548273630 Signed-off-by: Paul Spooren <mail@aparcar.org>
23 lines
424 B
Makefile
23 lines
424 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Copyright (C) 2024 Toco Technologies <info@toco.ae>
|
|
#
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
ARCH:=riscv64
|
|
BOARD:=d1
|
|
BOARDNAME:=AllWinner D1 RISC-V SoC
|
|
FEATURES:=ext4 squashfs
|
|
KERNELNAME:=Image dtbs
|
|
SUBTARGETS:=generic
|
|
|
|
KERNEL_PATCHVER:=6.1
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
|
|
define Target/Description
|
|
Build firmware images for Allwinner D1 RISC-V boards
|
|
endef
|
|
|
|
$(eval $(call BuildTarget))
|