Browse Source

oprofile: fix mipsel build

Closes #3709

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias 13 năm trước cách đây
mục cha
commit
dd3177cc1a
2 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 1 0
      CHANGES
  2. 3 0
      package/oprofile/oprofile.mk

+ 1 - 0
CHANGES

@@ -73,6 +73,7 @@
 	#3343: Add file:// download SITE_METHOD
 	#3391: Add support for specifying an external kernel tree
 	#3631: Error while compiling with Xorg
+	#3709: oprofile doesn't build for mipsel
 	#3925: midori not getting compile
 	#4045: Add support for downloading i386 toolchains from codesourcery
 	#4165: lrzsz-fix-symlink-at-rebuild.patch

+ 3 - 0
package/oprofile/oprofile.mk

@@ -12,6 +12,9 @@ OPROFILE_BINARIES += pp/opreport opjitconv/opjitconv daemon/oprofiled
 ifeq ($(BR2_i386),y)
 OPROFILE_ARCH = i386
 endif
+ifeq ($(BR2_mipsel),y)
+OPROFILE_ARCH = mips
+endif
 ifeq ($(BR2_powerpc),y)
 OPROFILE_ARCH = ppc
 endif