about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/m68k/Makefile
blob: be40fae68a28f753f22543503e835e294b850b3f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Linux/m68k uses Motorola asm syntax and the ELF format.

m68k-syntax-flag = -DMOTOROLA_SYNTAX

ifeq ($(subdir),csu)
sysdep_routines += m68k-helpers
ifeq (yes,$(build-shared))
sysdep_routines += divdi3
shared-only-routines += divdi3
CPPFLAGS-divdi3.c = -Din_divdi3_c
endif
endif

ifeq ($(subdir),misc)
sysdep_routines += mremap
sysdep_headers += sys/reg.h
endif

ifeq ($(subdir),elf)
sysdep-dl-routines += dl-static
sysdep-others += lddlibc4
install-bin += lddlibc4
endif