uboot-mvebu: backport patch for Turris Omnia to enable LTO
[openwrt/openwrt.git] / target / linux / pistachio / Makefile
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Copyright (C) 2017-2021 OpenWrt.org
4
5 include $(TOPDIR)/rules.mk
6
7 ARCH:=mipsel
8 BOARD:=pistachio
9 BOARDNAME:=MIPS pistachio
10 FEATURES:=fpu usb usbgadget squashfs targz nand
11 CPU_TYPE:=24kc
12 CPU_SUBTYPE:=24kf
13 SUBTARGETS:=generic
14
15 KERNEL_PATCHVER:=6.1
16
17 include $(INCLUDE_DIR)/target.mk
18
19 KERNELNAME:=vmlinux dtbs
20
21 DEFAULT_PACKAGES += \
22 kmod-gpio-button-hotplug \
23 uboot-envtools
24
25 $(eval $(call BuildTarget))