Changeset 9069


Ignore:
Timestamp:
2007-09-29T16:27:54+02:00 (10 years ago)
Author:
juhosg
Message:

get rid of per-profile base-files

Location:
trunk
Files:
15 deleted
1 edited
54 copied
2 moved

Legend:

Unmodified
Added
Removed
  • trunk/package/base-files/Makefile

    r8947 r9069  
    1 #  
    2 # Copyright (C) 2006 OpenWrt.org 
     1# 
     2# Copyright (C) 2007 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    131131                $(CP) $(GENERIC_PLATFORM_DIR)/base-files/* $(1)/; \ 
    132132        fi 
    133         if [ -d $(PLATFORM_DIR)/base-files/default/. ]; then \ 
    134                 $(CP) $(PLATFORM_DIR)/base-files/default/* $(1)/; \ 
     133        if [ -d $(PLATFORM_DIR)/base-files/. ]; then \ 
     134                $(CP) $(PLATFORM_DIR)/base-files/* $(1)/; \ 
    135135        fi 
    136136        $(if $(filter-out $(PLATFORM_DIR),$(PLATFORM_SUBDIR)), \ 
    137                 if [ -d $(PLATFORM_SUBDIR)/base-files/default/. ]; then \ 
    138                         $(CP) $(PLATFORM_SUBDIR)/base-files/default/* $(1)/; \ 
     137                if [ -d $(PLATFORM_SUBDIR)/base-files/. ]; then \ 
     138                        $(CP) $(PLATFORM_SUBDIR)/base-files/* $(1)/; \ 
    139139                fi \ 
    140140        ) 
    141         if [ "$(PROFILE)" != "Default" ]; then \ 
    142                 if [ -d $(PLATFORM_DIR)/base-files/profile-$(PROFILE)/. ]; then \ 
    143                         $(CP) $(PLATFORM_DIR)/base-files/profile-$(PROFILE)/* $(1)/; \ 
    144                 fi; \ 
    145         fi 
    146141        $(SED) 's,$$$$R,r$(REV),g' $(1)/etc/banner 
    147142        $(SED) 's,$$$$S,$(BOARD)-$(KERNEL),g' -e 's,$$$$A,$(ARCH),g' $(1)/etc/ipkg.conf 
Note: See TracChangeset for help on using the changeset viewer.