Changeset 5021


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

move the common variables from host-build.mk to host.mk

Location:
branches/buildroot-ng/openwrt/include
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/buildroot-ng/openwrt/include/host-build.mk

    r5012 r5021  
    66# 
    77 
    8 include $(TOPDIR)/.host.mk 
    9  
    10 $(TOPDIR)/.host.mk: $(INCLUDE_DIR)/host-build.mk 
    11         echo "HOST_OS:=`uname`" > $@ 
    12         echo "HOST_ARCH:=` \ 
    13                 $(HOSTCC) -dumpmachine | sed -e s'/-.*//' \ 
    14                         -e 's/sparc.*/sparc/' \ 
    15                         -e 's/arm.*/arm/' \ 
    16                         -e 's/m68k.*/m68k/' \ 
    17                         -e 's/ppc/powerpc/' \ 
    18                         -e 's/v850.*/v850/' \ 
    19                         -e 's/sh[234]/sh/' \ 
    20                         -e 's/mips-.*/mips/' \ 
    21                         -e 's/mipsel-.*/mipsel/' \ 
    22                         -e 's/cris.*/cris/' \ 
    23                         -e 's/i[3-9]86/i386/'`" >> $@ 
    24         echo "GNU_HOST_NAME:=`$(HOSTCC) -dumpmachine`" >> $@ 
    25  
     8include $(INCLUDE_DIR)/host.mk 
    269 
    2710ifneq ($(strip $(PKG_CAT)),) 
Note: See TracChangeset for help on using the changeset viewer.