diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2008-06-11 13:06:12 +0000 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2008-06-11 13:06:12 +0000 |
commit | b4983228f5a0f62dc1333c78adaf6738cb8ea6fc (patch) | |
tree | d589fc2ec0802cffcc9a2c0ac9ce1e628ab0ba7c /rules/libx86.make | |
parent | fc322484e4e5b19bee2da5765fe1268c97d1e924 (diff) | |
download | ptxdist-b4983228f5a0f62dc1333c78adaf6738cb8ea6fc.tar.gz ptxdist-b4983228f5a0f62dc1333c78adaf6738cb8ea6fc.tar.xz |
* don't build libx86 and usplash on arm
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8489 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/libx86.make')
-rw-r--r-- | rules/libx86.make | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/rules/libx86.make b/rules/libx86.make index 8131bf600..ab51d3f71 100644 --- a/rules/libx86.make +++ b/rules/libx86.make @@ -54,8 +54,16 @@ $(STATEDIR)/libx86.extract: LIBX86_PATH := PATH=$(CROSS_PATH) LIBX86_ENV := $(CROSS_ENV) -ifndef ARCH_X86 +# enable build un supported platforms only +ifdef ARCH_X86 +LIBX86_BUILD = 1 +else +# use emulator on non x86 architectures LIBX86_ENV += BACKEND=x86emu + +ifdef ARCH_PPC +LIBX86_BUILD = 1 +endif endif # @@ -77,7 +85,9 @@ $(STATEDIR)/libx86.prepare: $(STATEDIR)/libx86.compile: @$(call targetinfo, $@) +ifdef LIBX86_BUILD cd $(LIBX86_DIR) && $(LIBX86_ENV) $(LIBX86_PATH) $(MAKE) $(PARALLELMFLAGS) +endif @$(call touch, $@) # ---------------------------------------------------------------------------- @@ -86,7 +96,9 @@ $(STATEDIR)/libx86.compile: $(STATEDIR)/libx86.install: @$(call targetinfo, $@) +ifdef LIBX86_BUILD @$(call install, LIBX86) +endif @$(call touch, $@) # ---------------------------------------------------------------------------- @@ -96,6 +108,7 @@ $(STATEDIR)/libx86.install: $(STATEDIR)/libx86.targetinstall: @$(call targetinfo, $@) +ifdef LIBX86_BUILD @$(call install_init, libx86) @$(call install_fixup, libx86,PACKAGE,libx86) @$(call install_fixup, libx86,PRIORITY,optional) @@ -109,6 +122,7 @@ $(STATEDIR)/libx86.targetinstall: @$(call install_link, libx86, libx86.so.1, /usr/lib/libx86.so) @$(call install_finish, libx86) +endif @$(call touch, $@) |