git: cc120: Use FLAGS.gcc.o to clean up drivers' Makefiles
Aaron LI
aly at crater.dragonflybsd.org
Tue Nov 17 00:32:08 PST 2026
commit cf2120eeddce6d636772e0190d3a7b33d8ecf4d1
Author: Aaron LI <aly at aaronly.me>
Date: Sun Nov 15 20:39:20 2026 +0800
cc120: Use FLAGS.gcc.o to clean up drivers' Makefiles
The macros defined in CFLAGS are only required by gcc.cc, so define them
in CFLAGS.gcc.o and move to drivers/Makefile.inc, and thus clean up the
makefiles of each driver.
While there, remove the unused "Makefile.cco" include from c++/Makefile.
Summary of changes:
gnu/usr.bin/cc120/drivers/Makefile.inc | 5 +++++
gnu/usr.bin/cc120/drivers/c++/Makefile | 5 -----
gnu/usr.bin/cc120/drivers/cc/Makefile | 4 ----
gnu/usr.bin/cc120/drivers/cpp/Makefile | 4 ----
4 files changed, 5 insertions(+), 13 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cf2120eeddce6d636772e0190d3a7b33d8ecf4d1
--
DragonFly BSD source repository
More information about the Commits
mailing list