VirtualBox

Changeset 2220 in kBuild


Ignore:
Timestamp:
Jan 7, 2009 3:07:18 AM (16 years ago)
Author:
bird
Message:

footer.kmk: check for invalid install source specifiers and display some understandable errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/footer.kmk

    r2205 r2220  
    30773077
    30783078# deal with '=>' in the source file name.
     3079ifeq ($(src),=>)
     3080 $(error kBuild: Install target '$(target)' has a bad source specifier containing '=>' without any file names)
     3081endif
     3082ifeq ($(substr $(src),1,2),=>)
     3083 $(warning kBuild: Install target '$(target)' has a bad source specifier: $(src))
     3084endif
     3085ifeq ($(substr $(src),-2),=>)
     3086 $(warning kBuild: Install target '$(target)' has a bad source specifier: $(src))
     3087endif
    30793088local srcdst := $(subst =>, ,$(src))
    30803089local srcsrc := $(firstword $(srcdst))
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette