Changeset 29798


Ignore:
Timestamp:
2012-01-19T13:19:28+01:00 (6 years ago)
Author:
jow
Message:

[buildroot] abort built in prereq target if there is no site config file for the current target

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r22871 r29798  
    7979# check prerequisites before starting to build 
    8080prereq: $(target/stamp-prereq) tmp/.prereq_packages 
     81        @if [ ! -f "$(INCLUDE_DIR)/site/$(REAL_GNU_TARGET_NAME)" ]; then \ 
     82                echo 'ERROR: Missing site config for target "$(REAL_GNU_TARGET_NAME)" !'; \ 
     83                echo '       The missing file will cause configure scripts to fail during compilation.'; \ 
     84                echo '       Please provide a "$(INCLUDE_DIR)/site/$(REAL_GNU_TARGET_NAME)" file and restart the build.'; \ 
     85                exit 1; \ 
     86        fi 
    8187 
    8288prepare: .config $(tools/stamp-install) $(toolchain/stamp-install) 
Note: See TracChangeset for help on using the changeset viewer.