File: build-drm-misc

package info (click to toggle)
kworkflow 20191112-1.2
  • links: PTS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 2,836 kB
  • sloc: perl: 7,354; sh: 2,397; ansic: 80; python: 44; makefile: 38
file content (21 lines) | stat: -rwxr-xr-x 489 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

BASE=$HOME/p/linux-trees
BUILD_DIR=$BASE/build-linux

function build_arch {
	echo "building $1..."
	export KBUILD_OUTPUT=$BUILD_DIR/drm-misc/$1
	mkdir -p $KBUILD_OUTPUT
	cp $BASE/drm-rerere/drm-misc-$1_defconfig $KBUILD_OUTPUT/.config
	make oldconfig
	make $MAKE_OPTS > /dev/null
	echo "Done."
	echo "=============="
}

cd $BASE/drm-misc

build_arch x86
ARCH="arm" CROSS_COMPILE="arm-linux-gnu-" build_arch arm
ARCH="arm64" CROSS_COMPILE="aarch64-linux-gnu-" build_arch arm64