1# Makefile.amd64 -- with config changes. 2# Copyright 1990 W. Jolitz 3# from: @(#)Makefile.i386 7.1 5/10/91 4# from FreeBSD: src/sys/conf/Makefile.i386,v 1.255 2002/02/20 23:35:49
| 1# Makefile.amd64 -- with config changes. 2# Copyright 1990 W. Jolitz 3# from: @(#)Makefile.i386 7.1 5/10/91 4# from FreeBSD: src/sys/conf/Makefile.i386,v 1.255 2002/02/20 23:35:49
|
5# $FreeBSD: head/sys/conf/Makefile.amd64 240402 2012-09-12 14:19:40Z obrien $
| 5# $FreeBSD: head/sys/conf/Makefile.amd64 250840 2013-05-21 03:05:49Z marcel $
|
6# 7# Makefile for FreeBSD 8# 9# This makefile is constructed from a machine description: 10# config machineid 11# Most changes should be made in the machine description 12# /sys/amd64/conf/``machineid'' 13# after which you should do 14# config machineid 15# Generic makefile changes should be made in 16# /sys/conf/Makefile.amd64 17# after which config should be rerun for all machines. 18# 19 20# Which version of config(8) is required. 21%VERSREQ= 600004 22 23STD8X16FONT?= iso 24 25.if !defined(S) 26.if exists(./@/.) 27S= ./@ 28.else 29S= ../../.. 30.endif 31.endif 32.include "$S/conf/kern.pre.mk" 33
| 6# 7# Makefile for FreeBSD 8# 9# This makefile is constructed from a machine description: 10# config machineid 11# Most changes should be made in the machine description 12# /sys/amd64/conf/``machineid'' 13# after which you should do 14# config machineid 15# Generic makefile changes should be made in 16# /sys/conf/Makefile.amd64 17# after which config should be rerun for all machines. 18# 19 20# Which version of config(8) is required. 21%VERSREQ= 600004 22 23STD8X16FONT?= iso 24 25.if !defined(S) 26.if exists(./@/.) 27S= ./@ 28.else 29S= ../../.. 30.endif 31.endif 32.include "$S/conf/kern.pre.mk" 33
|
| 34INCLUDES+= -I$S/contrib/libfdt 35
|
34.if !empty(DDB_ENABLED) || !empty(DTR_ENABLED) || !empty(HWPMC_ENABLED) 35CFLAGS+= -fno-omit-frame-pointer 36.endif 37 38MKMODULESENV+= MACHINE=amd64 39 40# XXX: clang integrated-as doesn't grok .codeNN directives yet 41ASM_CFLAGS.acpi_wakecode.S= ${CLANG_NO_IAS} 42ASM_CFLAGS.ia32_sigtramp.S= ${CLANG_NO_IAS} 43ASM_CFLAGS.linux32_locore.s= ${CLANG_NO_IAS} 44ASM_CFLAGS.mpboot.S= ${CLANG_NO_IAS} 45ASM_CFLAGS+= ${ASM_CFLAGS.${.IMPSRC:T}} 46 47%BEFORE_DEPEND 48 49%OBJS 50 51%FILES.c 52 53%FILES.s 54 55%FILES.m 56 57%CLEAN 58 59%RULES 60 61.include "$S/conf/kern.post.mk"
| 36.if !empty(DDB_ENABLED) || !empty(DTR_ENABLED) || !empty(HWPMC_ENABLED) 37CFLAGS+= -fno-omit-frame-pointer 38.endif 39 40MKMODULESENV+= MACHINE=amd64 41 42# XXX: clang integrated-as doesn't grok .codeNN directives yet 43ASM_CFLAGS.acpi_wakecode.S= ${CLANG_NO_IAS} 44ASM_CFLAGS.ia32_sigtramp.S= ${CLANG_NO_IAS} 45ASM_CFLAGS.linux32_locore.s= ${CLANG_NO_IAS} 46ASM_CFLAGS.mpboot.S= ${CLANG_NO_IAS} 47ASM_CFLAGS+= ${ASM_CFLAGS.${.IMPSRC:T}} 48 49%BEFORE_DEPEND 50 51%OBJS 52 53%FILES.c 54 55%FILES.s 56 57%FILES.m 58 59%CLEAN 60 61%RULES 62 63.include "$S/conf/kern.post.mk"
|