Put Source Code To System - Advantech RSB-6410 User Manual

Nxp arm cortex-a9 i.mx6 dual/quad mini-itx motherboard
Table of Contents

Advertisement

4.
By menu, Device Drivers / Network device support, you can select device(s) you
want to build into your Linux kernel.
5.
Refer to section 4.4.1 to rebuild everything.
4.7.2

Put source code to system

1.
Put whole package directory to BSP's folder:
./android/packages/apps/
2.
Create a file, Android.mk, at package directory; the contents look like below:
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_PACKAGE_NAME := PROJECT_NAME_HERE
LOCAL_CERTIFICATE := platform
include $(BUILD_PACKAGE)
# Use the following include to make our test apk. include $(call all-makefiles-
under,$(LOCAL_PATH))
3.
Edit following file:
./android/device/Advantech/RSB-6410/device.mk
to insert correct project name:
PRODUCT_PACKAGES += \
PROJECT_NAME_HERE\
librxtxSerial\
SerialJ
\
\
53
RSB-6410 Android User Manual

Advertisement

Table of Contents
loading

Table of Contents