diff options
-rw-r--r-- | recipes-devtools/bcm2835/bcm2835_1.50.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-devtools/bcm2835/bcm2835_1.50.bb b/recipes-devtools/bcm2835/bcm2835_1.50.bb index 634dac8..9cf6f48 100644 --- a/recipes-devtools/bcm2835/bcm2835_1.50.bb +++ b/recipes-devtools/bcm2835/bcm2835_1.50.bb | |||
@@ -21,7 +21,7 @@ do_compile_append() { | |||
21 | # Now compiling the examples provided by the package | 21 | # Now compiling the examples provided by the package |
22 | mkdir -p ${B}/examples | 22 | mkdir -p ${B}/examples |
23 | for file in `ls ${S}/examples`; do | 23 | for file in `ls ${S}/examples`; do |
24 | ${CC} ${S}/examples/${file}/${file}.c -o ${B}/examples/${file} -Bstatic -L${B}/src -lbcm2835 -I${S}/src | 24 | ${CC} ${LDFLAGS} ${S}/examples/${file}/${file}.c -o ${B}/examples/${file} -Bstatic -L${B}/src -lbcm2835 -I${S}/src |
25 | done | 25 | done |
26 | } | 26 | } |
27 | 27 | ||