File: build_processor

package info (click to toggle)
alsa-driver 0.9%2B0beta12-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,524 kB
  • ctags: 29
  • sloc: sh: 982; makefile: 283
file content (7 lines) | stat: -rw-r--r-- 174 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
#!/bin/sh -e

iarch=`grep '#define CONFIG_M.86' "$1/include/linux/autoconf.h" | sed 's/.*CONFIG_M\(.86\).*/\1/'`

if [ -n "$iarch" ]; then
  echo --with-processor=i$iarch
fi