Lines Matching refs:linux
32 linux="$1"
35 if [ -z "$linux" ] || ! [ -d "$linux" ]; then
110 ARCHLIST=$(cd "$linux/arch" && echo *)
114 if ! [ -e "$linux/arch/$arch/include/asm/kvm.h" ] &&
115 ! [ -e "$linux/arch/$arch/include/uapi/asm/kvm.h" ] ; then
126 make -C "$linux" O="$blddir" INSTALL_HDR_PATH="$hdrdir" $arch_var=$arch headers_install
135 cat <<EOF >$output/linux-headers/asm-$arch/$header
173 cat <<EOF >$output/linux-headers/asm-$arch/kvm_para.h
206 if [ -L "$linux/source" ]; then
207 cp "$linux/source/COPYING" "$output/linux-headers"
209 cp "$linux/COPYING" "$output/linux-headers"
217 if [ -d "$linux/LICENSES" ]; then
222 cp "$linux/LICENSES/$l" "$output/linux-headers/LICENSES/$l"
226 cat <<EOF >$output/linux-headers/linux/kvm_para.h
230 cat <<EOF >$output/linux-headers/linux/virtio_config.h
233 cat <<EOF >$output/linux-headers/linux/virtio_ring.h
236 cat <<EOF >$output/linux-headers/linux/vhost_types.h
242 for i in "$hdrdir"/include/linux/*virtio*.h \
264 cat <<EOF >$output/include/standard-headers/linux/types.h
269 cat <<EOF >$output/include/standard-headers/linux/if_ether.h