Changeset 5019


Ignore:
Timestamp:
2006-10-10T18:36:47+02:00 (10 years ago)
Author:
nbd
Message:

fix gene2fs build on freebsd

Location:
branches/buildroot-ng/openwrt
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/buildroot-ng/openwrt/toolchain/Makefile

    r4867 r5019  
    2323install: $(TARGETS_INSTALL) 
    2424clean: $(TARGETS_CLEAN) 
     25$(TARGETS_INSTALL): $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME) 
    2526 
    2627uClibc-prepare: kernel-headers-prepare 
     
    3536TOOLCHAIN_STAMP_DIR:=$(STAGING_DIR)/stampfiles 
    3637 
     38$(STAGING_DIR)/$(REAL_GNU_TARGET_NAME): 
     39        @mkdir -p $@ 
     40        @ln -sf ../lib $@/lib 
     41 
    3742$(TOOLCHAIN_STAMP_DIR): 
    3843        mkdir -p $@ 
     
    4449        $(MAKE) -C $(patsubst %-download,%,$@) download 
    4550 
    46 %-prepare: $(TOOLCHAIN_STAMP_DIR) $(STAGING_DIR) $(TOOLCHAIN_BUILD_DIR) FORCE 
     51%-prepare: $(TOOLCHAIN_STAMP_DIR) $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME) $(TOOLCHAIN_BUILD_DIR) FORCE 
    4752        @[ -f $(TOOLCHAIN_STAMP_DIR)/.toolchain_$@ ] || { \ 
    4853                $(MAKE) -C $(patsubst %-prepare,%,$@) prepare; \ 
  • branches/buildroot-ng/openwrt/tools/Makefile

    r4867 r5019  
    1111 
    1212TARGETS_DOWNLOAD:=$(patsubst %,%-download,$(TARGETS-y)) 
     13TARGETS_PREPARE:=$(patsubst %,%-prepare,$(TARGETS-y)) 
    1314TARGETS_INSTALL:=$(patsubst %,%-install,$(TARGETS-y)) 
    1415TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS-y)) 
     
    2627        mkdir -p $@ 
    2728 
    28 $(STAGING_DIR): 
    29         @mkdir -p $@/lib 
    30         @mkdir -p $@/include 
    31         @mkdir -p $@/include-host 
    32         $(CP) ./include/*.h $@/include-host/ 
    33         @ln -sf ../lib $@/$(REAL_GNU_TARGET_NAME)/lib 
    34         @mkdir -p $@/$(REAL_GNU_TARGET_NAME) 
     29$(STAGING_DIR)/include-host: 
     30        @mkdir -p $@ 
     31        @$(CP) ./include/*.h $@/ 
    3532 
    3633$(TOOL_BUILD_DIR): 
     
    4037        $(MAKE) -C $(patsubst %-download,%,$@) download 
    4138 
    42 %-prepare: $(TOOL_STAMP_DIR) $(STAGING_DIR) $(TOOL_BUILD_DIR) FORCE 
     39%-prepare: $(TOOL_STAMP_DIR) $(STAGING_DIR)/include-host $(TOOL_BUILD_DIR) FORCE 
    4340        @[ -f $(TOOL_STAMP_DIR)/.tool_$@ ] || { \ 
    4441                $(MAKE) -C $(patsubst %-prepare,%,$@) prepare; \ 
  • branches/buildroot-ng/openwrt/tools/ext2fs/Makefile

    r4866 r5019  
    4343 
    4444define Build/Compile 
    45         $(MAKE) -C $(PKG_BUILD_DIR) all 
     45        $(MAKE) -C $(PKG_BUILD_DIR) \ 
     46                CFLAGS="-O2 -I $(STAGING_DIR)/include-host -include getline.h" \ 
     47                all 
    4648endef 
    4749 
Note: See TracChangeset for help on using the changeset viewer.