Lines 16-22
Link Here
|
16 |
LICENSE="Intel" |
16 |
LICENSE="Intel" |
17 |
SLOT="2" |
17 |
SLOT="2" |
18 |
KEYWORDS="~x86 ~amd64" |
18 |
KEYWORDS="~x86 ~amd64" |
19 |
IUSE="doc" |
19 |
IUSE="doc javacomm" |
20 |
DEPEND=">=dev-tinyos/tinyos-tools-1.2.3 |
20 |
DEPEND=">=dev-tinyos/tinyos-tools-1.2.3 |
21 |
>=dev-tinyos/tos-${PV} |
21 |
>=dev-tinyos/tos-${PV} |
22 |
dev-tinyos/eselect-tinyos" |
22 |
dev-tinyos/eselect-tinyos" |
Lines 47-52
Link Here
|
47 |
einfo " java makefile clean target " |
47 |
einfo " java makefile clean target " |
48 |
epatch ${FILESDIR}/message_Makefile_clean-mig-target.patch |
48 |
epatch ${FILESDIR}/message_Makefile_clean-mig-target.patch |
49 |
|
49 |
|
|
|
50 |
# replace the TOSComm Serial implementation with JavaComm-based code |
51 |
if use javacomm; then |
52 |
einfo "Using JavaComm-based serial communication instead of TOSComm." |
53 |
cp -f ${FILESDIR}/SerialByteSource-JavaComm.java \ |
54 |
${S}/support/sdk/java/net/tinyos/packet/SerialByteSource.java |
55 |
fi |
50 |
} |
56 |
} |
51 |
|
57 |
|
52 |
src_compile() { |
58 |
src_compile() { |