b779da27ef
MikroTik devices require the use of raw vmlinux out of the self extracting compressed kernels. They also require 4K sectors, kernel2minor, partition parser as well as RouterBoard platform drivers. So in order to not add unnecessary code to the generic sub target lets introduce a MikroTik sub target. Signed-off-by: Robert Marko <robimarko@gmail.com>
24 lines
528 B
Makefile
24 lines
528 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
ARCH:=arm
|
|
BOARD:=ipq40xx
|
|
BOARDNAME:=Qualcomm Atheros IPQ40XX
|
|
FEATURES:=squashfs fpu ramdisk nand
|
|
CPU_TYPE:=cortex-a7
|
|
CPU_SUBTYPE:=neon-vfpv4
|
|
SUBTARGETS:=generic mikrotik
|
|
|
|
KERNEL_PATCHVER:=5.4
|
|
KERNEL_TESTING_PATCHVER:=5.4
|
|
|
|
KERNELNAME:=zImage Image dtbs
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
DEFAULT_PACKAGES += \
|
|
kmod-usb-dwc3-qcom \
|
|
kmod-leds-gpio kmod-gpio-button-hotplug swconfig \
|
|
kmod-ath10k-ct wpad-basic-wolfssl \
|
|
kmod-usb3 kmod-usb-dwc3 ath10k-firmware-qca4019-ct
|
|
|
|
$(eval $(call BuildTarget))
|