7d31ac8d6798356a8112d7df243a31d1e2d18db4
[openwrt/staging/hauke.git] / target / linux / apm821xx / Makefile
1 # SPDX-License-Identifier: GPL-2.0-only
2
3 include $(TOPDIR)/rules.mk
4
5 ARCH:=powerpc
6 BOARD:=apm821xx
7 BOARDNAME:=AppliedMicro APM821xx
8 CPU_TYPE:=464fp
9 FEATURES:=fpu dt gpio ramdisk squashfs usb
10 SUBTARGETS:=nand sata
11
12 KERNEL_PATCHVER:=5.10
13
14 define Target/Description
15 Build images for AppliedMicro APM821xx based boards.
16 endef
17
18 include $(INCLUDE_DIR)/target.mk
19
20 KERNELNAME:=uImage
21
22 DEFAULT_PACKAGES += \
23 kmod-leds-gpio kmod-i2c-core kmod-gpio-button-hotplug
24
25 $(eval $(call BuildTarget))