Changeset f5211ee in mainline for Makefile


Ignore:
Timestamp:
2010-12-05T11:09:50Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
01e7043
Parents:
8c2b3ef (diff), 421250e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge more of hands-off configuration support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r8c2b3ef rf5211ee  
    4141CONFIG_HEADER = config.h
    4242
    43 .PHONY: all precheck cscope autotool config_default config distclean clean
     43ifeq ($(PROFILE),)
     44        PRESETS_FILE =
     45else
     46        PRESETS_FILE = defaults/$(PROFILE)/Makefile.config
     47endif
     48
     49.PHONY: all precheck cscope autotool config_auto config_default config distclean clean
    4450
    4551all: $(COMMON_MAKEFILE) $(COMMON_HEADER) $(CONFIG_MAKEFILE) $(CONFIG_HEADER)
     
    6672
    6773config_default: $(CONFIG_RULES)
    68         $(CONFIG) $< default
     74        $(CONFIG) $< default $(PRESETS_FILE)
    6975
    7076config: $(CONFIG_RULES)
Note: See TracChangeset for help on using the changeset viewer.