diff options
author | Vincent Sanders <vince@kyllikki.org> | 2012-07-22 04:16:31 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2012-07-22 04:16:31 +0100 |
commit | 03968cbfb0eca0a2a37b3d875b5d7e3bd1d02b81 (patch) | |
tree | f2433f311b3e97dcf432476bf70495f5fc1a6f6f /sdk/Makefile | |
parent | d1ed27c5b83389e8f2cd0e8c4086840d73d01b2e (diff) | |
download | toolchains-03968cbfb0eca0a2a37b3d875b5d7e3bd1d02b81.tar.gz toolchains-03968cbfb0eca0a2a37b3d875b5d7e3bd1d02b81.tar.bz2 |
get sdk to build with mingw toolchain
Diffstat (limited to 'sdk/Makefile')
-rw-r--r-- | sdk/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sdk/Makefile b/sdk/Makefile index aec5284..9551038 100644 --- a/sdk/Makefile +++ b/sdk/Makefile @@ -31,6 +31,7 @@ path__ := $(GCCSDK_INSTALL_CROSSBIN):$(PATH) cc__ := $(wildcard $(GCCSDK_INSTALL_CROSSBIN)/*gcc) cxx__ := $(wildcard $(GCCSDK_INSTALL_CROSSBIN)/*g++) ar__ := $(wildcard $(GCCSDK_INSTALL_CROSSBIN)/*ar) +ranlib__ := $(wildcard $(GCCSDK_INSTALL_CROSSBIN)/*ranlib) # Flags cflags__ := -I$(GCCSDK_INSTALL_ENV)/include @@ -42,7 +43,7 @@ pkg_config_libdir__ := $(GCCSDK_INSTALL_ENV)/lib/pkgconfig TARGET := $(shell $(cc__) -dumpmachine) # Environment -env := PATH="$(path__)" CC="$(cc__)" CXX="$(cxx__)" AR="$(ar__)" CFLAGS="$(cflags__)" CPPFLAGS="$(cppflags__)" LDFLAGS="$(ldflags__)" PKG_CONFIG_LIBDIR="$(pkg_config_libdir__)" +env := PATH="$(path__)" CC="$(cc__)" CXX="$(cxx__)" AR="$(ar__)" RANLIB="$(ranlib__)" CFLAGS="$(cflags__)" CPPFLAGS="$(cppflags__)" LDFLAGS="$(ldflags__)" PKG_CONFIG_LIBDIR="$(pkg_config_libdir__)" RECIPES := $(CURDIR)/recipes SOURCEDIR := $(CURDIR)/sources @@ -73,6 +74,10 @@ ifeq ($(TARGET),ppc-amigaos) SDK_ITEMS := $(BUILDSTEPS)/libtre.d $(COMMON_SDK_ITEMS) endif +ifeq ($(TARGET),i686-w64-mingw32) + SDK_ITEMS := $(COMMON_SDK_ITEMS) +endif + ifeq ($(SDK_ITEMS),) $(error Unable to compute SDK components for target $(TARGET)) endif |