in wrlinux 8, linux-windriver.inc (and linux-windriver_4.1.bbappend) uses -a instead of -e to check for file existence. This causes issues when /bin/sh points to dash instead of bash (Ubuntu hosts) The results: - No errors are generated - In the log "[: -a: unexpected operator" - No headers are copied
-a with -e in the .inc file, solves the issue.
1 configure a wrl8, rcpl3 project based on a intel-x86-64 BSP, standard kernel, glibc_std 2. make sure that the active shell on the development host is dash 3. use a linux-windriver-custom.bbappend file in which use: KERNEL_INSTALL_HEADER += "myheader.h" <- make sure this points to a valid header file that oculd contain anything 4. run make bbs 5. bitbake -f -v -c install_kernel_headers virtual/kernel