bb.org-overlays icon indicating copy to clipboard operation
bb.org-overlays copied to clipboard

Distribute the headers in the Debian package

Open ao2 opened this issue 6 years ago • 0 comments

Hi,

this is a request for the debian package bb-cape-overlays, I apologize if it's a little off-topic but I didn't know where else to report it.

Could you please make the debian package install the include files in include/dt-bindings/ into a system path like /usr/include/ ?

Even having that in a separate bb-cape-overlays-dev package would be OK.

The constant defined by bb.org-overlays are quite useful when writing custom devicetree overlays, and in order to use them in my own overlays I am doing something like this in the Makefile at the moment:

INCLUDE_PATH = /home/debian/bb.org-overlays/include
...

%.dtbo: %.dts
        cpp -nostdinc -undef -D__DTS__ -I$(INCLUDE_PATH) -x assembler-with-cpp -o $<.tmp $<
        dtc -Wno-unit_address_vs_reg -O dtb -o $@ -b 0 -@ $<.tmp

If the header files were available globally I'd be able to remove the explicit path and the related -I option in the preprocessor call.

Thanks, Antonio

ao2 avatar Jul 12 '18 10:07 ao2