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

[MiNT] [PATCH] SGENFILES is for generated source files



Commit message:

SGENFILES is for generated source files not binaries.
Contributed by David Galvez.
diff -r e8215361e0ed -r b4e12b26d36c sys/buildinfo/Makefile
--- a/sys/buildinfo/Makefile	Wed Nov 19 18:48:05 2014 +0100
+++ b/sys/buildinfo/Makefile	Wed Nov 19 19:15:43 2014 +0100
@@ -23,7 +23,8 @@
 
 # default definitions
 OBJS = mkbuild.o
-GENFILES = mkbuild build.h cdef.h buildserial
+GENFILES = mkbuild buildserial
+SGENFILES = build.h cdef.h
 
 mkbuild: mkbuild.o
 	$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
diff -r e8215361e0ed -r b4e12b26d36c sys/usb/src.km/ucd/ethernat/Makefile
--- a/sys/usb/src.km/ucd/ethernat/Makefile	Wed Nov 19 18:48:05 2014 +0100
+++ b/sys/usb/src.km/ucd/ethernat/Makefile	Wed Nov 19 19:15:43 2014 +0100
@@ -28,7 +28,7 @@
 CPU = 060
 
 # default definitions
-SGENFILES = $(TARGET)
+GENFILES = $(TARGET)
 OBJS = $(SSOBJS:.S=.o) $(COBJS:.c=.o)
 
 $(TARGET): $(OBJS) $(LIBKERNTARGET)
diff -r e8215361e0ed -r b4e12b26d36c sys/usb/src.km/ucd/netusbee/Makefile
--- a/sys/usb/src.km/ucd/netusbee/Makefile	Wed Nov 19 18:48:05 2014 +0100
+++ b/sys/usb/src.km/ucd/netusbee/Makefile	Wed Nov 19 19:15:43 2014 +0100
@@ -30,7 +30,7 @@
 endif
 
 # default definitions
-SGENFILES = $(TARGET)
+GENFILES = $(TARGET)
 OBJS = $(SSOBJS:.S=.o) $(COBJS:.c=.o)
 
 $(TARGET): $(OBJS) $(LIBKERNTARGET)
diff -r e8215361e0ed -r b4e12b26d36c sys/usb/src.km/udd/eth/Makefile
--- a/sys/usb/src.km/udd/eth/Makefile	Wed Nov 19 18:48:05 2014 +0100
+++ b/sys/usb/src.km/udd/eth/Makefile	Wed Nov 19 19:15:43 2014 +0100
@@ -28,7 +28,7 @@
 CPU = 000
 
 # default definitions
-SGENFILES = $(TARGET)
+GENFILES = $(TARGET)
 OBJS = $(COBJS:.c=.o) $(SSOBJS:.S=.o) 
 
 $(TARGET): $(OBJS) $(LIBKERNTARGET)
diff -r e8215361e0ed -r b4e12b26d36c sys/xdd/audio/Makefile
--- a/sys/xdd/audio/Makefile	Wed Nov 19 18:48:05 2014 +0100
+++ b/sys/xdd/audio/Makefile	Wed Nov 19 19:15:43 2014 +0100
@@ -27,7 +27,7 @@
 CPU = 020-60
 
 # default definitions
-SGENFILES = $(TARGET) actrl
+GENFILES = $(TARGET) actrl
 OBJS = $(COBJS:.c=.o) $(SOBJS:.S=.o)
 
 $(TARGET): $(OBJS) $(LIBKERNTARGET)
diff -r e8215361e0ed -r b4e12b26d36c sys/xdd/dsp56k/Makefile
--- a/sys/xdd/dsp56k/Makefile	Wed Nov 19 18:48:05 2014 +0100
+++ b/sys/xdd/dsp56k/Makefile	Wed Nov 19 19:15:43 2014 +0100
@@ -27,7 +27,7 @@
 CPU = 020-60
 
 # default definitions
-SGENFILES = $(TARGET)
+GENFILES = $(TARGET)
 OBJS = $(COBJS:.c=.o) $(SOBJS:.s=.o)
 
 $(TARGET): $(OBJS) $(LIBKERNTARGET)
diff -r e8215361e0ed -r b4e12b26d36c sys/xdd/flop-raw/Makefile
--- a/sys/xdd/flop-raw/Makefile	Wed Nov 19 18:48:05 2014 +0100
+++ b/sys/xdd/flop-raw/Makefile	Wed Nov 19 19:15:43 2014 +0100
@@ -27,7 +27,7 @@
 CPU = 000
 
 # default definitions
-SGENFILES = $(TARGET)
+GENFILES = $(TARGET)
 OBJS = $(COBJS:.c=.o)
 
 $(TARGET): $(OBJS) $(LIBKERNTARGET)
diff -r e8215361e0ed -r b4e12b26d36c sys/xdd/nfstderr/Makefile
--- a/sys/xdd/nfstderr/Makefile	Wed Nov 19 18:48:05 2014 +0100
+++ b/sys/xdd/nfstderr/Makefile	Wed Nov 19 19:15:43 2014 +0100
@@ -27,7 +27,7 @@
 CPU = 000
 
 # default definitions
-SGENFILES = $(TARGET)
+GENFILES = $(TARGET)
 OBJS = $(COBJS:.c=.o)
 
 $(TARGET): $(OBJS) $(LIBKERNTARGET)
diff -r e8215361e0ed -r b4e12b26d36c sys/xdd/scc/Makefile
--- a/sys/xdd/scc/Makefile	Wed Nov 19 18:48:05 2014 +0100
+++ b/sys/xdd/scc/Makefile	Wed Nov 19 19:15:43 2014 +0100
@@ -27,7 +27,7 @@
 CPU = 020-60
 
 # default definitions
-SGENFILES = $(TARGET)
+GENFILES = $(TARGET)
 OBJS = $(COBJS:.c=.o)
 
 $(TARGET): $(OBJS) $(LIBKERNTARGET)
diff -r e8215361e0ed -r b4e12b26d36c sys/xdd/uart/Makefile
--- a/sys/xdd/uart/Makefile	Wed Nov 19 18:48:05 2014 +0100
+++ b/sys/xdd/uart/Makefile	Wed Nov 19 19:15:43 2014 +0100
@@ -27,7 +27,7 @@
 CPU = 020-60
 
 # default definitions
-SGENFILES = $(TARGET)
+GENFILES = $(TARGET)
 OBJS = $(COBJS:.c=.o)
 
 $(TARGET): $(OBJS) $(LIBKERNTARGET)
diff -r e8215361e0ed -r b4e12b26d36c sys/xdd/xconout2/Makefile
--- a/sys/xdd/xconout2/Makefile	Wed Nov 19 18:48:05 2014 +0100
+++ b/sys/xdd/xconout2/Makefile	Wed Nov 19 19:15:43 2014 +0100
@@ -27,7 +27,7 @@
 CPU = 000
 
 # default definitions
-SGENFILES = $(TARGET)
+GENFILES = $(TARGET)
 OBJS = $(COBJS:.c=.o)
 
 $(TARGET): $(OBJS) $(LIBKERNTARGET)
diff -r e8215361e0ed -r b4e12b26d36c sys/xfs/ext2fs/Makefile
--- a/sys/xfs/ext2fs/Makefile	Wed Nov 19 18:48:05 2014 +0100
+++ b/sys/xfs/ext2fs/Makefile	Wed Nov 19 19:15:43 2014 +0100
@@ -28,7 +28,7 @@
 STRIPFLAGS = 
 
 # default definitions
-SGENFILES = $(TARGET)
+GENFILES = $(TARGET)
 OBJS = $(COBJS:.c=.o)
 
 $(TARGET): $(OBJS) $(LIBKERNTARGET)
diff -r e8215361e0ed -r b4e12b26d36c sys/xfs/minixfs/Makefile
--- a/sys/xfs/minixfs/Makefile	Wed Nov 19 18:48:05 2014 +0100
+++ b/sys/xfs/minixfs/Makefile	Wed Nov 19 19:15:43 2014 +0100
@@ -28,7 +28,7 @@
 STRIPFLAGS = $(shell for i in `cat syms.mfs` ; do echo -n "-K $$i " ; done)
 
 # default definitions
-SGENFILES = $(TARGET)
+GENFILES = $(TARGET)
 OBJS = $(COBJS:.c=.o)
 
 $(TARGET): $(OBJS) $(LIBKERNTARGET)
diff -r e8215361e0ed -r b4e12b26d36c sys/xfs/nfs/Makefile
--- a/sys/xfs/nfs/Makefile	Wed Nov 19 18:48:05 2014 +0100
+++ b/sys/xfs/nfs/Makefile	Wed Nov 19 19:15:43 2014 +0100
@@ -27,7 +27,7 @@
 CPU = 000
 
 # default definitions
-SGENFILES = $(TARGET)
+GENFILES = $(TARGET)
 OBJS = $(COBJS:.c=.o)
 
 $(TARGET): $(OBJS) $(LIBKERNTARGET)