mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 14:37:57 +00:00
c3c67fe7b1
Re-reading the partition table doesn't work reliably, it fails if anything on the device is still in use and it's not trivial to prevent every possible case of a block device still being in use somehow. Therefore, instead of relying on the in-kernel partition parser to know where to write the configuration backup, use OpenWrt's format-agnostic fwtool to strip off all metadata from the image and count its blocks while writing. In that way we can know where to write the config backup without needing the kernel to parse the MBR and FIT structures. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
18 lines
314 B
Makefile
18 lines
314 B
Makefile
#
|
|
# Copyright (C) 2009 OpenWrt.org
|
|
#
|
|
|
|
ARCH:=arm
|
|
SUBTARGET:=mt7623
|
|
BOARDNAME:=MT7623
|
|
CPU_TYPE:=cortex-a7
|
|
CPU_SUBTYPE:=neon-vfpv4
|
|
KERNELNAME:=Image dtbs zImage
|
|
FEATURES+=display usbgadget
|
|
DEFAULT_PACKAGES+=uboot-envtools
|
|
|
|
define Target/Description
|
|
Build firmware images for MediaTek mt7623 ARM based boards.
|
|
endef
|
|
|