I'm trying to add a custom package from a git depository in my buildroot environment. The package is build with omake and has a OMakeroot file at its root directory.
In buildroot environment, I can define a custom Makefile which is automatically called by BR and this one shall call omake command. The problem is that the directory containing this Makefile is not the same as the build directory. Buildroot gives the build path with the variable $(D)
.
If I'd use standard Makefile, the command would be like this:
$(MAKE) TARGET_CC=$(TARGET_CC) -C $(D) <= -C is used to change directory
What is the omake equivalent to this command?
something like this is not working:
omake TARGET_CC=$(TARGET_CC) $(D)/OMakeroot
or
cd $(D)
omake TARGET_CC=$(TARGET_CC)