-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
33 lines (29 loc) · 859 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
##################################################################
#
# Choose the Target
#
# * Emulation on IA32/Linux
# * smdk2440 board (ARM)
# * ...
#
##################################################################
#export HAL := smdk2440
export HAL := linux
##################################################################
#
# Kernel Build
#
##################################################################
export TOP_DIR := $(shell pwd)
export MAKERULE := $(TOP_DIR)/rules.make
export HPATH := $(TOP_DIR)
include $(TOP_DIR)/hal/$(HAL)/Makefile
export CC := $(GCC_PREFIX)gcc
export LD := $(GCC_PREFIX)ld
all: prepare eos
prepare:
@echo ----------------------------------------------------
@echo Building EOS - embedded Operating System
@echo ----------------------------------------------------
rm -f hal/current
ln -sf $(HAL) hal/current