Changeset 382a863 in freewrt


Ignore:
Timestamp:
Dec 23, 2006, 3:39:03 AM (19 years ago)
Author:
Phil Sutter <n0-1@…>
Children:
4dbb7c6
Parents:
341c25e
Message:

should have switched my brain on, this is what else has to be done to add a new target fs

git-svn-id: svn://www.freewrt.org/trunk/freewrt@1368 afb5a338-a214-0410-bd46-81f09a774fd1

Location:
mk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • mk/kernel-build.mk

    r341c25e r382a863  
    6969else
    7070        $(CP) $(FS)/config/config.ext2 $(LINUX_DIR)/.config
     71endif
     72endif
     73ifeq ($(FS),yaffs2)
     74ifneq ($(strip $(DEVICECONFIG)),)
     75        $(CP) $(DEVICE)/config/config.yaffs2 $(LINUX_DIR)/.config
     76else
     77        $(CP) $(FS)/config/config.yaffs2 $(LINUX_DIR)/.config
    7178endif
    7279endif
  • mk/kernel.mk

    r341c25e r382a863  
    168168endif
    169169
     170# yaffs2 for use with nand flash
     171ifeq ($(FS),yaffs2)
     172DEVICECONFIG:=$(shell test -f $(DEVICE)/config/config.yaffs2 && echo y 2>/dev/null)
     173ifneq ($(strip $(DEVICECONFIG)),)
     174include $(DEVICE)/config/config.yaffs2
     175else
     176include $(FS)/config/config.yaffs2
     177endif
     178endif
  • mk/targets.mk

    r341c25e r382a863  
    4848$(eval $(call rootfs_template,nfs,NFS))
    4949$(eval $(call rootfs_template,ext2-cf,EXT2_CF))
     50$(eval $(call rootfs_template,yaffs2,YAFFS2))
    5051
    5152
Note: See TracChangeset for help on using the changeset viewer.