Changeset 393d6b8 in freewrt


Ignore:
Timestamp:
Jul 2, 2007, 5:01:37 PM (18 years ago)
Author:
Thorsten Glaser <tg@…>
Children:
69fca27
Parents:
bfdd13b
Message:

apple workaround

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/mkimage/Makefile

    rbfdd13b r393d6b8  
    1515#include ${TOPDIR}/mk/fetch.mk
    1616
     17DEFS=                   -idirafter ../include -DTEXT_BASE= -DUSE_HOSTCC
     18ifeq (${OStype},Darwin)
     19DEFS+=                  -D__FreeBSD__
     20endif
     21
    1722$(WRKBUILD)/tools/mkimage: $(WRKBUILD)/.prepared
    18         (cd $(WRKBUILD)/tools ; \
    19         $(HOSTCC) -g -Wall -pedantic -idirafter ../include -DTEXT_BASE= -DUSE_HOSTCC -O -c mkimage.c )
    20         (cd $(WRKBUILD)/tools ; \
    21         $(HOSTCC) -g -Wall -pedantic -idirafter ../include -DTEXT_BASE= -DUSE_HOSTCC -O -c ../lib_generic/crc32.c )
    22         (cd $(WRKBUILD)/tools ; \
    23         $(HOSTCC) -Wall -pedantic -idirafter ../include -DTEXT_BASE= -DUSE_HOSTCC -O  -o mkimage mkimage.o crc32.o )
     23        cd ${WRKBUILD}/tools && \
     24            ${HOSTCC} -O -g -Wall -pedantic ${DEFS} -c mkimage.c && \
     25            ${HOSTCC} -O -g -Wall -pedantic ${DEFS} -c ../lib_generic/crc32.c && \
     26            ${HOSTCC} ${DEFS} -o mkimage mkimage.o crc32.o
    2427
    2528$(STAGING_TOOLS)/bin/mkimage: $(WRKBUILD)/tools/mkimage
Note: See TracChangeset for help on using the changeset viewer.