Ignore:
Timestamp:
2009-02-22T05:37:20+01:00 (8 years ago)
Author:
nbd
Message:

build system refactoring in preparation for allowing packages to do host-build steps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/lzma/Makefile

    r14593 r14610  
    1414PKG_MD5SUM:=5587d6ac230ad1903d504fc3253f0e42 
    1515 
    16 PKG_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)-$(PKG_VERSION) 
     16HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)-$(PKG_VERSION) 
    1717 
    1818include $(INCLUDE_DIR)/host-build.mk 
    1919 
    20 LIB_DIR=$(PKG_BUILD_DIR)/C/7zip/Compress/LZMA_Lib 
    21 ALONE_DIR=$(PKG_BUILD_DIR)/C/7zip/Compress/LZMA_Alone 
     20LIB_DIR=$(HOST_BUILD_DIR)/C/7zip/Compress/LZMA_Lib 
     21ALONE_DIR=$(HOST_BUILD_DIR)/C/7zip/Compress/LZMA_Alone 
    2222 
    23 define Build/Compile 
     23define Host/Compile 
    2424        $(MAKE) -C $(LIB_DIR) 
    2525        $(MAKE) -f makefile.gcc -C $(ALONE_DIR) 
    2626endef 
    2727 
    28 define Build/Install 
     28define Host/Install 
    2929        $(INSTALL_DATA) $(LIB_DIR)/liblzma.a $(STAGING_DIR_HOST)/lib/ 
    3030        $(INSTALL_BIN) $(ALONE_DIR)/lzma $(STAGING_DIR_HOST)/bin/ 
    3131endef 
    3232 
    33 define Build/Clean 
     33define Host/Clean 
    3434        rm -f \ 
    3535                $(STAGING_DIR_HOST)/lib/liblzma.a \ 
Note: See TracChangeset for help on using the changeset viewer.