From 0c84970adf574b6ec2b71775b1705eb6b14da571 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 24 Jun 2014 18:39:23 +0100 Subject: [PATCH] Makefile: break out LDSCRIPT variable We are going to want to use this value separately in the next commit. Signed-off-by: Ian Jackson --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f093f59..d802004 100644 --- a/Makefile +++ b/Makefile @@ -47,7 +47,8 @@ LDLIBS = -Lrump/lib ${LDLIBS_FS} -lpthread -lc APP_LDLIBS := LDARCHLIB := -L$(OBJ_DIR)/xen/$(TARGET_ARCH_DIR) -l$(ARCH_LIB_NAME) -LDFLAGS_FINAL := -T xen/$(TARGET_ARCH_DIR)/minios-$(XEN_TARGET_ARCH).lds +LDSCRIPT := xen/$(TARGET_ARCH_DIR)/minios-$(XEN_TARGET_ARCH).lds +LDFLAGS_FINAL := -T $(LDSCRIPT) # Prefix for global API names. All other symbols are localised before # linking with EXTRA_OBJS. -- 2.39.5