Changeset 41f7564 in mainline for uspace/Makefile


Ignore:
Timestamp:
2006-07-17T00:53:53Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
231fcb2
Parents:
41c4444
Message:

cleanup and unify the build system

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile

    r41c4444 r41f7564  
    3030#
    3131
     32-include ../version
    3233-include Makefile.config
    3334
     
    4849        DIRS += pci
    4950endif
     51
    5052ifeq ($(ARCH), ia32)
    5153        DIRS += pci
    5254endif
    5355
    54 CFLAGS += -DCONFIG_MIPS_FPU
     56ifeq ($(ARCH), mips32)
     57        CFLAGS += -DCONFIG_MIPS_FPU
     58endif
     59
     60ifeq ($(ARCH), mips32eb)
     61        CFLAGS += -DCONFIG_MIPS_FPU
     62endif
    5563
    5664BUILDS := $(addsuffix .build,$(DIRS))
     
    6068
    6169all:
    62         tools/config.py default $(NARCH)
    63 ifdef NARCH
    64  ifneq ($(ARCH), $(NARCH))
    65         $(MAKE) -C . clean
    66  endif
    67 endif
     70        ../tools/config.py uspace.config default $(ARCH) $(COMPILER) $(CONFIG_DEBUG)
    6871        $(MAKE) -C . build
    6972
    7073config:
    71         tools/config.py
     74        ../tools/config.py uspace.config
    7275
    7376build: $(BUILDS)
Note: See TracChangeset for help on using the changeset viewer.