opkg

statically linked package installer
git clone anongit@rnpnr.xyz:opkg.git
Log | Files | Refs | Feed | Submodules | README | LICENSE

header.sed (377B)


      1 # scripts/headers_install.sh
      2 s/([[:space:](])(__user|__force|__iomem)[[:space:]]/\1/g
      3 s/__attribute_const__([[:space:]]|$)/\1/g
      4 s@^#include <linux/compiler(_types)?.h>@@
      5 s/(^|[^a-zA-Z0-9])__packed([^a-zA-Z0-9_]|$)/\1__attribute__((packed))\2/g
      6 s/(^|[[:space:](])(inline|asm|volatile)([[:space:](]|$)/\1__\2__\3/g
      7 s@#(ifndef|define|endif[[:space:]]*/[*])[[:space:]]*_UAPI@#\1 @