aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorGabriel L. Somlo <gsomlo@gmail.com>2019-06-11 10:46:49 -0400
committerGabriel L. Somlo <gsomlo@gmail.com>2019-06-11 10:55:53 -0400
commitff71b88278db63ff22b7f39d38bd952dea34f2a1 (patch)
tree76d47a8160f3d22bf2a69dd510b41b24a2dbb0fc /Makefile.in
parent9c20a7744f7ad070094af0c1c29346fcfec50829 (diff)
downloadpk-ff71b88278db63ff22b7f39d38bd952dea34f2a1.zip
pk-ff71b88278db63ff22b7f39d38bd952dea34f2a1.tar.gz
pk-ff71b88278db63ff22b7f39d38bd952dea34f2a1.tar.bz2
configure: Add option to set physical memory start address
For systems where physical memory is mapped to a start address different from 0x80000000, allow the default to be overridden using the --with-mem-start argument to the configure script. Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 376670d..0cdf013 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -278,7 +278,7 @@ $$($(2)_install_prog_objs) : %.o : %.c
$(COMPILE) -c $$<
$$($(2)_install_prog_exes) : % : %.o $$($(2)_prog_libnames)
- $(LINK) -o $$@ $$< $$($(2)_prog_libarg) $(LIBS) -T $(src_dir)/$(2)/$(2).lds
+ $(LINK) -o $$@ $$< $$($(2)_prog_libarg) $(LIBS) -Wl,--defsym=MEM_START=@MEM_START@,-T,$(src_dir)/$(2)/$(2).lds
$(2)_c_deps += $$($(2)_install_prog_deps)
$(2)_junk += \