Changeset 177e4ea in mainline for Makefile


Ignore:
Timestamp:
2010-03-18T23:34:00Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3c80f2b
Parents:
3ad309d
Message:

move from a simple sanity check tool to a more feature-rich configuration autotool (generates Makefile.common)
check for the presence of cross-compiler toolchain
correct prefixing of GNU binutils on Solaris
remove redundant toolchain definitions from makefiles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r3ad309d r177e4ea  
    3232CSCOPE = cscope
    3333CONFIG = tools/config.py
    34 SANITY = tools/sanity.py
     34AUTOTOOL = tools/autotool.py
    3535
    36 .PHONY: all config config_default distclean clean cscope precheck
     36.PHONY: all precheck cscope autotool config_default config distclean clean
    3737
    38 all: Makefile.config config.h config.defs
    39         $(SANITY)
     38all: Makefile.common Makefile.config config.h config.defs
    4039        $(MAKE) -C kernel PRECHECK=$(PRECHECK)
    4140        $(MAKE) -C uspace PRECHECK=$(PRECHECK)
     
    4746cscope:
    4847        find kernel boot uspace -regex '^.*\.[chsS]$$' | xargs $(CSCOPE) -b -k -u -f$(CSCOPE).out
     48
     49Makefile.common: autotool
     50
     51autotool: Makefile.config
     52        $(AUTOTOOL)
    4953
    5054Makefile.config: config_default
     
    6165
    6266distclean: clean
    63         rm -f $(CSCOPE).out Makefile.config config.h config.defs tools/*.pyc tools/checkers/*.pyc
     67        rm -f $(CSCOPE).out Makefile.common Makefile.config config.h config.defs tools/*.pyc tools/checkers/*.pyc
    6468
    6569clean:
Note: See TracChangeset for help on using the changeset viewer.