Commit 728fa03a authored by Federico Vaga's avatar Federico Vaga

tools: include specific Makefile

Sometimes (expecially in cross-compilation context) t is necessary to use
different environments. Instead of complicate this makefile, include
an external one with user code.

Create a local file named Makefile.specific, and write here your code.
Bear in mind that Makefile.specific will run before the Makefile.
Signed-off-by: Federico Vaga's avatarFederico Vaga <>
parent 5ae8bfe3
......@@ -9,3 +9,4 @@ wr-dio-pps
\ No newline at end of file
# If it exists includes Makefile.specific. In this Makefile, you should put
# specific Makefile code that you want to run before this. For example,
# build a particular environment.
-include Makefile.specific
CFLAGS = -ggdb -Wall -fPIC -I../kernel $(EXTRACFLAGS)
LDFLAGS = -L. -lspec
CFLAGS += -ggdb -Wall -fPIC -I../kernel $(EXTRACFLAGS)
LDFLAGS += -L. -lspec
LIB = libspec.a
LIBOBJ = speclib.o loader-ll.o
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment