mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-18 06:26:14 +02:00
ar71xx: add a profile and build image for the OM2P board
[juhosg: the name of the final image has been changed to 'openwrt-ar71xx-generic-om2p-squashfs-factory.bin'] Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29397 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
528cc2801f
commit
f688ec4123
18
target/linux/ar71xx/generic/profiles/openmesh.mk
Normal file
18
target/linux/ar71xx/generic/profiles/openmesh.mk
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2011 OpenWrt.org
|
||||||
|
#
|
||||||
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
|
# See /LICENSE for more information.
|
||||||
|
#
|
||||||
|
|
||||||
|
define Profile/OM2P
|
||||||
|
NAME:=OpenMesh OM2P
|
||||||
|
PACKAGES:=kmod-ath9k om2p-watchdog
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Profile/OM2P/Description
|
||||||
|
Package set optimized for the OpenMesh OM2P.
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call Profile,OM2P))
|
||||||
|
|
@ -380,6 +380,19 @@ ifdef CONFIG_PACKAGE_uboot-ar71xx-nbg460n_550n_550nh
|
|||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
define Image/Build/OpenMesh
|
||||||
|
$(call MkuImageLzma,$(2))
|
||||||
|
-sh $(TOPDIR)/scripts/om2p-fwupgradecfg-gen.sh \
|
||||||
|
"$(BUILD_DIR)/om2p-fwupgrade.cfg" \
|
||||||
|
"$(KDIR)/vmlinux-$(2).uImage" \
|
||||||
|
"$(KDIR)/root.$(1)"
|
||||||
|
-sh $(TOPDIR)/scripts/combined-ext-image.sh \
|
||||||
|
"$(3)" "$(call factoryname,$(1),$(2))" \
|
||||||
|
"$(BUILD_DIR)/om2p-fwupgrade.cfg" "fwupgrade.cfg" \
|
||||||
|
"$(KDIR)/vmlinux-$(2).uImage" "kernel" \
|
||||||
|
"$(KDIR)/root.$(1)" "rootfs"
|
||||||
|
endef
|
||||||
|
|
||||||
define Image/Build/Zcomax
|
define Image/Build/Zcomax
|
||||||
$(call MkuImageLzma,$(2),$(3))
|
$(call MkuImageLzma,$(2),$(3))
|
||||||
$(call Sysupgrade/RK,$(1),$(2),1507328,6356992)
|
$(call Sysupgrade/RK,$(1),$(2),1507328,6356992)
|
||||||
@ -602,6 +615,10 @@ define Image/Build/Profile/NBG_460N_550N_550NH
|
|||||||
$(call Image/Build/Template/$(fs_64k)/$(1),ZyXEL,nbg460n_550n_550nh,$(nbg460n_cmdline),NBG-460N)
|
$(call Image/Build/Template/$(fs_64k)/$(1),ZyXEL,nbg460n_550n_550nh,$(nbg460n_cmdline),NBG-460N)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Image/Build/Profile/OM2P
|
||||||
|
$(call Image/Build/Template/$(fs_squash)/$(1),OpenMesh,om2p,OM2P)
|
||||||
|
endef
|
||||||
|
|
||||||
tlmr3220_cmdline=board=TL-MR3220 console=ttyS0,115200
|
tlmr3220_cmdline=board=TL-MR3220 console=ttyS0,115200
|
||||||
define Image/Build/Profile/TLMR3220V1
|
define Image/Build/Profile/TLMR3220V1
|
||||||
$(call Image/Build/Template/$(fs_64k)/$(1),TPLINK,tl-mr3220-v1,$(tlmr3220_cmdline),TL-MR3220v1)
|
$(call Image/Build/Template/$(fs_64k)/$(1),TPLINK,tl-mr3220-v1,$(tlmr3220_cmdline),TL-MR3220v1)
|
||||||
@ -776,6 +793,7 @@ define Image/Build/Profile/Default
|
|||||||
$(call Image/Build/Profile/MZKW04NU,$(1))
|
$(call Image/Build/Profile/MZKW04NU,$(1))
|
||||||
$(call Image/Build/Profile/MZKW300NH,$(1))
|
$(call Image/Build/Profile/MZKW300NH,$(1))
|
||||||
$(call Image/Build/Profile/NBG_460N_550N_550NH,$(1))
|
$(call Image/Build/Profile/NBG_460N_550N_550NH,$(1))
|
||||||
|
$(call Image/Build/Profile/OM2P,$(1))
|
||||||
$(call Image/Build/Profile/PB42,$(1))
|
$(call Image/Build/Profile/PB42,$(1))
|
||||||
$(call Image/Build/Profile/PB44,$(1))
|
$(call Image/Build/Profile/PB44,$(1))
|
||||||
$(call Image/Build/Profile/PB92,$(1))
|
$(call Image/Build/Profile/PB92,$(1))
|
||||||
|
Loading…
Reference in New Issue
Block a user