oxnas: reorganize image build code and nuke profiles
[openwrt/openwrt.git] / target / linux / oxnas / Makefile
1 #
2 # Copyright (C) 2013 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 ARCH:=arm
10 BOARD:=oxnas
11 BOARDNAME:=PLXTECH/Oxford NAS782x/OX82x
12 DEVICE_TYPE:=nas
13 FEATURES:=gpio nand pcie usb ramdisk rtc squashfs ubifs
14 CPU_TYPE:=mpcore
15
16 MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
17
18 KERNEL_PATCHVER:=4.4
19
20 include $(INCLUDE_DIR)/target.mk
21
22 DEFAULT_PACKAGES += \
23 kmod-ata-core kmod-ata-oxnas-sata kmod-button-hotplug \
24 kmod-input-gpio-keys-polled kmod-ledtrig-usbdev kmod-leds-gpio \
25 kmod-usb2-oxnas kmod-usb-storage uboot-envtools \
26 uboot-oxnas-ox820
27
28 KERNELNAME:=zImage dtbs
29
30 $(eval $(call BuildTarget))