diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-12-06 15:42:15 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-12-06 15:42:15 +0000 |
commit | 2227539547e916f2a8ca52b30593f555288ea63e (patch) | |
tree | ff6e6424c3282ca20ad510a57e88f7f68a3b2f8f /target/linux/brcm-2.6/image | |
parent | c37a402fc23250d2e9779fa1f0728444f357906d (diff) |
disable wgt634u image for brcm-2.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5697 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm-2.6/image')
-rw-r--r-- | target/linux/brcm-2.6/image/Makefile | 6 |
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 6aad5581e..db52a9524 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 |