mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
376 B

  1. if [ "$ROCKCFG_KERNEL_UMLPATCH" == '1' ] ; then
  2. # fix for the arch/um/kernel/ksyms.c:90:
  3. # redefinition of `__kstrtab_os_ioctl_generic'
  4. hook_add postpatch 3 \
  5. "sed -e 's,\(EXPORT_SYMBOL(os_ioctl_generic);\),// \1,1' -i arch/um/kernel/ksyms.c"
  6. fi
  7. echo_status "Building UML kernel for $xpkg ($ver)."
  8. export arch_machine="um"
  9. var_insert makeopt " " "ARCH=um"
  10. fi