diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2014-10-18 17:29:47 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2014-10-18 17:29:47 +0200 |
commit | 699b39dc7f1f76d00a7474e6aac6390c96563a7f (patch) | |
tree | a08b2b26f2fafb50ae05254e7f39944c1e169156 | |
parent | 5f386f40a0d35b73c659c41557618dcce37e1d33 (diff) | |
download | embtoolkit-699b39dc7f1f76d00a7474e6aac6390c96563a7f.tar.gz embtoolkit-699b39dc7f1f76d00a7474e6aac6390c96563a7f.tar.bz2 embtoolkit-699b39dc7f1f76d00a7474e6aac6390c96563a7f.tar.xz |
Toolchain: uclibc headers: make sure to use the last version of unifdef on mac os x
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
-rwxr-xr-x | core/mk/uclibc.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/mk/uclibc.mk b/core/mk/uclibc.mk index 64162d0..22f289c 100755 --- a/core/mk/uclibc.mk +++ b/core/mk/uclibc.mk @@ -71,6 +71,13 @@ UCLIBC_MAKE_OPTS += CONFIG_MIPS_N64_ABI="" UCLIBC_MAKE_OPTS += CONFIG_MIPS_N32_ABI="" endif +ifeq ($(embtk_buildhost_os),macos) +define embtk_beforeinstall_uclibc + cp $(EMBTK_ROOT)/scripts/unifdef.c \ + $(UCLIBC_BUILD_DIR)/extra/scripts/unifdef.c +endef +endif + # # Install dummy uClibc needed to build gcc stage 2 # @@ -105,6 +112,7 @@ define __embtk_install_uclibc_headers endef define embtk_install_uclibc_headers + $(embtk_beforeinstall_uclibc) $(__embtk_install_uclibc_headers) endef |