1# Makefile.powerpc -- with config changes. 2# Copyright 1990 W. Jolitz 3# from: @(#)Makefile.i386 7.1 5/10/91 |
4# $FreeBSD: head/sys/conf/Makefile.powerpc 277990 2015-01-31 19:16:51Z nwhitehorn $ |
5# 6# Makefile for FreeBSD 7# 8# This makefile is constructed from a machine description: 9# config machineid 10# Most changes should be made in the machine description 11# /sys/powerpc/conf/``machineid'' 12# after which you should do --- 19 unchanged lines hidden (view full) --- 32LDSCRIPT_NAME?= ldscript.${MACHINE_ARCH} 33 34.include "$S/conf/kern.pre.mk" 35 36INCLUDES+= -I$S/contrib/libfdt 37 38CFLAGS+= -msoft-float -Wa,-many 39 |
40.if ${MACHINE_ARCH} == "powerpc64" 41CFLAGS+= -fPIC 42LDFLAGS+= -pie 43.endif 44 |
45.if !empty(DDB_ENABLED) 46CFLAGS+= -fno-omit-frame-pointer 47.endif 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" |