Changeset 19096


Ignore:
Timestamp:
2010-01-11T02:04:15+01:00 (8 years ago)
Author:
lars
Message:

[tools] mtd-utils: Build mkfs.ubifs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/mtd-utils/Makefile

    r16457 r19096  
    1 #  
    2 # Copyright (C) 2006 OpenWrt.org 
     1# 
     2# Copyright (C) 2006-2010 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    2222include $(INCLUDE_DIR)/host-build.mk 
    2323 
    24 CFLAGS := $(HOST_CFLAGS) -I../include 
     24CFLAGS := $(HOST_CFLAGS) -I$(HOST_BUILD_DIR)/include -L$(HOST_BUILD_DIR) 
    2525ifneq ($(HOST_OS),Linux) 
    2626CFLAGS += -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include getline.h -include endian.h 
     
    4040                $(MTD_MAKEOPTS) \ 
    4141                TARGETS=ubinize 
     42        $(MAKE) -C $(HOST_BUILD_DIR)/mkfs.ubifs \ 
     43                $(MTD_MAKEOPTS) \ 
     44                BUILDDIR="$(HOST_BUILD_DIR)/mkfs.ubifs" 
    4245endef 
    4346 
     
    4548        $(CP) \ 
    4649                $(HOST_BUILD_DIR)/mkfs.jffs2 \ 
     50                $(HOST_BUILD_DIR)/mkfs.ubifs/mkfs.ubifs \ 
    4751                $(HOST_BUILD_DIR)/ubinize \ 
    4852                $(STAGING_DIR_HOST)/bin/ 
     
    5054 
    5155define Host/Clean 
    52         rm -f $(STAGING_DIR_HOST)/bin/mkfs.jffs2 
     56        rm -f $(STAGING_DIR_HOST)/bin/{mkfs.jffs2,mkfs.ubifs,ubinize} 
    5357endef 
    5458 
Note: See TracChangeset for help on using the changeset viewer.