summaryrefslogtreecommitdiffstats
path: root/package/python-setproctitle/python-setproctitle.mk
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@smile.fr>2017-07-06 19:43:36 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-06 21:05:57 +0200
commit23a0f8808ea86612c9b2ce48b65fcf8c0701c04a (patch)
treec380ebe1362727a1f68fbde621a25add9e8899c1 /package/python-setproctitle/python-setproctitle.mk
parentd6a3175e83e58ce3359a43f283cb62e186f5453b (diff)
downloadbuildroot-23a0f8808ea86612c9b2ce48b65fcf8c0701c04a.tar.gz
buildroot-23a0f8808ea86612c9b2ce48b65fcf8c0701c04a.zip
package/linuxptp: set KBUILD_OUTPUT to STAGING_DIR
incdefs.sh try to define some flags with user_flags() and kernel_flags() functions. The later is looking at the kernel headers installed on the host when KBUILD_OUTPUT is not set. If no kernel headers are installed on the host, the grep fail and HAVE_ONESTEP_SYNC is not set on the command line: see: grep: /usr/include/linux/net_tstamp.h: No such file or directory So the missing.h define HWTSTAMP_TX_ONESTEP_SYNC which is also present in the kernel headers installed in STAGING_DIR (toolchain w/ headers >= 3.2). Indeed KBUILD_OUTPUT is empty because it's reset in the makefile, so move KBUILD_OUTPUT in the enviroment while calling "make"/ Also set KBUILD_OUTPUT to STAGING_DIR to find net_tstamp.h. While at it, use the same arguments for BUILD_CMDS and INSTALL_TARGET_CMDS. Thanks to Yann for the live review during the Buildroot summer camp. Fixes: http://autobuild.buildroot.net/results/364/36470db2c262d2e1fda5144a08cfe221831e093e Signed-off-by: Romain Naour <romain.naour@smile.fr> Cc: Petr Kulhavy <brain@jikos.cz> Cc: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python-setproctitle/python-setproctitle.mk')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud