Rev 2299 | Rev 2339 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2299 | Rev 2322 | ||
---|---|---|---|
Line 25... | Line 25... | ||
25 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | # |
27 | # |
28 | 28 | ||
29 | include ../../../../version |
29 | include ../../../../version |
30 | include ../../../../Makefile.config |
30 | include ../../../Makefile.config |
31 | 31 | ||
32 | ## Toolchain configuration |
32 | ## Toolchain configuration |
33 | # |
33 | # |
34 | 34 | ||
35 | TARGET = arm-linux-gnu |
35 | TARGET = arm-linux-gnu |
Line 57... | Line 57... | ||
57 | 57 | ||
58 | ifdef TIMESTAMP |
58 | ifdef TIMESTAMP |
59 | CFLAGS += "-DTIMESTAMP=\"$(TIMESTAMP)\"" |
59 | CFLAGS += "-DTIMESTAMP=\"$(TIMESTAMP)\"" |
60 | endif |
60 | endif |
61 | 61 | ||
- | 62 | ifdef MACHINE |
|
- | 63 | CFLAGS += "-DMACHINE=$(MACHINE)" |
|
- | 64 | endif |
|
- | 65 | ||
62 | SOURCES = \ |
66 | SOURCES = \ |
63 | main.c \ |
67 | main.c \ |
64 | boot.S \ |
68 | boot.S \ |
65 | asm.S \ |
69 | asm.S \ |
66 | io.c \ |
- | |
67 | mm.c \ |
70 | mm.c \ |
68 | ../../../generic/printf.c \ |
71 | ../../../generic/printf.c \ |
69 | ../../../genarch/division.c |
72 | ../../../genarch/division.c |
70 | 73 | ||
- | 74 | ifeq ($(MACHINE), gxemul_testarm) |
|
- | 75 | SOURCES += print/gxemul.c |
|
- | 76 | endif |
|
- | 77 | ||
71 | 78 | ||
72 | COMPONENTS = \ |
79 | COMPONENTS = \ |
73 | $(KERNELDIR)/kernel.bin \ |
80 | $(KERNELDIR)/kernel.bin \ |
74 | $(USPACEDIR)/init/init |
81 | $(USPACEDIR)/init/init |
75 | # $(USPACEDIR)/ns/ns \ |
82 | # $(USPACEDIR)/ns/ns \ |