Changeset 32355bc in mainline for Makefile


Ignore:
Timestamp:
2019-08-17T12:49:42Z (5 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5fd05862
Parents:
fa70134
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-06-15 12:58:56)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-08-17 12:49:42)
Message:

Remove the generated common.h header

We haven't used it in some time, instead relying on the compiler
providing types with properties we want. Since we only support
building with GCC and Clang, extra detection code is just dead weight.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rfa70134 r32355bc  
    4141
    4242COMMON_MAKEFILE = Makefile.common
    43 COMMON_HEADER = common.h
    4443
    4544CONFIG_MAKEFILE = Makefile.config
     
    5352        $(MAKE) -r -C boot PRECHECK=$(PRECHECK)
    5453
    55 common: $(COMMON_MAKEFILE) $(COMMON_HEADER) $(CONFIG_MAKEFILE) $(CONFIG_HEADER) $(ERRNO_HEADER)
     54common: $(COMMON_MAKEFILE) $(CONFIG_MAKEFILE) $(CONFIG_HEADER) $(ERRNO_HEADER)
    5655
    5756kernel: common
     
    123122# Autotool (detects compiler features)
    124123
    125 autotool $(COMMON_MAKEFILE) $(COMMON_HEADER): $(CONFIG_MAKEFILE) $(AUTOTOOL)
     124autotool $(COMMON_MAKEFILE): $(CONFIG_MAKEFILE) $(AUTOTOOL)
    126125        $(AUTOTOOL)
    127         diff -q $(COMMON_HEADER).new $(COMMON_HEADER) 2> /dev/null; if [ $$? -ne 0 ]; then mv -f $(COMMON_HEADER).new $(COMMON_HEADER); fi
    128126
    129127# Build-time configuration
     
    153151
    154152distclean: clean
    155         rm -f $(CSCOPE).out $(COMMON_MAKEFILE) $(COMMON_HEADER) $(CONFIG_MAKEFILE) $(CONFIG_HEADER) tools/*.pyc tools/checkers/*.pyc release/HelenOS-*
     153        rm -f $(CSCOPE).out $(COMMON_MAKEFILE) $(CONFIG_MAKEFILE) $(CONFIG_HEADER) tools/*.pyc tools/checkers/*.pyc release/HelenOS-*
    156154
    157155clean:
Note: See TracChangeset for help on using the changeset viewer.