diff options
Diffstat (limited to 'target/linux/realtek/image/Makefile')
-rw-r--r-- | target/linux/realtek/image/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/realtek/image/Makefile b/target/linux/realtek/image/Makefile index 3a1ba2f60e..cf779002e8 100644 --- a/target/linux/realtek/image/Makefile +++ b/target/linux/realtek/image/Makefile @@ -21,6 +21,11 @@ define Build/dlink-cameo $(SCRIPT_DIR)/cameo-tag.py $@ $(DLINK_KERNEL_PART_SIZE) endef +define Build/dlink-version + echo -n "OpenWrt" >> $@ + dd if=/dev/zero bs=25 count=1 >> $@ +endef + define Build/dlink-headers dd if=$@ bs=$(DLINK_KERNEL_PART_SIZE) count=1 of=$@.kernel_part; \ dd if=$@ bs=$(DLINK_KERNEL_PART_SIZE) skip=1 of=$@.rootfs_part; \ |