From 30334161c684a10c0ab2278e3019d31cfb01fe3b Mon Sep 17 00:00:00 2001 From: kaloz Date: Sat, 27 Oct 2012 10:48:22 +0000 Subject: [orion]: add support for Netgear WN802T git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33963 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/orion/image/generic.mk | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'target/linux/orion/image/generic.mk') diff --git a/target/linux/orion/image/generic.mk b/target/linux/orion/image/generic.mk index 0594ebffa..57624af66 100644 --- a/target/linux/orion/image/generic.mk +++ b/target/linux/orion/image/generic.mk @@ -44,6 +44,14 @@ endef define Image/BuildKernel ### Dummy comment for indented calls of Image/BuildKernel + ## Netgear WN802T: mach id 3306 (0x0cea) +$(call Image/BuildKernel/ARM/zImage,wn802t,"\x0c\x1c\xa0\xe3\xea\x10\x81\xe3") +$(call Image/BuildKernel/ARM/uImage,wn802t) + ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y) # nothing more to do for a ramdisk build +$(call Image/BuildKernel/JFFS2uImage,wn802t,$(ERASE_SIZE_WRT350Nv2),$(UIMAGE_FILE_NAME_WNR854T)) +$(call Image/Default/FileSizeCheck,$(KDIR)/wn802t-uImage.jffs2,$(shell expr $(KERNEL_MTD_SIZE) \* 1024)) + endif + ## Netgear WNR854T: mach id 1801 (0x0709) $(call Image/BuildKernel/ARM/zImage,wnr854t,"\x07\x1c\xa0\xe3\x09\x10\x81\xe3") $(call Image/BuildKernel/ARM/uImage,wnr854t) @@ -106,6 +114,9 @@ define Image/Build ## Prepare rootfs $(call Image/Build/$(1),$(1)) + ## Netgear WN802T +$(call Image/Build/Default,$(1),wn802t,$(ERASE_SIZE_WRT350Nv2),$(KERNEL_MTD_SIZE),.jffs2,NG_WN802T) + ## Netgear WNR854T $(call Image/Build/Default,$(1),wnr854t,$(ERASE_SIZE_WNR854T),$(KERNEL_MTD_SIZE),.jffs2,NG_WNR854T) -- cgit v1.2.3