X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=target%2Flinux%2Fbrcm-2.6%2Fimage%2FMakefile;h=db52a9524ce6e32656bd235ac9744c894209fc5f;hb=6933f718b48f15c09cbff9fdbb52504ac8592eb2;hp=6aad5581e7267244cf4f026b718459f93c07066a;hpb=9e0a57b449c8575004476f06b8435648fcf44a26;p=openwrt-10.03%2F.git 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