mirror of
https://github.com/opnsense/src.git
synced 2026-02-13 15:57:05 -05:00
has support for the .codeXX directives). However, it is desirable, for
a time, to allow kernels to be built with clang 3.4. Historically, it
has been advantageous to allow stable X-1 to build kernels the old
way (so long as the impact of doing so is small), and this restores
that ability.
Also, centralize the addition of ${ASM_CFLAGS.${.IMPSRC}}, place it in
kern.mk rather than kern.pre.mk so that all modules can benefit, and
give the same treatment to CFLAGS in kern.mk as well.
12 lines
181 B
Makefile
12 lines
181 B
Makefile
# $FreeBSD$
|
|
#
|
|
|
|
.PATH: ${.CURDIR}/../../../i386/bios
|
|
|
|
KMOD= smapi
|
|
SRCS= smapi.c smapi_bios.S \
|
|
bus_if.h device_if.h
|
|
|
|
.include <bsd.kmod.mk>
|
|
|
|
CFLAGS.smapi_bios.S= ${CLANG_NO_IAS34}
|