summaryrefslogtreecommitdiff
path: root/target/linux/mcs814x/image/Makefile
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-09-03 20:25:40 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-09-03 20:25:40 +0000
commit1964753c22c81d83d2d8e5d8f0e361deb0a62647 (patch)
tree0b214f8fd17702da18144959d77a134ca339d428 /target/linux/mcs814x/image/Makefile
parente88e20d9755e40c215f74ea5065af1fd3fd11a89 (diff)
downloadmtk-20170518-1964753c22c81d83d2d8e5d8f0e361deb0a62647.zip
mtk-20170518-1964753c22c81d83d2d8e5d8f0e361deb0a62647.tar.gz
mtk-20170518-1964753c22c81d83d2d8e5d8f0e361deb0a62647.tar.bz2
add Generic and dLAN USB Extender profiles
SVN-Revision: 33313
Diffstat (limited to 'target/linux/mcs814x/image/Makefile')
-rw-r--r--target/linux/mcs814x/image/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/mcs814x/image/Makefile b/target/linux/mcs814x/image/Makefile
index 88c7af3..5545e04 100644
--- a/target/linux/mcs814x/image/Makefile
+++ b/target/linux/mcs814x/image/Makefile
@@ -34,7 +34,7 @@ define Image/Prepare
cp $(LINUX_DIR)/arch/$(ARCH)/boot/zImage $(KDIR)/zImage
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
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)/
@@ -46,9 +46,9 @@ define Image/BuildKernel
endef
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/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
$(eval $(call BuildImage))