Changeset 1710
- Timestamp:
- 12/08/10 10:59:04 (3 years ago)
- Location:
- trunk/openwrt/target/linux
- Files:
-
- 2 modified
-
fonera2/image/Makefile (modified) (1 diff)
-
fonera2n/image/Makefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/openwrt/target/linux/fonera2/image/Makefile
r16 r1710 31 31 32 32 define Image/BuildKernel 33 cp $(KDIR)/vmlinux.elf $(BIN_DIR)/openwrt-$(BOARD)-vmlinux.elf34 33 $(STAGING_DIR_HOST)/bin/lzma e -so -eos -lc1 -lp2 -pb2 $(KDIR)/vmlinux > $(KDIR)/vmlinux.lzma 35 ./fonimage.pl $(KDIR)/vmlinux.image $(KDIR)/vmlinux.lzma36 dd if=$(KDIR)/vmlinux.image of=$(BIN_DIR)/openwrt-$(BOARD)-vmlinux.image bs=65536 conv=sync37 34 endef 38 35 39 36 define Image/Build/squashfs 40 ./fonimage.pl $(BIN_DIR)/openwrt-$(BOARD).image $(KDIR)/vmlinux.lzma $(KDIR)/root.$(1) 41 $(call prepare_generic_squashfs,$(BIN_DIR)/openwrt-$(BOARD).image) 37 # Join kernel and rootfs together with a header for the Meraki 38 # loader 39 ./fonimage.pl $(BIN_DIR)/openwrt-$(BOARD)-$(1).img $(KDIR)/vmlinux.lzma $(KDIR)/root.$(1) 40 # Align and append a JFFS marker 41 $(call prepare_generic_squashfs,$(BIN_DIR)/openwrt-$(BOARD)-$(1).img) 42 42 endef 43 43 -
trunk/openwrt/target/linux/fonera2n/image/Makefile
r1225 r1710 42 42 43 43 define Image/Build/squashfs 44 $(call prepare_generic_squashfs,$(KDIR)/root.squashfs) 44 # Align and append a JFFS marker 45 $(call prepare_generic_squashfs,$(KDIR)/root.$(1)) 45 46 endef 46 47 47 48 define Image/Build 48 $(call Image/Build/$(1) )49 $(call Image/Build/$(1),$(1)) 49 50 ( \ 50 51 dd if=$(KDIR)/uImage.lzma bs=1024k conv=sync; \ 51 52 dd if=$(KDIR)/root.$(1) bs=65536 conv=sync; \ 52 53 ) > $(BIN_DIR)/openwrt-$(BOARD)-$(1).img 53 #( \54 # cat $(KDIR)/uImage.lzma ;\55 # dd if=$(KDIR)/root.$(1) bs=65536 conv=sync; \56 #) > $(BIN_DIR)/openwrt-$(BOARD)-$(1).img57 54 endef 58 55
