Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Distribute the headers in the Debian package #26

Open
ao2 opened this issue Jul 12, 2018 · 0 comments
Open

Distribute the headers in the Debian package #26

ao2 opened this issue Jul 12, 2018 · 0 comments

Comments

@ao2
Copy link

ao2 commented Jul 12, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant