tegra: add generic subtarget
[openwrt/openwrt.git] / target / linux / tegra / Makefile
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Copyright (C) 2017-2019 Tomasz Maciej Nowak <tmn505@gmail.com>
4
5 include $(TOPDIR)/rules.mk
6
7 ARCH := arm
8 BOARD := tegra
9 BOARDNAME := NVIDIA Tegra
10 FEATURES := audio boot-part display ext4 fpu gpio pci pcie rootfs-part rtc squashfs usb
11 CPU_TYPE := cortex-a9
12 CPU_SUBTYPE := vfpv3-d16
13 SUBTARGETS := generic
14
15 KERNEL_PATCHVER := 5.10
16 KERNEL_TESTING_PATCHVER := 5.15
17
18 include $(INCLUDE_DIR)/target.mk
19
20 KERNELNAME := zImage dtbs
21
22 DEFAULT_PACKAGES += e2fsprogs mkf2fs partx-utils
23
24 define Target/Description
25 Build firmware image for NVIDIA Tegra SoC devices.
26 endef
27
28 $(eval $(call BuildTarget))