Kyösti Mälkki | 08311f5 | 2016-04-19 07:17:59 +0300 | [diff] [blame] | 1 | #***************************************************************************** |
| 2 | # |
Kyösti Mälkki | 08311f5 | 2016-04-19 07:17:59 +0300 | [diff] [blame] | 3 | # 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 Lemenkov | 7bbe3bb | 2018-12-07 11:23:21 +0100 | [diff] [blame] | 10 | # * 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älkki | 08311f5 | 2016-04-19 07:17:59 +0300 | [diff] [blame] | 12 | # 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älkki | 062ef1c | 2016-04-19 15:18:02 +0300 | [diff] [blame] | 27 | romstage-y += agesa-entry.c |
| 28 | ramstage-y += agesa-entry.c |
| 29 | |
Kyösti Mälkki | c6918f9 | 2018-06-11 08:52:22 +0300 | [diff] [blame] | 30 | libagesa-y += debug_util.c |
Kyösti Mälkki | 08311f5 | 2016-04-19 07:17:59 +0300 | [diff] [blame] | 31 | libagesa-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 |