blob: a7ddc7f04a87b82b45011b470ec1885b0da7d11f [file] [log] [blame]
Kyösti Mälkki08311f52016-04-19 07:17:59 +03001#*****************************************************************************
2#
Kyösti Mälkki08311f52016-04-19 07:17:59 +03003# Redistribution and use in source and binary forms, with or without
4# modification, are permitted provided that the following conditions are met:
5# * Redistributions of source code must retain the above copyright
6# notice, this list of conditions and the following disclaimer.
7# * Redistributions in binary form must reproduce the above copyright
8# notice, this list of conditions and the following disclaimer in the
9# documentation and/or other materials provided with the distribution.
Peter Lemenkov7bbe3bb2018-12-07 11:23:21 +010010# * Neither the name of Advanced Micro Devices, Inc. nor the names of
11# its contributors may be used to endorse or promote products derived
Kyösti Mälkki08311f52016-04-19 07:17:59 +030012# from this software without specific prior written permission.
13#
14# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
15# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17# DISCLAIMED. IN NO EVENT SHALL ADVANCED MICRO DEVICES, INC. BE LIABLE FOR ANY
18# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
19# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
20# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
21# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
23# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24#
25#*****************************************************************************
26
Kyösti Mälkki062ef1c2016-04-19 15:18:02 +030027romstage-y += agesa-entry.c
28ramstage-y += agesa-entry.c
29
Kyösti Mälkkic6918f92018-06-11 08:52:22 +030030libagesa-y += debug_util.c
Kyösti Mälkki08311f52016-04-19 07:17:59 +030031libagesa-y += amdlib.c
32
33# Do not optimise performance-critical low-level IO for size with -Os,
34# request -O2 with -falign-functions.
35
36$(obj)/libagesa/vendorcode/amd/agesa/common/amdlib.o: CFLAGS_libagesa += -O2