Sfoglia il codice sorgente

brcm63xx image generation cleanups (#3169)

SVN-Revision: 10703
Florian Fainelli 18 anni fa
parent
commit
62240465c4
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5 0
      target/linux/brcm63xx/image/Makefile

+ 5 - 0
target/linux/brcm63xx/image/Makefile

@@ -39,10 +39,15 @@ define Image/Prepare
 		TARGET="$(KDIR)" \
 		clean install
 	echo -ne "\\x00" >> $(KDIR)/loader.gz
+	rm -f $(KDIR)/fs_mark
+	touch $(KDIR)/fs_mark
+	$(call prepare_generic_squashfs,$(KDIR)/fs_mark)
 endef
 
 define Image/Build
+ifneq($(1),ext2)
 	$(STAGING_DIR_HOST)/bin/trx -o $(BIN_DIR)/openwrt-$(BOARD)-$(1).trx -f $(KDIR)/loader.gz -f $(KDIR)/vmlinux.lzma $(call trxalign/$(1)) -f $(KDIR)/root.$(1)
+endif
 endef
 
 $(eval $(call BuildImage))