mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-11-01 16:09:18 +00:00
The kernel config accidentally contains CONFIG_UBIFS_FS_AUTHENTICATION which select a number of other unnecessary components, remove them. The target has at least two subtargets, only one is currently implemented. Move the Device builds into a file for this subtarget. Signed-off-by: Caleb James DeLisle <cjd@cjdns.fr> Link: https://github.com/openwrt/openwrt/pull/20027 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
27 lines
678 B
Makefile
27 lines
678 B
Makefile
include $(TOPDIR)/rules.mk
|
|
include $(INCLUDE_DIR)/image.mk
|
|
|
|
define Target/Description
|
|
Build firmware images for EcoNet MIPS based boards.
|
|
endef
|
|
|
|
# tclinux-trx is the default format used in the SDK
|
|
define Build/tclinux-trx
|
|
./tclinux-trx.sh $@ $(IMAGE_ROOTFS) $(VERSION_DIST)-$(REVISION) > $@.new
|
|
mv $@.new $@
|
|
endef
|
|
|
|
# tclinux bootloader requires LZMA, BUT only provides 7.5MB of space
|
|
# to decompress into. So we use vmlinuz and decompress twice.
|
|
define Device/Default
|
|
DEVICE_DTS_DIR := ../dts
|
|
KERNEL_SIZE := 7480k
|
|
KERNEL_NAME := vmlinuz.bin
|
|
KERNEL_LOADADDR := 0x80020000
|
|
KERNEL := kernel-bin | append-dtb
|
|
endef
|
|
|
|
include $(SUBTARGET).mk
|
|
|
|
$(eval $(call BuildImage))
|