meta-digi-dey: Add LDFLAGS to do_compile override
This is to avoid the following QA error: ERROR: fbtest-1.0-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: '/usr/local/ssd/dey-2.2/workspace/ccimx6ulstarter/tmp/work/cortexa7hf-neon-dey-linux-gnueabi/fbtest/1.0-r0/packages-split/fbtest/usr/bin/fbtest' [ldflags] ERROR: fbtest-1.0-r0 do_package_qa: QA run found fatal errors. Please consider fixing them. ERROR: fbtest-1.0-r0 do_package_qa: Function failed: do_package_qa ERROR: Logfile of failure stored in: /usr/local/ssd/dey-2.2/workspace/ccimx6ulstarter/tmp/work/cortexa7hf-neon-dey-linux-gnueabi/fbtest/1.0-r0/temp/log.do_package_qa.6755 ERROR: Task (/usr/local/ssd/dey-2.2/sources/meta-digi/meta-digi-dey/recipes-digi/fbtest/fbtest.bb:do_package_qa) failed with exit code '1' Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commit is contained in:
parent
395f047493
commit
fd7239da8a
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2013 Digi International.
|
||||
# Copyright (C) 2013,2017 Digi International.
|
||||
|
||||
SUMMARY = "Digi's utilities library"
|
||||
SECTION = "libs"
|
||||
|
|
@ -22,11 +22,11 @@ SRC_URI = " \
|
|||
S = "${WORKDIR}"
|
||||
|
||||
do_compile() {
|
||||
${CC} -O2 -Wall -c -o log.o log.c
|
||||
${CC} -O2 -Wall -c -o cmdopt.o cmdopt.c
|
||||
${CC} -O2 -Wall -c -o mem.o mem.c
|
||||
${CC} -O2 -Wall -c -o crc32.o crc32.c
|
||||
${CC} -O2 -Wall -c -o platform.o platform.c
|
||||
${CC} -O2 -Wall ${LDFLAGS} -c -o log.o log.c
|
||||
${CC} -O2 -Wall ${LDFLAGS} -c -o cmdopt.o cmdopt.c
|
||||
${CC} -O2 -Wall ${LDFLAGS} -c -o mem.o mem.c
|
||||
${CC} -O2 -Wall ${LDFLAGS} -c -o crc32.o crc32.c
|
||||
${CC} -O2 -Wall ${LDFLAGS} -c -o platform.o platform.c
|
||||
${AR} -rcs libdigi.a log.o cmdopt.o mem.o crc32.o platform.o
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2013 Digi International.
|
||||
# Copyright (C) 2013,2017 Digi International.
|
||||
|
||||
SUMMARY = "Digi's update test utility"
|
||||
SECTION = "base"
|
||||
|
|
@ -17,7 +17,7 @@ GIT_SHA1 = "$(cd ${THISDIR} && git rev-parse --short HEAD)"
|
|||
S = "${WORKDIR}"
|
||||
|
||||
do_compile() {
|
||||
${CC} -O2 -Wall -DGIT_SHA1=\"${GIT_SHA1}\" update_flash.c -o update_flash -ldigi
|
||||
${CC} -O2 -Wall ${LDFLAGS} -DGIT_SHA1=\"${GIT_SHA1}\" update_flash.c -o update_flash -ldigi
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2013 Digi International.
|
||||
# Copyright (C) 2013,2017 Digi International.
|
||||
|
||||
SUMMARY = "DEY examples: ALSA API test application"
|
||||
SECTION = "examples"
|
||||
|
|
@ -12,7 +12,7 @@ SRC_URI = "file://alsa_test"
|
|||
S = "${WORKDIR}/alsa_test"
|
||||
|
||||
do_compile() {
|
||||
${CC} -O2 -Wall alsa_test.c -o alsa_test -lasound
|
||||
${CC} -O2 -Wall ${LDFLAGS} alsa_test.c -o alsa_test -lasound
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2013 Digi International.
|
||||
# Copyright (C) 2013,2017 Digi International.
|
||||
|
||||
SUMMARY = "DEY examples: application to transfer data over bluetooth"
|
||||
SECTION = "examples"
|
||||
|
|
@ -14,7 +14,7 @@ SRC_URI = "file://bt_test"
|
|||
S = "${WORKDIR}/bt_test"
|
||||
|
||||
do_compile() {
|
||||
${CC} -O2 -Wall bt_test.c -o bt_test -lbluetooth -pthread
|
||||
${CC} -O2 -Wall ${LDFLAGS} bt_test.c -o bt_test -lbluetooth -pthread
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2013 Digi International.
|
||||
# Copyright (C) 2013,2017 Digi International.
|
||||
|
||||
SUMMARY = "DEY examples: application to perform low level bluetooth"
|
||||
SECTION = "examples"
|
||||
|
|
@ -14,7 +14,7 @@ SRC_URI = "file://btconfig"
|
|||
S = "${WORKDIR}/btconfig"
|
||||
|
||||
do_compile() {
|
||||
${CC} -O2 -Wall btconfig.c -o btconfig -lbluetooth
|
||||
${CC} -O2 -Wall ${LDFLAGS} btconfig.c -o btconfig -lbluetooth
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2013 Digi International.
|
||||
# Copyright (C) 2013,2017 Digi International.
|
||||
|
||||
SUMMARY = "DEY examples: CAN bus test application"
|
||||
SECTION = "examples"
|
||||
|
|
@ -10,7 +10,7 @@ SRC_URI = "file://can_test"
|
|||
S = "${WORKDIR}/can_test"
|
||||
|
||||
do_compile() {
|
||||
${CC} -O2 -Wall can_test.c -o can_test -pthread
|
||||
${CC} -O2 -Wall ${LDFLAGS} can_test.c -o can_test -pthread
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2013 Digi International.
|
||||
# Copyright (C) 2013,2017 Digi International.
|
||||
|
||||
SUMMARY = "DEY examples: GPIO sysfs API test application"
|
||||
SECTION = "examples"
|
||||
|
|
@ -10,7 +10,7 @@ SRC_URI = "file://gpio_sysfs_test"
|
|||
S = "${WORKDIR}/gpio_sysfs_test"
|
||||
|
||||
do_compile() {
|
||||
${CC} -O2 -Wall gpio_sysfs_test.c sysfsgpio.c -o gpio_sysfs_test
|
||||
${CC} -O2 -Wall ${LDFLAGS} gpio_sysfs_test.c sysfsgpio.c -o gpio_sysfs_test
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2013 Digi International.
|
||||
# Copyright (C) 2013,2017 Digi International.
|
||||
|
||||
SUMMARY = "DEY examples: RTC test application"
|
||||
SECTION = "examples"
|
||||
|
|
@ -10,7 +10,7 @@ SRC_URI = "file://rtc_test"
|
|||
S = "${WORKDIR}/rtc_test"
|
||||
|
||||
do_compile() {
|
||||
${CC} -O2 -Wall rtc_test.c -o rtc_test
|
||||
${CC} -O2 -Wall ${LDFLAGS} rtc_test.c -o rtc_test
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2013 Digi International.
|
||||
# Copyright (C) 2013,2017 Digi International.
|
||||
|
||||
SUMMARY = "DEY examples: SPI device driver test application"
|
||||
SECTION = "examples"
|
||||
|
|
@ -21,7 +21,7 @@ python do_warning_spidev_ccardimx28() {
|
|||
addtask warning_spidev before do_compile
|
||||
|
||||
do_compile() {
|
||||
${CC} -O2 -Wall spidev_test.c -o spidev_test
|
||||
${CC} -O2 -Wall ${LDFLAGS} spidev_test.c -o spidev_test
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2013 Digi International.
|
||||
# Copyright (C) 2013,2017 Digi International.
|
||||
|
||||
SUMMARY = "DEY examples: V4L2 test application"
|
||||
SECTION = "examples"
|
||||
|
|
@ -14,8 +14,8 @@ INCLUDE_PATH_ccimx6 = "-I${STAGING_KERNEL_DIR}/arch/arm/include -I${STAGING_KERN
|
|||
S = "${WORKDIR}/v4l2_test"
|
||||
|
||||
do_compile() {
|
||||
${CC} -O2 -Wall ${INCLUDE_PATH} v4l2_still.c -o v4l2_still -lpthread
|
||||
${CC} -O2 -Wall ${INCLUDE_PATH} v4l2_common.c v4l2_preview_test.c -o v4l2_preview_test -lpthread
|
||||
${CC} -O2 -Wall ${INCLUDE_PATH} ${LDFLAGS} v4l2_still.c -o v4l2_still -lpthread
|
||||
${CC} -O2 -Wall ${INCLUDE_PATH} ${LDFLAGS} v4l2_common.c v4l2_preview_test.c -o v4l2_preview_test -lpthread
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2013 Digi International.
|
||||
# Copyright (C) 2013,2017 Digi International.
|
||||
|
||||
SUMMARY = "DEY examples: OSS (open sound system) test application"
|
||||
SECTION = "examples"
|
||||
|
|
@ -10,7 +10,7 @@ SRC_URI = "file://vplay_test"
|
|||
S = "${WORKDIR}/vplay_test"
|
||||
|
||||
do_compile() {
|
||||
${CC} -O2 -Wall vplay.c -o vplay
|
||||
${CC} -O2 -Wall ${LDFLAGS} vplay.c -o vplay
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2013 Digi International.
|
||||
# Copyright (C) 2013,2017 Digi International.
|
||||
|
||||
SUMMARY = "DEY examples: watchdog test application"
|
||||
SECTION = "examples"
|
||||
|
|
@ -10,7 +10,7 @@ SRC_URI = "file://watchdog_test"
|
|||
S = "${WORKDIR}/watchdog_test"
|
||||
|
||||
do_compile() {
|
||||
${CC} -O2 -Wall watchdog_test.c -o watchdog_test
|
||||
${CC} -O2 -Wall ${LDFLAGS} watchdog_test.c -o watchdog_test
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2013 Digi International.
|
||||
# Copyright (C) 2013,2017 Digi International.
|
||||
|
||||
SUMMARY = "Digi's framebuffer test utility"
|
||||
SECTION = "base"
|
||||
|
|
@ -12,7 +12,7 @@ SRC_URI = "file://fbtest.c"
|
|||
S = "${WORKDIR}"
|
||||
|
||||
do_compile() {
|
||||
${CC} -O2 -Wall fbtest.c -o fbtest -lnano-X
|
||||
${CC} -O2 -Wall ${LDFLAGS} fbtest.c -o fbtest -lnano-X
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2013 Digi International.
|
||||
# Copyright (C) 2013,2017 Digi International.
|
||||
|
||||
SUMMARY = "Digi's memory access utility"
|
||||
SECTION = "base"
|
||||
|
|
@ -11,7 +11,7 @@ SRC_URI = "file://memwatch.c \
|
|||
S = "${WORKDIR}"
|
||||
|
||||
do_compile() {
|
||||
${CC} -O2 -Wall -o memwatch memwatch.c
|
||||
${CC} -O2 -Wall ${LDFLAGS} -o memwatch memwatch.c
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue