git: bsd.prog.mk: Avoid redefining $PROG target

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Oct 4 09:59:28 PDT 2012


commit b4061d6cf8a3f9e959e064a3b5127b0172117fe6
Author: John Marino <netbsd at marino.st>
Date:   Thu Oct 4 18:17:47 2012 +0200

    bsd.prog.mk: Avoid redefining $PROG target
    
    In rare cases, the PROG target is intentionally redefined before
    including bsd.prog.mk, but when that happens a target redefinition
    warning is emitting.  This adds a check for a pre-existing $PROG
    target before attempting to define it.
    
    It stops warnings from being emitted when loader and loader_tftp
    are built.

Summary of changes:
 share/mk/bsd.prog.mk |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b4061d6cf8a3f9e959e064a3b5127b0172117fe6


-- 
DragonFly BSD source repository



More information about the Commits mailing list