Changeset 13608


Ignore:
Timestamp:
2008-12-12T00:17:56+01:00 (9 years ago)
Author:
mb
Message:

Build the root fs.

Location:
trunk/target/linux/openmoko
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/openmoko/Makefile

    r13605 r13608  
    1010BOARD:=openmoko 
    1111BOARDNAME:=Openmoko 
    12 FEATURES:=squashfs usb 
     12FEATURES:=usb 
    1313 
    1414LINUX_VERSION:=2.6.24.7 
  • trunk/target/linux/openmoko/image/Makefile

    r13605 r13608  
    66# 
    77 
     8JFFS2_BLOCKSIZE := 128k 
     9 
    810include $(TOPDIR)/rules.mk 
    911include $(INCLUDE_DIR)/image.mk 
     12 
     13define Image/mkfs/jffs2/sub 
     14        $(STAGING_DIR_HOST)/bin/mkfs.jffs2 --pad --little-endian --pagesize=0x800 --no-cleanmarkers -e $(patsubst %k,%KiB,$(1)) -o $(KDIR)/root.jffs2-$(1) -d $(TARGET_DIR) 
     15        $(call add_jffs2_mark,$(KDIR)/root.jffs2-$(1)) 
     16        $(call Image/Build,jffs2-$(1)) 
     17endef 
    1018 
    1119define Build/Clean 
     
    2432 
    2533define Image/Build 
     34        cp $(KDIR)/root.jffs2-128k $(BIN_DIR)/openwrt-$(BOARD)-rootfs 
    2635endef 
    2736 
Note: See TracChangeset for help on using the changeset viewer.