mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-19 07:05:34 +04:00
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>
25 lines
454 B
Makefile
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))
|