annotate boards/boards.mk @ 415:c2163079c392

Allow to skip kernel toolchain build.
author Aleksandr Rybalko <ray@ddteam.net>
date Thu, 13 Sep 2012 23:29:54 +0300
parents f3bf18ca59a1
children c46079649662
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
e95e41e96364 basic Makefiles for devices profiles
ray
parents:
diff changeset
1 TARGET_DEVICE?="NONE"
138
ray@terran.dlink.ua
parents: 95
diff changeset
2 TARGET_VENDOR?="NONE"
1
e95e41e96364 basic Makefiles for devices profiles
ray
parents:
diff changeset
3
91
fef55b0f6b99 many parts
ray@terran.dlink.ua
parents: 11
diff changeset
4 .if !empty(TARGET_PAIR)
fef55b0f6b99 many parts
ray@terran.dlink.ua
parents: 11
diff changeset
5 TARGET_VENDOR=${TARGET_PAIR:C/\/.*//}
fef55b0f6b99 many parts
ray@terran.dlink.ua
parents: 11
diff changeset
6 TARGET_DEVICE=${TARGET_PAIR:C/.*\///}
fef55b0f6b99 many parts
ray@terran.dlink.ua
parents: 11
diff changeset
7 .endif
fef55b0f6b99 many parts
ray@terran.dlink.ua
parents: 11
diff changeset
8
2
4a1341512ca8 Add SoC layout, soc.mk set defaults for SoC used in board
ray@terran.dlink.ua
parents: 1
diff changeset
9 .if exists(${ZROUTER_ROOT}/boards/${TARGET_VENDOR}/) && exists(${ZROUTER_ROOT}/boards/${TARGET_VENDOR}/${TARGET_DEVICE}/)
11
fd1f3cd8c153 savepoint, kernel config, cleandep, dep - DONE
ray
parents: 2
diff changeset
10 TARGET_BOARDDIR= ${ZROUTER_ROOT}/boards/${TARGET_VENDOR}/${TARGET_DEVICE}
fd1f3cd8c153 savepoint, kernel config, cleandep, dep - DONE
ray
parents: 2
diff changeset
11 .include "${TARGET_BOARDDIR}/board.mk"
95
91ceb933eeff ADAPTATION rc.d script example
ray@terran.dlink.ua
parents: 91
diff changeset
12
91ceb933eeff ADAPTATION rc.d script example
ray@terran.dlink.ua
parents: 91
diff changeset
13 .if exists(${TARGET_BOARDDIR}/files)
91ceb933eeff ADAPTATION rc.d script example
ray@terran.dlink.ua
parents: 91
diff changeset
14 ROOTFS_COPY_DIRS+=${TARGET_BOARDDIR}/files
91ceb933eeff ADAPTATION rc.d script example
ray@terran.dlink.ua
parents: 91
diff changeset
15 .endif
91ceb933eeff ADAPTATION rc.d script example
ray@terran.dlink.ua
parents: 91
diff changeset
16
274
ddbcd130690b define BOARD_FIRMWARE_SIGNATURE_FILE, will hold filename containg signature for firmware image
ray@terran.dlink.ua
parents: 201
diff changeset
17 .if exists(${TARGET_BOARDDIR}/board_firmware.sig)
ddbcd130690b define BOARD_FIRMWARE_SIGNATURE_FILE, will hold filename containg signature for firmware image
ray@terran.dlink.ua
parents: 201
diff changeset
18 BOARD_FIRMWARE_SIGNATURE_FILE=${TARGET_BOARDDIR}/board_firmware.sig
ddbcd130690b define BOARD_FIRMWARE_SIGNATURE_FILE, will hold filename containg signature for firmware image
ray@terran.dlink.ua
parents: 201
diff changeset
19 .endif
ddbcd130690b define BOARD_FIRMWARE_SIGNATURE_FILE, will hold filename containg signature for firmware image
ray@terran.dlink.ua
parents: 201
diff changeset
20
1
e95e41e96364 basic Makefiles for devices profiles
ray
parents:
diff changeset
21 .endif
e95e41e96364 basic Makefiles for devices profiles
ray
parents:
diff changeset
22