[Kernel-packages] [Bug 1564208] [NEW] fix for linux_tools when cross-compiling

2016-03-30 Thread David Leonard
Public bug reported: When cross-compiling with do_tools, dh_shlibdeps needs to be told to look in /usr//lib otherwise it will fail the build. I am cross-building in ubuntu-xenial.git (master) on x86_64 for an armhf target: archtriple=arm-linux-gnueabihf flavour=generic

[Kernel-packages] [Bug 1564206] [NEW] fix for do_tools_cpupower when cross-compiling

2016-03-30 Thread David Leonard
Public bug reported: cpupower's Makefile uses ${CROSS} instead of ${CROSS_COMPILE} The problem is that debian/rules.d/2-binary-arch.mk needs to set CROSS instead of CROSS_COMPILE, like so: make -C $(builddirpa)/tools/power/cpupower \ CROSS=$(CROSS_COMPILE) \