I'm back to twiddling with the PRU code for the BeagleBone, and I'm
having issues with make and dependencies.  The PRU code gets assembled
properly when doing a clean build from scratch, but if I edit one of the
assembly source files and re-run make, nothing happens.

There's a Submakefile present in the src/hal/drivers/hal_pru_generic
directory that *looks* like it correctly lists all the *.p files (the
PRU assembly code) then adds them to USERSRCS, but obviously something
isn't working quite right.  And what is USERSRCS anyway...it's not
mentioned elsewhere in the Submakefile.

Crawling through the Submakefile, it appears that the %.bin and %.dbg
files (the generated object code for the PRU) only depend on the %.p
source file, and *NOT* on all the *.p files that get included in the
build.  There's a comment in the Submakefile about getting some
hand-holding from Jeff "on generating by mkdep.py and including this .d
file at the right moment".

Any advice on getting automatic dependency generation working for the
PRU code, or should I just manually make some Makefile rules to drop
into the Submakefile?

-- 
Charles Steinkuehler
[email protected]

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to