Changeset 41790


Ignore:
Timestamp:
2014-07-21T20:42:00+02:00 (4 years ago)
Author:
blogic
Message:

imagebuilder: copy dts folder

Signed-off-by: John Crispin <blogic@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/imagebuilder/Makefile

    r41580 r41790  
    2020IB_KDIR:=$(patsubst $(TOPDIR)/%,$(PKG_BUILD_DIR)/%,$(KERNEL_BUILD_DIR)) 
    2121IB_LDIR:=$(patsubst $(TOPDIR)/%,$(PKG_BUILD_DIR)/%,$(LINUX_DIR)) 
     22IB_DTSDIR:=$(patsubst $(TOPDIR)/%,$(PKG_BUILD_DIR)/%,$(LINUX_DIR))/arch/$(ARCH)/boot/dts/ 
    2223 
    2324all: compile 
     
    2627        rm -rf $(PKG_BUILD_DIR) 
    2728        mkdir -p $(IB_KDIR) $(IB_LDIR) $(PKG_BUILD_DIR)/staging_dir/{host,lib} \ 
    28                 $(PKG_BUILD_DIR)/target $(PKG_BUILD_DIR)/scripts 
     29                $(PKG_BUILD_DIR)/target $(PKG_BUILD_DIR)/scripts $(IB_DTSDIR) 
    2930        -cp $(TOPDIR)/.config $(PKG_BUILD_DIR)/.config 
    3031        $(CP) \ 
     
    4950        -$(SCRIPT_DIR)/bundle-libraries.sh $(IB_LDIR)/scripts/dtc \ 
    5051          $(LINUX_DIR)/scripts/dtc/dtc 
     52        if [ -d $(LINUX_DIR)/arch/$(ARCH)/boot/dts ]; then \ 
     53                $(CP) $(LINUX_DIR)/arch/$(ARCH)/boot/dts/* $(IB_DTSDIR); \ 
     54        fi 
    5155        $(SED) 's,^# REVISION:=.*,REVISION:=$(REVISION),g' $(PKG_BUILD_DIR)/include/version.mk 
    5256        find $(PKG_BUILD_DIR) -name CVS -o -name .git -o -name .svn \ 
Note: See TracChangeset for help on using the changeset viewer.