search for: kcflag

Displaying 13 results from an estimated 13 matches for "kcflag".

Did you mean: cflag
2020 Feb 06
2
[PATCH] tools/virtio: option to build an out of tree module
...o make it actually build or work, but tends to mostly work +#if the distro kernel is very close to upstream +#unsupported! this is a development tool only, don't use the +#resulting modules in production! +oot: + echo "UNSUPPORTED! Don't use the resulting modules in production!" + KCFLAGS="-I "`pwd`/../../drivers/vhost ${MAKE} -C /usr/src/kernels/$$(uname -r) M=`pwd`/vhost_test V=${V} + KCFLAGS="-I "`pwd`/../../drivers/vhost ${MAKE} -C /usr/src/kernels/$$(uname -r) M=`pwd`/../../drivers/vhost V=${V} CONFIG_VHOST_VSOCK=n + +.PHONY: all test mod clean vhost oot c...
2020 Feb 06
2
[PATCH] tools/virtio: option to build an out of tree module
...o make it actually build or work, but tends to mostly work +#if the distro kernel is very close to upstream +#unsupported! this is a development tool only, don't use the +#resulting modules in production! +oot: + echo "UNSUPPORTED! Don't use the resulting modules in production!" + KCFLAGS="-I "`pwd`/../../drivers/vhost ${MAKE} -C /usr/src/kernels/$$(uname -r) M=`pwd`/vhost_test V=${V} + KCFLAGS="-I "`pwd`/../../drivers/vhost ${MAKE} -C /usr/src/kernels/$$(uname -r) M=`pwd`/../../drivers/vhost V=${V} CONFIG_VHOST_VSOCK=n + +.PHONY: all test mod clean vhost oot c...
2020 Feb 07
0
[PATCH] tools/virtio: option to build an out of tree module
...rk, but tends to mostly work > +#if the distro kernel is very close to upstream > +#unsupported! this is a development tool only, don't use the > +#resulting modules in production! > +oot: > + echo "UNSUPPORTED! Don't use the resulting modules in production!" > + KCFLAGS="-I "`pwd`/../../drivers/vhost ${MAKE} -C /usr/src/kernels/$$(uname -r) M=`pwd`/vhost_test V=${V} > + KCFLAGS="-I "`pwd`/../../drivers/vhost ${MAKE} -C /usr/src/kernels/$$(uname -r) M=`pwd`/../../drivers/vhost V=${V} CONFIG_VHOST_VSOCK=n Any reason for disabling vsock here...
2020 Feb 07
1
[PATCH v2] tools/virtio: option to build an out of tree module
...e +#resulting modules in production! +OOT_KSRC=/lib/modules/$$(uname -r)/build +OOT_VHOST=`pwd`/../../drivers/vhost +#Everyone depends on vhost +#Tweak the below to enable more modules +OOT_CONFIGS=\ + CONFIG_VHOST=m \ + CONFIG_VHOST_NET=n \ + CONFIG_VHOST_SCSI=n \ + CONFIG_VHOST_VSOCK=n +OOT_BUILD=KCFLAGS="-I "${OOT_VHOST} ${MAKE} -C ${OOT_KSRC} V=${V} +oot-build: + echo "UNSUPPORTED! Don't use the resulting modules in production!" + ${OOT_BUILD} M=`pwd`/vhost_test + ${OOT_BUILD} M=${OOT_VHOST} ${OOT_CONFIGS} + +oot-clean: oot-build +oot: oot-build +oot-clean: OOT_BUILD+=cle...
2020 Apr 01
2
[PATCH] virtio/test: fix up after IOTLB changes
...b/tools/virtio/Makefile index f33f32f1d208..d3f152f4660b 100644 --- a/tools/virtio/Makefile +++ b/tools/virtio/Makefile @@ -22,7 +22,8 @@ OOT_CONFIGS=\ CONFIG_VHOST=m \ CONFIG_VHOST_NET=n \ CONFIG_VHOST_SCSI=n \ - CONFIG_VHOST_VSOCK=n + CONFIG_VHOST_VSOCK=n \ + CONFIG_VHOST_RING=n OOT_BUILD=KCFLAGS="-I "${OOT_VHOST} ${MAKE} -C ${OOT_KSRC} V=${V} oot-build: echo "UNSUPPORTED! Don't use the resulting modules in production!" -- MST
2020 Apr 01
2
[PATCH] virtio/test: fix up after IOTLB changes
...b/tools/virtio/Makefile index f33f32f1d208..d3f152f4660b 100644 --- a/tools/virtio/Makefile +++ b/tools/virtio/Makefile @@ -22,7 +22,8 @@ OOT_CONFIGS=\ CONFIG_VHOST=m \ CONFIG_VHOST_NET=n \ CONFIG_VHOST_SCSI=n \ - CONFIG_VHOST_VSOCK=n + CONFIG_VHOST_VSOCK=n \ + CONFIG_VHOST_RING=n OOT_BUILD=KCFLAGS="-I "${OOT_VHOST} ${MAKE} -C ${OOT_KSRC} V=${V} oot-build: echo "UNSUPPORTED! Don't use the resulting modules in production!" -- MST
2013 Jun 01
2
[LLVMdev] Compile Linux Kernel module into LLVM bitcode
...with clang as a front end. However, I am unable to get the "-emit-llvm" flag to work. I am using the typical Makefile system (kbuild) included with the kernel, as such: $ make V=1 CC=clang CFLAGS="-emit-llvm -c" drivers/gpu/drm/drm_drv.o I have tried setting KBUILD_CFLAGS or KCFLAGS instead of CFLAGS, but nothing I do gets it to work. Trying these few different variations gets me to the point where it doesn't actually use the "-emit-llvm" flag in the clang (previously gcc) commands that are shown with the verbose V=1 option. If the "-emit-llvm" flag...
2020 Apr 02
1
[PATCH] virtio/test: fix up after IOTLB changes
...gt; > +++ b/tools/virtio/Makefile > > @@ -22,7 +22,8 @@ OOT_CONFIGS=\ > > CONFIG_VHOST=m \ > > CONFIG_VHOST_NET=n \ > > CONFIG_VHOST_SCSI=n \ > > - CONFIG_VHOST_VSOCK=n > > + CONFIG_VHOST_VSOCK=n \ > > + CONFIG_VHOST_RING=n > > OOT_BUILD=KCFLAGS="-I "${OOT_VHOST} ${MAKE} -C ${OOT_KSRC} V=${V} > > oot-build: > > echo "UNSUPPORTED! Don't use the resulting modules in production!"
2013 Jun 01
0
[LLVMdev] Compile Linux Kernel module into LLVM bitcode
...end. However, I am unable to get the "-emit-llvm" flag to work. > > I am using the typical Makefile system (kbuild) included with the kernel, as such: > $ make V=1 CC=clang CFLAGS="-emit-llvm -c" drivers/gpu/drm/drm_drv.o > > I have tried setting KBUILD_CFLAGS or KCFLAGS instead of CFLAGS, but nothing I do gets it to work. Trying these few different variations gets me to the point where it doesn't actually use the "-emit-llvm" flag in the clang (previously gcc) commands that are shown with the verbose V=1 option. If the "-emit-llvm" flag...
2020 Apr 02
1
[PATCH v2] virtio/test: fix up after IOTLB changes
...x/kconfig.h vpath %.c ../../drivers/virtio ../../drivers/vhost mod: ${MAKE} -C `pwd`/../.. M=`pwd`/vhost_test V=${V} @@ -22,7 +22,8 @@ OOT_CONFIGS=\ CONFIG_VHOST=m \ CONFIG_VHOST_NET=n \ CONFIG_VHOST_SCSI=n \ - CONFIG_VHOST_VSOCK=n + CONFIG_VHOST_VSOCK=n \ + CONFIG_VHOST_RING=n OOT_BUILD=KCFLAGS="-I "${OOT_VHOST} ${MAKE} -C ${OOT_KSRC} V=${V} oot-build: echo "UNSUPPORTED! Don't use the resulting modules in production!" diff --git a/tools/virtio/generated/autoconf.h b/tools/virtio/generated/autoconf.h new file mode 100644 index 000000000000..e69de29bb2d1 -- MST
2013 Jun 08
1
[LLVMdev] Compile Linux Kernel module into LLVM bitcode
...to get the "-emit-llvm" flag to work. > > > > I am using the typical Makefile system (kbuild) included with the kernel, as such: > > $ make V=1 CC=clang CFLAGS="-emit-llvm -c" drivers/gpu/drm/drm_drv.o > > > > I have tried setting KBUILD_CFLAGS or KCFLAGS instead of CFLAGS, but nothing I do gets it to work. Trying these few different variations gets me to the point where it doesn't actually use the "-emit-llvm" flag in the clang (previously gcc) commands that are shown with the verbose V=1 option. If the "-emit-llvm" flag...
2020 Apr 02
0
[PATCH] virtio/test: fix up after IOTLB changes
...60b 100644 > --- a/tools/virtio/Makefile > +++ b/tools/virtio/Makefile > @@ -22,7 +22,8 @@ OOT_CONFIGS=\ > CONFIG_VHOST=m \ > CONFIG_VHOST_NET=n \ > CONFIG_VHOST_SCSI=n \ > - CONFIG_VHOST_VSOCK=n > + CONFIG_VHOST_VSOCK=n \ > + CONFIG_VHOST_RING=n > OOT_BUILD=KCFLAGS="-I "${OOT_VHOST} ${MAKE} -C ${OOT_KSRC} V=${V} > oot-build: > echo "UNSUPPORTED! Don't use the resulting modules in production!"
2020 Apr 03
0
[PATCH v3 1/2] virtio/test: fix up after IOTLB changes
...x/kconfig.h vpath %.c ../../drivers/virtio ../../drivers/vhost mod: ${MAKE} -C `pwd`/../.. M=`pwd`/vhost_test V=${V} @@ -22,7 +22,8 @@ OOT_CONFIGS=\ CONFIG_VHOST=m \ CONFIG_VHOST_NET=n \ CONFIG_VHOST_SCSI=n \ - CONFIG_VHOST_VSOCK=n + CONFIG_VHOST_VSOCK=n \ + CONFIG_VHOST_RING=n OOT_BUILD=KCFLAGS="-I "${OOT_VHOST} ${MAKE} -C ${OOT_KSRC} V=${V} oot-build: echo "UNSUPPORTED! Don't use the resulting modules in production!" diff --git a/tools/virtio/generated/autoconf.h b/tools/virtio/generated/autoconf.h new file mode 100644 index 000000000000..e69de29bb2d1 -- MST