]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/bfin/configure.ac
sim: overhaul & unify endian settings management
[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
ef016f83 7SIM_AC_OPTION_DEFAULT_MODEL(bf537)
9d903352 8SIM_AC_OPTION_HARDWARE(\
ef016f83
MF
9 bfin_cec \
10 bfin_ctimer \
11 bfin_dma \
12 bfin_dmac \
13 bfin_ebiu_amc \
14 bfin_ebiu_ddrc \
15 bfin_ebiu_sdc \
16 bfin_emac \
17 bfin_eppi \
18 bfin_evt \
b5215db0 19 bfin_gpio \
07c5891d 20 bfin_gpio2 \
ef016f83
MF
21 bfin_gptimer \
22 bfin_jtag \
23 bfin_mmu \
24 bfin_nfc \
25 bfin_otp \
c43aadca 26 bfin_pfmon \
050396e5 27 bfin_pint \
ef016f83
MF
28 bfin_pll \
29 bfin_ppi \
30 bfin_rtc \
31 bfin_sic \
32 bfin_spi \
33 bfin_trace \
34 bfin_twi \
35 bfin_uart \
36 bfin_uart2 \
37 bfin_wdog \
38 bfin_wp \
39 eth_phy \
40)
41
ef016f83
MF
42PKG_PROG_PKG_CONFIG
43PKG_CHECK_MODULES(SDL, sdl, [
44 AC_CHECK_LIB(dl, dlopen, [
45 SDL_CFLAGS="${SDL_CFLAGS} -DHAVE_SDL"
46 SDL_LIBS="-ldl"
47 ], [SDL_CFLAGS= SDL_LIBS=])
48 ], [:])
49AC_SUBST(SDL_CFLAGS)
50AC_SUBST(SDL_LIBS)
51
52SIM_AC_OUTPUT