Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add comment about primitive ordering and linkers.

  • Loading branch information...
commit 1921a3379717bb7b251d8b02529ff9199f9aa5c1 1 parent 5f6b20f
@stamourv authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  vm/Makefile
2  vm/Makefile
@@ -83,6 +83,8 @@ CROSS := $(call unquote,$(CONFIG_CROSS_COMPILER))
CFLAGS := -Iinclude/ -DPICOBIT -Wall -Werror -Os
arch = arch/$(call unquote,$(CONFIG_ARCH))
+# Some linkers may have trouble with this order. Put arch first if
+# your linker cannot use linker scripts or is limited in other ways.
obj-y = $(addprefix core/,$(core-y)) \
$(addprefix $(arch)/,$(arch-y))
scm-y = $(addprefix $(arch)/,$(stdlib-y))
Please sign in to comment.
Something went wrong with that request. Please try again.