diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-03-10 20:28:15 +0900 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-03-11 16:11:39 +0100 |
commit | 4d0575449add551a9f48a8913a7f9f9815faefd2 (patch) | |
tree | 4d0387775a259820d6ad7f741cf0ca6a39c46356 /arch/sandbox | |
parent | 739a49a9738280736698f0e15169e0be14cac77a (diff) | |
download | barebox-4d0575449add551a9f48a8913a7f9f9815faefd2.tar.gz barebox-4d0575449add551a9f48a8913a7f9f9815faefd2.tar.xz |
kbuild: rename barebox-{common, lds} to BAREBOX_{OBJS, LDS}
The previous commit renamed barebox-pbl-common because you cannot
export a variable that contain hyphens.
These variables are not exported for now. I am just renaming them for
consistency.
barebox-common -> BAREBOX_OBJS
barebox-lds -> BAREBOX_LDS
If barebox moves the link rules into scripts/link-barebox.sh like
Linux did, these two must be exported anyway.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/sandbox')
-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 b127560a2b..b7470c3330 100644 --- a/arch/sandbox/Makefile +++ b/arch/sandbox/Makefile @@ -56,8 +56,8 @@ ifeq ($(CONFIG_UBSAN),y) SANITIZER_LIBS += -fsanitize=undefined endif -cmd_barebox__ = $(CC) -o $@ -Wl,-T,$(barebox-lds) \ - -Wl,--start-group $(barebox-common) -Wl,--end-group \ +cmd_barebox__ = $(CC) -o $@ -Wl,-T,$(BAREBOX_LDS) \ + -Wl,--start-group $(BAREBOX_OBJS) -Wl,--end-group \ -lrt -lpthread $(SDL_LIBS) $(FTDI1_LIBS) \ $(SANITIZER_LIBS) |