fix megre
This commit is contained in:
commit
a75c30afbe
|
@ -1,49 +0,0 @@
|
||||||
DESCRIPTION = "config-app"
|
|
||||||
LICENSE = "MediaTekProprietary"
|
|
||||||
DEPENDS+="curl bluetooth openssl libev json-c alsa-lib"
|
|
||||||
APPS_SRC = "${TOPDIR}/../src/apps/aud-base/config_app"
|
|
||||||
|
|
||||||
inherit workonsrc systemd
|
|
||||||
|
|
||||||
WORKONSRC = "${APPS_SRC}"
|
|
||||||
|
|
||||||
SYSTEMD_PACKAGES = "${PN}"
|
|
||||||
SYSTEMD_SERVICE_${PN} = "config_app.service"
|
|
||||||
|
|
||||||
do_compile() {
|
|
||||||
echo "Print Env"
|
|
||||||
MULTI_CPU=-j7
|
|
||||||
echo ${TOPDIR}
|
|
||||||
echo ${COMBO_CHIP_ID}
|
|
||||||
echo ${MTK_PROJECT}
|
|
||||||
#cd ${S}/nvram_helper && make ${MULTI_CPU}
|
|
||||||
sh ${S}/copy_include.sh ${TOPDIR} ${COMBO_CHIP_ID} ${MTK_PROJECT}
|
|
||||||
echo ${S}
|
|
||||||
cd ${S}/AssistantCenter && make
|
|
||||||
cd ${S}/daemon_light && make ${MULTI_CPU}
|
|
||||||
echo "fffffff"
|
|
||||||
cd ${S} && make
|
|
||||||
#cd ${S}/nvram_helper && make ${MULTI_CPU}
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
install -d ${D}${bindir}
|
|
||||||
install -d ${D}${systemd_unitdir}/system
|
|
||||||
install -d ${D}/etc/config_app
|
|
||||||
install -d ${D}/data
|
|
||||||
install -d ${D}/data/dingdong
|
|
||||||
install -d ${D}/data/dingdong/etc
|
|
||||||
|
|
||||||
cp -a ${S}/data/etc/* ${D}/data/dingdong/etc/ #配置文件
|
|
||||||
cp -a ${S}/data/etc_ro/* ${D}/etc/config_app/
|
|
||||||
install -m 755 ${S}/AssistantCenter/dingdong-AssistantCenter ${D}${bindir}
|
|
||||||
install -m 755 ${S}/config_app ${D}${bindir}
|
|
||||||
install -m 755 ${S}/config_app.service ${D}${systemd_unitdir}/system
|
|
||||||
install -m 755 ${S}/daemon_light/daemon.bin ${D}${bindir}
|
|
||||||
}
|
|
||||||
|
|
||||||
FILES_${PN} += "/etc /data/dingdong"
|
|
||||||
FILES_${PN} += "${systemd_unitdir}/system/config_app.service"
|
|
||||||
INSANE_SKIP_${PN} += "already-stripped ldflags"
|
|
||||||
FILES_${PN}-dev = ""
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
DESCRIPTION = "mic-asp"
|
DESCRIPTION = "mic-asp"
|
||||||
LICENSE = "MediaTekProprietary"
|
LICENSE = "MediaTekProprietary"
|
||||||
|
DEPENDS = "alsa-lib"
|
||||||
APPS_SRC = "${TOPDIR}/../src/apps/aud-base/mic_asp"
|
APPS_SRC = "${TOPDIR}/../src/apps/aud-base/mic_asp"
|
||||||
|
|
||||||
inherit workonsrc systemd
|
inherit workonsrc systemd
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue