4 # Copyright (C) 2017 Google, Inc
5 # Written by Simon Glass <sjg@chromium.org>
7 # SPDX-License-Identifier: GPL-2.0+
10 CFLAGS := -march=i386 -m32 -nostdlib -I ../../../include
12 LDS_UCODE := -T u_boot_ucode_ptr.lds
14 TARGETS = u_boot_ucode_ptr u_boot_no_ucode_ptr bss_data
18 u_boot_no_ucode_ptr: CFLAGS += $(LDS_UCODE)
19 u_boot_no_ucode_ptr: u_boot_no_ucode_ptr.c
21 u_boot_ucode_ptr: CFLAGS += $(LDS_UCODE)
22 u_boot_ucode_ptr: u_boot_ucode_ptr.c
24 bss_data: CFLAGS += bss_data.lds
31 @echo "Makefile for binman test programs"
33 @echo "Intended for use on x86 hosts"
37 @echo -e "\thelp - Print help (this is it!)"
38 @echo -e "\tall - Builds test programs (default targget)"
39 @echo -e "\tclean - Delete output files"