Project

General

Profile

firmware_target_tlimage.patch

Eric Krausser, 12/31/2011 12:56 PM

View differences:

Makefile Sat Dec 31 13:52:49 2011 +0100
568 568
	    -r "${ROOTFS_PACKED_NAME}"			\
569 569
	    -o "${NEW_IMAGE}"
570 570

571

572
# some TP-Link boards have a modified u-boot bootloader
573
# and need "mktplinkfw" for building the firmware
574
tlimage: ${KERNEL_PACKED_NAME} ${ROOTFS_PACKED_NAME} ${ZTOOLS_PATH}/mktplinkfw
575
	@echo "++++++++++++++ Making $@ ++++++++++++++"
576
	PATH=${IMAGE_BUILD_PATHS} mktplinkfw \
577
	    -B ${TPLINK_BOARDTYPE} \
578
	    -R ${TPLINK_ROOTFS_START} \
579
	    -L ${TPLINK_KERN_LOADADDR} \
580
	    -E ${TPLINK_KERN_STARTADDR} \
581
	    -k "${KERNEL_PACKED_NAME}" \
582
	    -N ${TPLINK_IMG_NAME} \
583
	    -V ${TPLINK_IMG_VERSION} \
584
	    -r "${ROOTFS_PACKED_NAME}" \
585
	    -o "${NEW_IMAGE}"
586

587

571 588
split_kernel_rootfs:	${KERNEL_PACKED_NAME} ${ROOTFS_PACKED_NAME}
572 589
	touch "${NEW_IMAGE}"
573 590