Skip to content

AP1302 makefile path mismatch #21

@GoutamiNaragund

Description

@GoutamiNaragund

Im trying to clone meta_on_semiconductor branch : 2020.1

AP1302 .bb file calls

SRC_URI = "git://github.com/Avnet/ap1302-driver.git;protocol=https;branch=master"
and places in
S = "${WORKDIR}/git"

If I look at that git repo cloned , I see the folder structure as

Ap1302-driver
-- fw
-- kmod
-- Makefile

But when the makefile is fetched , it is looking for the Makefile in the main directory not in the kmod folder where the Makefile is present.

Then I get a error
ERROR: Task (/home/user/Avnet_2020/petalinux/projects/ultra96v2_dualcam_2020_1/project-spec/meta-on-semiconductor/recipes-modules/ap1302/ap1302.bb:do_compile) failed with exit code '1'
ERROR: ap1302-1.0-r0 do_compile: oe_runmake failed
ERROR: ap1302-1.0-r0 do_compile: Execution of '/home/user/Avnet_2020/petalinux/projects/ultra96v2_dualcam_2020_1/build/tmp/work/ultra96v2-xilinx-linux/ap1302/1.0-r0/temp/run.do_compile.21992' failed with exit code 1:
make: *** No targets specified and no makefile found. Stop.
WARNING: exit code 1 from a shell command.
ERROR: Logfile of failure stored in: /home/user/Avnet_2020/petalinux/projects/ultra96v2_dualcam_2020_1/build/tmp/work/ultra96v2-xilinx-linux/ap1302/1.0-r0/temp/log.do_compile.21992

Please help to solve the issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions