-
Notifications
You must be signed in to change notification settings - Fork 4
/
Rules.make
executable file
·46 lines (31 loc) · 1.3 KB
/
Rules.make
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#platform
PLATFORM=am57xx-evm
#defconfig
DEFCONFIG=tisdk_am57xx-evm_defconfig
#Architecture
ARCH=armv7-a
#u-boot machine
UBOOT_MACHINE=am57xx_evm_config
#Points to the root of the TI SDK
export TI_SDK_PATH=/home/robe/ti-processor-sdk-linux-am57xx-evm-04.03.00.05
#root of the target file system for installing applications
DESTDIR=__DESTDIR__
#Points to the root of the Linux libraries and headers matching the
#demo file system.
export LINUX_DEVKIT_PATH=$(TI_SDK_PATH)/linux-devkit
#Cross compiler prefix
export CROSS_COMPILE=$(LINUX_DEVKIT_PATH)/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-
#Default CC value to be used when cross compiling. This is so that the
#GNU Make default of "cc" is not used to point to the host compiler
export CC=$(CROSS_COMPILE)gcc
#Location of environment-setup file
export ENV_SETUP=$(LINUX_DEVKIT_PATH)/environment-setup
#The directory that points to the SDK kernel source tree
LINUXKERNEL_INSTALL_DIR=$(TI_SDK_PATH)/board-support/linux-4.9.69+gitAUTOINC+9ce43c71ae-g9ce43c71ae
CFLAGS= -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard
#Strip modules when installing to conserve disk space
INSTALL_MOD_STRIP=1
SDK_PATH_TARGET=$(TI_SDK_PATH)/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/
# Set EXEC_DIR to install example binaries
EXEC_DIR=__EXEC_DIR__
MAKE_JOBS=2