aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-12-06 15:42:15 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-12-06 15:42:15 +0000
commit18d2dcdddf6f7c7d23931fbe0b048613bb30b649 (patch)
tree8a93cbe23d66d487352abb7f9b83d88142109037 /target
parentd853557fdeb575fa2f0b158fd10af0c64f6dbc42 (diff)
downloadupstream-18d2dcdddf6f7c7d23931fbe0b048613bb30b649.tar.gz
upstream-18d2dcdddf6f7c7d23931fbe0b048613bb30b649.tar.bz2
upstream-18d2dcdddf6f7c7d23931fbe0b048613bb30b649.zip
disable wgt634u image for brcm-2.4
SVN-Revision: 5697
Diffstat (limited to 'target')
-rw-r--r--target/linux/brcm-2.6/image/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/brcm-2.6/image/Makefile b/target/linux/brcm-2.6/image/Makefile
index 6aad5581e7..db52a9524c 100644
--- a/target/linux/brcm-2.6/image/Makefile
+++ b/target/linux/brcm-2.6/image/Makefile
@@ -24,10 +24,12 @@ define Image/Prepare
cat $(KDIR)/vmlinux | $(STAGING_DIR)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $(KDIR)/vmlinux.lzma
endef
-define Image/Build/wgt634u
+ifneq ($(KERNEL),2.4)
+ define Image/Build/wgt634u
dd if=$(KDIR)/loader.elf of=$(BIN_DIR)/openwrt-wgt634u-$(KERNEL)-$(2).bin bs=131072 conv=sync
cat $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).trx >> $(BIN_DIR)/openwrt-wgt634u-$(KERNEL)-$(2).bin
-endef
+ endef
+endif
define Image/Build/CyberTAN
$(STAGING_DIR)/bin/addpattern -4 -p $(3) -v v$(4) -i $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).trx -o $(BIN_DIR)/openwrt-$(2)-$(KERNEL)-$(5).bin