DPDK build should avoid using uname -m
Bug #1551796 reported by
Christian Ehrhardt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dpdk (Ubuntu) |
Fix Released
|
Low
|
Christian Ehrhardt |
Bug Description
I was made aware (thanks Ferseiti on IRC) that our d/rules file should not use uname -m.
It was suggested to use DEB_BUILD_ARCH
Changed in dpdk (Ubuntu): | |
status: | Triaged → Fix Committed |
To post a comment you must log in.
I looked into it and while DEB_BUILD_ARCH doesn't match uname -m the usage of something like the following should be appropriate.
DEB_HOST_GNU_CPU := $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
... $(DEB_HOST_GNU_CPU)
I'm currently wrapping up several fixes where I can integrate this minor patch (not worth an upload on its own)