Commit dda005e1 authored by Federico Vaga's avatar Federico Vaga

Makefile: use EXTRACFLAGS in order to use user's flags

The main reason to introduce this EXTRACFLAGS variable is to allow people
to cross compile on x86 architectures over 32bits and 64bits

    make EXTRACFLAGS="-m32"
    make EXTRACFLAGS="-m64"
Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
Acked-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent f79fdc6c
CFLAGS = -ggdb -Wall -I../kernel
CFLAGS = -ggdb -Wall -I../kernel $(EXTRACFLAGS)
LDFLAGS = -L. -lspec
LIB = libspec.a
......
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