Skip to content

Conversation

@obbardc
Copy link
Contributor

@obbardc obbardc commented Feb 4, 2025

Small fixes for two errors:

  • call wrong dependency
  • allow VERSION to be passed into Makefile

See commit messages for details.

cc @ndechesne @andersson @quic-bjorande

Currently the build fails when parallelised with:

  make[1]: *** No rule to make target 'version.h', needed by 'util.o'.  Stop.

Fix the name of the Makefile dependency to fix the build error.

Fixes: linux-msm#91
Closes: linux-msm#92
Signed-off-by: Christopher Obbard <[email protected]>
The variable name VERSION is more descriptive of the code than GITREF.
Use VERSION instead.

Signed-off-by: Christopher Obbard <[email protected]>
In some environments where git isn't present (e.g. in Debian pbuilder),
building qdl fails due. Fix the order such that we check if VERSION is
provided first & use that, only if VERSION is not provided then call
git directly to get the version.

Signed-off-by: Christopher Obbard <[email protected]>
@Henry-ZHR
Copy link
Contributor

LGTM

@andersson andersson merged commit cfdb938 into linux-msm:master Feb 7, 2025
6 checks passed
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

Successfully merging this pull request may close these issues.

3 participants