Changeset 3668

Show
Ignore:
Timestamp:
01/05/08 21:10:31 (1 year ago)
Author:
n0-1
Message:

Enable support for base files depending on kernel version only.

These are files needed by the certain kernel major (2.4 or 2.6),
but are not specific for the target device. A simple example is
the /sys directory, which is only needed by kernel 2.6.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/package/base-files/Makefile

    r3656 r3668  
    8888        rm -rf $(IDIR_BASE_FILES)/var 
    8989        ln -sf tmp $(IDIR_BASE_FILES)/var 
     90        [ ! -d $(TOPDIR)/target/linux/generic-$(KERNEL)/files ] || \ 
     91            $(CP) $(TOPDIR)/target/linux/generic-$(KERNEL)/files/* $(IDIR_BASE_FILES) 
    9092        [ ! -d $(TOPDIR)/target/linux/$(BOARD)-$(KERNEL)/files ] || \ 
    9193            $(CP) $(TOPDIR)/target/linux/$(BOARD)-$(KERNEL)/files/* $(IDIR_BASE_FILES)