Changeset 40761


Ignore:
Timestamp:
2014-05-14T12:08:22+02:00 (4 years ago)
Author:
hauke
Message:

brcm47xx: image: document some defines arguments

Signed-off-by: Rafał Miłecki <zajec5@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/brcm47xx/image/Makefile

    r38011 r40761  
    3939endef 
    4040 
     41# $(1): filesystem type. 
     42# $(2): device model (used for output file). 
     43# $(3): pattern (device specific magic). 
     44# $(4): version. 
     45# $(5): simplified filesystem type (without block size). 
    4146define Image/Build/CyberTAN 
    4247        $(STAGING_DIR_HOST)/bin/addpattern -4 -p $(3) -v v$(4) -i $(BIN_DIR)/$(IMG_PREFIX)-$(1).trx -o $(BIN_DIR)/openwrt-$(2)-$(5).bin $(if $(6),-s $(6)) 
     
    8590endef 
    8691 
     92# $(1): filesystem type. 
    8793define Image/Build/jffs2-128k 
    8894        $(call Image/Build/CyberTAN,$(1),wrt54gs,W54S,4.80.1,$(patsubst jffs2-%,jffs2,$(1))) 
     
    9298endef 
    9399 
     100# $(1): filesystem type. 
    94101define Image/Build/jffs2-64k 
    95102        $(call Image/Build/CyberTAN,$(1),wrt54g3g,W54F,2.20.1,$(patsubst jffs2-%,jffs2,$(1))) 
     
    125132endef 
    126133 
     134# $(1): filesystem type. 
    127135define Image/Build/squashfs 
    128136        $(call Image/Build/jffs2-64k,$(1)) 
     
    134142endef 
    135143 
     144# $(1): filesystem type. 
     145# $(2): device model (used for output file). 
     146# $(3): board_id (device specific magic). 
     147# $(4): region. 
     148# $(5): simplified filesystem type (without block size). 
    136149define Image/Build/Chk 
    137150        $(STAGING_DIR_HOST)/bin/mkchkimg -o $(BIN_DIR)/openwrt-$(2)-$(5).chk -k $(BIN_DIR)/$(IMG_PREFIX)-$(1).trx -b $(3) -r $(4) 
    138151endef 
    139152 
     153# $(1): filesystem type. 
    140154define Image/Build 
    141155        $(STAGING_DIR_HOST)/bin/trx -o $(BIN_DIR)/$(IMG_PREFIX)-$(1).trx \ 
Note: See TracChangeset for help on using the changeset viewer.