Files
msm8916-openwrt/msm89xx/Makefile
T
Miguel FuertesandClaude Opus 4.6 de4bd27093 Drop 24.10.x support, keep kernel version map for future use
- Remove config-6.6 (24.10.x compiles but does not boot)
- Comment out KERNEL_FOR_24 in Makefile, keep detection logic
- Auto-detect OpenWrt major version via git describe
- Update README with supported versions note

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 08:58:28 +02:00

34 lines
985 B
Makefile

# SPDX-License-Identifier: GPL-2.0-only
include $(TOPDIR)/rules.mk
BOARD:=msm89xx
BOARDNAME:=Boards based on Snapdragon 210/410/615 chipsets
FEATURES:=ext4 usb usbgadget gpio fpu rootfs-part boot-part squashfs
SUBTARGETS:=msm8916
# Kernel version map: OpenWrt major -> kernel patchver
#KERNEL_FOR_24 := 6.6
KERNEL_FOR_25 := 6.12
KERNEL_DEFAULT := 6.12
OPENWRT_MAJOR := $(shell git -C $(TOPDIR) describe --tags --abbrev=0 2>/dev/null | cut -d. -f1 | tr -d v)
KERNEL_PATCHVER := $(or $(KERNEL_FOR_$(OPENWRT_MAJOR)),$(KERNEL_DEFAULT))
define Target/Description
Build firmware images for various Snapdragon 210/410/615 based devices
endef
include $(INCLUDE_DIR)/target.mk
DEFAULT_PACKAGES += partx-utils e2fsprogs mkf2fs
DEFAULT_PACKAGES += kmod-usb-chipidea kmod-usb-gadget-eth
DEFAULT_PACKAGES += kmod-wcn36xx kmod-rproc-wcnss
DEFAULT_PACKAGES += kmod-rpmsg-wwan-ctrl kmod-bam-dmux kmod-qcom-rproc-modem
DEFAULT_PACKAGES += rmtfs
KERNELNAME:=Image
$(eval $(call BuildTarget))