diff options
author | Xavier Boudet <x-boudet@ti.com> | 2012-02-22 14:20:22 +0100 |
---|---|---|
committer | Xavier Boudet <x-boudet@ti.com> | 2012-06-14 07:54:54 +0200 |
commit | 32209096650f7c18f700051b77533ca1faaf2e1e (patch) | |
tree | 4b7151221466b422f94da1372dc4afe78194b936 /debian | |
parent | b277ebcf7e7ce41768d61a0265f8afe96222345c (diff) |
LINARO: Use KBUILD_SCRIPTROOT to cross build scripts
Signed-off-by: Xavier Boudet <x-boudet@ti.com>
Diffstat (limited to 'debian')
-rw-r--r-- | debian/rules.d/2-binary-arch.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk index 1b26a39c45ce..c8fd73b51241 100644 --- a/debian/rules.d/2-binary-arch.mk +++ b/debian/rules.d/2-binary-arch.mk @@ -10,6 +10,8 @@ build_cd = build_O = O=$(builddir)/build-$* endif +kbsr = $(builddir)/build-$* + $(stampdir)/stamp-prepare-%: config-prepare-check-% @touch $@ $(stampdir)/stamp-prepare-tree-%: target_flavour = $* @@ -175,7 +177,7 @@ endif sed -e 's/.*CONFIG_DEBUG_INFO=.*/# CONFIG_DEBUG_INFO is not set/g' > \ $(hdrdir)/.config chmod 644 $(hdrdir)/.config - $(kmake) O=$(hdrdir) -j1 silentoldconfig prepare scripts + $(kmake) HOSTCC=$(CROSS_COMPILE)gcc KBUILD_SCRIPTROOT=$(kbsr) O=$(hdrdir) -j1 silentoldconfig prepare scripts # We'll symlink this stuff rm -f $(hdrdir)/Makefile rm -rf $(hdrdir)/include2 |