diff options
| author | Andrea Adami <andrea.adami@gmail.com> | 2012-10-24 23:08:55 +0000 |
|---|---|---|
| committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-11-16 11:25:38 +0100 |
| commit | a398b07f294b05608c82726cd4ca2fdba111dc36 (patch) | |
| tree | 9380face32c94aa2b3531768ab9df74d6e1ef3c8 /meta-initramfs/recipes-devtools/klibc/klibc-2.0.2/klibc-linux-libc-dev.patch | |
| parent | de40d9357d793cba0fd17cd46106ffd6b7fdc85f (diff) | |
| download | meta-openembedded-a398b07f294b05608c82726cd4ca2fdba111dc36.tar.gz | |
klibc: upgrade from 2.0.1 to 2.0.2
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-initramfs/recipes-devtools/klibc/klibc-2.0.2/klibc-linux-libc-dev.patch')
| -rw-r--r-- | meta-initramfs/recipes-devtools/klibc/klibc-2.0.2/klibc-linux-libc-dev.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc-2.0.2/klibc-linux-libc-dev.patch b/meta-initramfs/recipes-devtools/klibc/klibc-2.0.2/klibc-linux-libc-dev.patch new file mode 100644 index 0000000000..28efcfd535 --- /dev/null +++ b/meta-initramfs/recipes-devtools/klibc/klibc-2.0.2/klibc-linux-libc-dev.patch | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | commit 43adf69062254fb4f8d4d11fb5fe36a60ae25d5a | ||
| 2 | Author: Ben Hutchings <ben@decadent.org.uk> | ||
| 3 | Date: Sun Mar 14 18:41:56 2010 +0000 | ||
| 4 | |||
| 5 | Taken from debian "Fix klibc Debian specific build trouble" | ||
| 6 | Adapted for klibc_2.0.2 | ||
| 7 | |||
| 8 | Index: klibc-2.0~rc2/scripts/Kbuild.install | ||
| 9 | =================================================================== | ||
| 10 | --- klibc-2.0~rc2.orig/scripts/Kbuild.install 2012-02-11 18:50:21.000000000 +0000 | ||
| 11 | +++ klibc-2.0~rc2/scripts/Kbuild.install 2012-02-11 19:04:52.000000000 +0000 | ||
| 12 | @@ -95,7 +95,9 @@ | ||
| 13 | $(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include | ||
| 14 | $(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)lib | ||
| 15 | $(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)bin | ||
| 16 | - $(Q)$(MAKE) -C $(KLIBCKERNELSRC) ARCH=$(KLIBCARCH) INSTALL_HDR_PATH=$(INSTALLROOT)$(INSTALLDIR)/$(KCROSS) headers_install | ||
| 17 | + $(Q)for x in $(KLIBCKERNELSRC)/include/asm $(KLIBCKERNELSRC)/include/asm* $(KLIBCKERNELSRC)/include/linux $(KLIBCKERNELSRC)/include/mtd; do \ | ||
| 18 | + ln -sf $${x} $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include/ || exit; \ | ||
| 19 | + done | ||
| 20 | $(Q)cp -rf usr/include/. $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include/. | ||
| 21 | $(Q)chmod -R a+rX $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include | ||
| 22 | $(Q)$(install-data) $(srctree)/klcc/klcc.1 $(INSTALLROOT)$(mandir)/man1/$(KCROSS)klcc.1 | ||
