Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev Only need to build stbi if options SPLASHSCREEN is d...



details:   https://anonhg.NetBSD.org/src/rev/2a5b9bedcad9
branches:  trunk
changeset: 828354:2a5b9bedcad9
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Dec 09 13:25:38 2017 +0000

description:
Only need to build stbi if options SPLASHSCREEN is defined

diffstat:

 sys/dev/splash/files.splash |  6 +++---
 sys/dev/stbi/files.stbi     |  6 ++++--
 2 files changed, 7 insertions(+), 5 deletions(-)

diffs (27 lines):

diff -r b0a15f2e275c -r 2a5b9bedcad9 sys/dev/splash/files.splash
--- a/sys/dev/splash/files.splash       Sat Dec 09 11:52:38 2017 +0000
+++ b/sys/dev/splash/files.splash       Sat Dec 09 13:25:38 2017 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: files.splash,v 1.5 2015/09/14 01:40:03 uebayasi Exp $
+# $NetBSD: files.splash,v 1.6 2017/12/09 13:25:38 jmcneill Exp $
 
 define splash: stbi
 file dev/splash/splash.c       splash & splashscreen
 file splash_image.o            splash & splashscreen
 
-defflag opt_splash.h   SPLASHSCREEN
-                       makeoptions_SPLASHSCREEN_IMAGE
+defflag opt_splash.h   SPLASHSCREEN: STB_IMAGE
+defflag opt_splash.h   makeoptions_SPLASHSCREEN_IMAGE
diff -r b0a15f2e275c -r 2a5b9bedcad9 sys/dev/stbi/files.stbi
--- a/sys/dev/stbi/files.stbi   Sat Dec 09 11:52:38 2017 +0000
+++ b/sys/dev/stbi/files.stbi   Sat Dec 09 13:25:38 2017 +0000
@@ -1,4 +1,6 @@
-# $NetBSD: files.stbi,v 1.1 2011/02/06 23:13:04 jmcneill Exp $
+# $NetBSD: files.stbi,v 1.2 2017/12/09 13:25:38 jmcneill Exp $
+
+defflag        opt_stbi.h              STB_IMAGE
 
 define stbi
-file dev/stbi/stb_image.c      stbi
+file dev/stbi/stb_image.c      stbi & stb_image



Home | Main Index | Thread Index | Old Index