add Generic and dLAN USB Extender profiles

SVN-Revision: 33313
This commit is contained in:
Florian Fainelli 2012-09-03 20:25:40 +00:00
parent e88e20d975
commit 1964753c22
3 changed files with 36 additions and 3 deletions

View file

@ -34,7 +34,7 @@ define Image/Prepare
cp $(LINUX_DIR)/arch/$(ARCH)/boot/zImage $(KDIR)/zImage cp $(LINUX_DIR)/arch/$(ARCH)/boot/zImage $(KDIR)/zImage
endef endef
define Image/Build/dlan define Image/Build/Profile/dLAN_USB_Extender
dd if=$(KDIR)/uImage-dlan-usb-extender bs=1M conv=sync of=$(KDIR)/$(IMG_PREFIX)-dlan-usb-extender-upgrade-$(1).bin dd if=$(KDIR)/uImage-dlan-usb-extender bs=1M conv=sync of=$(KDIR)/$(IMG_PREFIX)-dlan-usb-extender-upgrade-$(1).bin
cat $(KDIR)/root.$(1) >> $(KDIR)/$(IMG_PREFIX)-dlan-usb-extender-upgrade-$(1).bin cat $(KDIR)/root.$(1) >> $(KDIR)/$(IMG_PREFIX)-dlan-usb-extender-upgrade-$(1).bin
cp $(KDIR)/$(IMG_PREFIX)-dlan-usb-extender-upgrade-$(1).bin $(BIN_DIR)/ cp $(KDIR)/$(IMG_PREFIX)-dlan-usb-extender-upgrade-$(1).bin $(BIN_DIR)/
@ -46,9 +46,9 @@ define Image/BuildKernel
endef endef
define Image/Build define Image/Build
dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k conv=sync
$(call Image/Build/$(1)) $(call Image/Build/$(1))
$(call Image/Build/dlan,$(1)) dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k conv=sync
$(call Image/Build/Profile/$(PROFILE),$(1))
endef endef
$(eval $(call BuildImage)) $(eval $(call BuildImage))

View file

@ -0,0 +1,16 @@
#
# Copyright (C) 2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
define Profile/Generic
NAME:=Generic profile
endef
define Profile/Generic/Description
Default profile for Moschip MCS814x targets
endef
$(eval $(call Profile,Generic))

View file

@ -0,0 +1,17 @@
#
# Copyright (C) 2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
define Profile/dLAN_USB_Extender
NAME:=Devolo dLAN USB Extender
PACKAGES:=hpavcfg foot
endef
define Profile/dLAN_USB_Extender/Description
Package set specifically tuned for the Devolo dLAN USB Extender device.
endef
$(eval $(call Profile,dLAN_USB_Extender))