Add an option to provide extra environment variables for build
Bug #663156 reported by
Marcin Juszkiewicz
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xdeb (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: xdeb
Xdeb uses debuild to make a build. As a result it is impossible to cross build kernels with xdeb due to lack of CROSS_COMPILE variable during kernel build.
Solution would be adding option which would take list of environment variables which will be provided for debuild. Other option could be "--debuild-opts" which will take a list of extra arguments for debuild calls.
To post a comment you must log in.
You don't need to set CROSS_COMPILE to cross-build the kernel; the kernel rules have been fixed to set CROSS_COMPILE to the host triplet (unless it's already set). This might be a natty-only fix though.
I think we should avoid package-specific workaround as much as we can, and since kernel cross builds should be supported fine here, I'd rather we do not add this environment variable feature unless there is a strict need for it.