diff options
author | Simon Glass <sjg@chromium.org> | 2018-11-23 21:29:30 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-12-05 06:01:34 -0700 |
commit | 40e9ede1dcd852a97d772b8d592e36195c5d8b80 (patch) | |
tree | 5a00b0910f47b10e2148a5b2403371c0a940ea86 /arch/sandbox/Makefile | |
parent | a65d1a06c9f76d3285948a059b861d7534589cfc (diff) | |
download | u-boot-40e9ede1dcd852a97d772b8d592e36195c5d8b80.zip u-boot-40e9ede1dcd852a97d772b8d592e36195c5d8b80.tar.gz u-boot-40e9ede1dcd852a97d772b8d592e36195c5d8b80.tar.bz2 |
sandbox: Use 'extras' to specify 'head' files
At present sandbox has a start.o in the 'start' target but also includes
it in the normal target list. This is not how this is normally handled. It
is needed because sandbox does not include the u-boot-init variable in its
link rule.
Update the rule and move start.o from the normal target list to the
'extras' list.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/Makefile')
-rw-r--r-- | arch/sandbox/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile index 2610794..f6cf859 100644 --- a/arch/sandbox/Makefile +++ b/arch/sandbox/Makefile @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0+ -head-y := arch/sandbox/cpu/start.o - +head-y := arch/sandbox/cpu/start.o arch/sandbox/cpu/os.o +head-$(CONFIG_SANDBOX_SDL) += arch/sandbox/cpu/sdl.o libs-y += arch/sandbox/cpu/ libs-y += arch/sandbox/lib/ |