Suppose assume i need to run makedevs command inside squashfs-tools Makefile. can i add /bin/sh makedevs command inside squashfs-tools makefile ?
Why not?
But you have to make sure that the needed tool for buildhost is built first.
You need to
- define the needed tool as a build dependency, and
- make sure that the tool compiles and installs the host executable. (so that it can be called from Makefile)
Probably something in style of https://github.com/openwrt/packages/blob/master/libs/libgee/Makefile
You could search the source repos for PKG_BUILD_DEPENDS (and HOST_BUILD_DEPENDS) for pointers.
2 Likes
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.