]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/bfin/configure.ac
sim: drop redundant SIM_AC_OPTION_WARNINGS
[thirdparty/binutils-gdb.git] / sim / bfin / configure.ac
CommitLineData
ef016f83 1dnl Process this file with autoconf to produce a configure script.
ef016f83 2AC_INIT(Makefile.in)
760b3e8b 3AC_CONFIG_MACRO_DIRS([../m4 ../.. ../../config])
ef016f83 4
6ffe910a 5SIM_AC_COMMON
ef016f83 6
1ac72f06 7SIM_AC_OPTION_ENDIAN(LITTLE)
ef016f83 8SIM_AC_OPTION_DEFAULT_MODEL(bf537)
9d903352 9SIM_AC_OPTION_HARDWARE(\
ef016f83
MF
10 bfin_cec \
11 bfin_ctimer \
12 bfin_dma \
13 bfin_dmac \
14 bfin_ebiu_amc \
15 bfin_ebiu_ddrc \
16 bfin_ebiu_sdc \
17 bfin_emac \
18 bfin_eppi \
19 bfin_evt \
b5215db0 20 bfin_gpio \
07c5891d 21 bfin_gpio2 \
ef016f83
MF
22 bfin_gptimer \
23 bfin_jtag \
24 bfin_mmu \
25 bfin_nfc \
26 bfin_otp \
c43aadca 27 bfin_pfmon \
050396e5 28 bfin_pint \
ef016f83
MF
29 bfin_pll \
30 bfin_ppi \
31 bfin_rtc \
32 bfin_sic \
33 bfin_spi \
34 bfin_trace \
35 bfin_twi \
36 bfin_uart \
37 bfin_uart2 \
38 bfin_wdog \
39 bfin_wp \
40 eth_phy \
41)
42
ef016f83
MF
43PKG_PROG_PKG_CONFIG
44PKG_CHECK_MODULES(SDL, sdl, [
45 AC_CHECK_LIB(dl, dlopen, [
46 SDL_CFLAGS="${SDL_CFLAGS} -DHAVE_SDL"
47 SDL_LIBS="-ldl"
48 ], [SDL_CFLAGS= SDL_LIBS=])
49 ], [:])
50AC_SUBST(SDL_CFLAGS)
51AC_SUBST(SDL_LIBS)
52
53SIM_AC_OUTPUT