Changeset edc4fc2 in freewrt


Ignore:
Timestamp:
Jul 2, 2007, 8:07:18 PM (18 years ago)
Author:
Thorsten Glaser <tg@…>
Children:
727dae0d
Parents:
914e1e8
Message:

link these against libmirmake on Darwin, because the former's getopt(3)
(from MirBSD of course) is more capable than the latter (from FreeBSD?)

git-svn-id: svn://www.freewrt.org/trunk/freewrt@3084 afb5a338-a214-0410-bd46-81f09a774fd1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/brcm-utils/Makefile

    r914e1e8 redc4fc2  
    88include ../rules.mk
    99
    10 TARGETS := addpattern trx motorola-bin dgfirmware
     10TARGETS=        addpattern trx motorola-bin dgfirmware
     11ifeq (${OStype},Darwin)
     12LIBS+=          -L${STAGING_TOOLS}/share/bmake -lmirmake
     13endif
    1114
    1215UTILS_BUILD_DIR:=$(TOOLS_BUILD_DIR)/utils
     
    2629$(UTILS_BUILD_DIR):
    2730        mkdir -p $(UTILS_BUILD_DIR)
    28        
     31
    2932$(UTILS_BUILD_DIR)/%: src/%.c
    3033        $(HOSTCC) -I $(TOPDIR)/scripts $(HOSTCFLAGS) -o $@ \
    31             $(patsubst $(UTILS_BUILD_DIR)/%,src/%.c,$@)
     34            $(patsubst $(UTILS_BUILD_DIR)/%,src/%.c,$@) ${LIBS}
    3235        chmod 755 $@
Note: See TracChangeset for help on using the changeset viewer.