Files
John Audia 39013586d9 stm32: use the legacy-sdcard upgrade helper
Share the partition layout check and full-image decision with the other
whole-disk image targets, which keeps user partitions from being erased.

Signed-off-by: John Audia <therealgraysky@proton.me>
2026-10-15 09:38:14 +01:00

25 lines
454 B
Makefile

# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2024 Bootlin
#
include $(TOPDIR)/rules.mk
BOARD:=stm32
BOARDNAME:=STMicroelectronics STM32
FEATURES:=boot-part emmc ext4 gpio legacy-sdcard rtc usb
SUBTARGETS:=stm32mp1
CPU_TYPE:=
KERNEL_PATCHVER:=6.18
include $(INCLUDE_DIR)/target.mk
DEFAULT_PACKAGES += blockdev kmod-gpio-button-hotplug
define Target/Description
Build firmware image for STM32 devices
endef
$(eval $(call BuildTarget))