aboutsummaryrefslogtreecommitdiff
path: root/sound/Kconfig
diff options
context:
space:
mode:
authorJohn Rigby <john.rigby@linaro.org>2012-01-10 12:01:41 -0700
committerJohn Rigby <john.rigby@linaro.org>2012-08-15 23:51:11 -0600
commit86efc7ec96c2a4330102a33f2cc40ae318909c8b (patch)
tree7e37d1588c8cfe2d33c87200b9fbdd51832a752e /sound/Kconfig
parent40c80f09ec3ca6f4d5ed87017eaee4254b1ad768 (diff)
KBuild: Allow scripts/* to be cross compiledlinaro-ubuntu-sauce-3.6-rc1-2012.08-160546
Cross compiling the binaries in scripts/* is not possible because various makefiles assume that $(obj)/whatever is executable on the build host. This patch introduces a new variable called KBUILD_SCRIPTROOT that points to script/binaries to use while cross compiling. Usage: Build scripts for the build host: make O=path/to/buildhost/buildscripts \ silentoldconfig prepare scripts Then cross build script for target: make O=path/to/target/buildscripts \ HOSTCC=$CROSS_COMPILE \ KBUILD_SCRIPTROOT=path/to/buildhost/buildscripts silentoldconfig prepare scripts This patch does not use KBUILD_SCRIPTROOT for all script invocations it only redefines the following if KBUILD_SCRIPTROOT is defined. scripts/Makefile.build scripts/basic/fixdep --> $(KBUILD_SCRIPTROOT)/scripts/basic/fixdep scripts/kconfig/Makefile $(obj)/conf --> $(KBUILD_SCRIPTROOT)/scripts/kconfig/conf scripts/mod/Makefile $(obj)mk_elfconfig --> $(KBUILD_SCRIPTROOT)/scripts/mod/mk_elfconfig Signed-off-by: John Rigby <john.rigby@linaro.org>
Diffstat (limited to 'sound/Kconfig')
0 files changed, 0 insertions, 0 deletions