Changeset 41580


Ignore:
Timestamp:
2014-07-11T00:02:31+02:00 (4 years ago)
Author:
blogic
Message:

imagebuilder: x86 fails to build inside the imagebuilder

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/imagebuilder/Makefile

    r40968 r41580  
    2525$(BIN_DIR)/$(IB_NAME).tar.bz2: clean 
    2626        rm -rf $(PKG_BUILD_DIR) 
    27         mkdir -p $(IB_KDIR) $(IB_LDIR) $(PKG_BUILD_DIR)/staging_dir/host \ 
     27        mkdir -p $(IB_KDIR) $(IB_LDIR) $(PKG_BUILD_DIR)/staging_dir/{host,lib} \ 
    2828                $(PKG_BUILD_DIR)/target $(PKG_BUILD_DIR)/scripts 
    2929        -cp $(TOPDIR)/.config $(PKG_BUILD_DIR)/.config 
     
    3939        $(CP) $(PACKAGE_DIR) $(PKG_BUILD_DIR)/packages 
    4040        $(CP) $(TOPDIR)/target/linux $(PKG_BUILD_DIR)/target/ 
     41        if [ -d $(TOPDIR)/staging_dir/host/lib/grub ]; then \ 
     42                $(CP) $(TOPDIR)/staging_dir/host/lib/grub/ $(PKG_BUILD_DIR)/staging_dir/lib; \ 
     43        fi 
    4144        rm -rf \ 
    4245                $(PKG_BUILD_DIR)/target/linux/*/files{,-*} \ 
Note: See TracChangeset for help on using the changeset viewer.