添加 fix_coremark.patch
This commit is contained in:
parent
a2a71b5cb1
commit
0dd6976397
|
@ -0,0 +1,11 @@
|
||||||
|
--- a/feeds/packages/utils/coremark/Makefile
|
||||||
|
+++ b/feeds/packages/utils/coremark/Makefile
|
||||||
|
@@ -55,7 +55,7 @@ define Package/coremark/config
|
||||||
|
config COREMARK_NUMBER_OF_THREADS
|
||||||
|
int "Number of threads"
|
||||||
|
depends on COREMARK_ENABLE_MULTITHREADING
|
||||||
|
- default 128 if i386||x86_64
|
||||||
|
+ default 16 if x86_64
|
||||||
|
default 8
|
||||||
|
help
|
||||||
|
Number of threads to run in parallel
|
|
@ -1,33 +0,0 @@
|
||||||
--- a/feeds/packages/utils/antfs-mount/Makefile
|
|
||||||
+++ b/feeds/packages/utils/antfs-mount/Makefile
|
|
||||||
@@ -1,7 +1,7 @@
|
|
||||||
include $(TOPDIR)/rules.mk
|
|
||||||
|
|
||||||
PKG_NAME:=antfs-mount
|
|
||||||
-PKG_RELEASE:=1
|
|
||||||
+PKG_RELEASE:=2
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
|
||||||
|
|
||||||
@@ -22,7 +22,7 @@ endef
|
|
||||||
|
|
||||||
define Package/a/feeds/packages/utils/install
|
|
||||||
$(INSTALL_DIR) $(1)/sbin
|
|
||||||
- $(INSTALL_BIN) ./files/mount.ntfs $(1)/sbin
|
|
||||||
+ $(INSTALL_BIN) ./files/mount.antfs $(1)/sbin
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(call BuildPackage,antfs-mount))
|
|
||||||
|
|
||||||
--- a/feeds/packages/utils/antfs-mount/files/mount.antfs
|
|
||||||
+++ b/feeds/packages/utils/antfs-mount/files/mount.antfs
|
|
||||||
@@ -0,0 +1,3 @@
|
|
||||||
+#!/bin/sh
|
|
||||||
+mount -t antfs $@ -o rw
|
|
||||||
+
|
|
||||||
|
|
||||||
--- a/feeds/packages/utils/antfs-mount/files/mount.ntfs
|
|
||||||
+++ b/feeds/packages/utils/antfs-mount/files/mount.ntfs
|
|
||||||
@@ -1,2 +0,0 @@
|
|
||||||
-#!/bin/sh
|
|
||||||
-mount -t antfs "$@"
|
|
|
@ -88,7 +88,7 @@ EOF
|
||||||
patch < ${CustomFiles}/Patches/luci-app-shadowsocksr/${x} -p1 -d ${WORK}
|
patch < ${CustomFiles}/Patches/luci-app-shadowsocksr/${x} -p1 -d ${WORK}
|
||||||
done ; unset x
|
done ; unset x
|
||||||
|
|
||||||
patch < ${CustomFiles}/Patches/fix_ntfs3_conflict_with_antfs.patch -p1 -d ${WORK}
|
patch < ${CustomFiles}/Patches/fix_coremark.patch -p1 -d ${WORK}
|
||||||
patch < ${CustomFiles}/Patches/fix_aria2_auto_create_download_path.patch -p1 -d ${WORK}
|
patch < ${CustomFiles}/Patches/fix_aria2_auto_create_download_path.patch -p1 -d ${WORK}
|
||||||
|
|
||||||
case "${TARGET_BOARD}" in
|
case "${TARGET_BOARD}" in
|
||||||
|
|
Loading…
Reference in New Issue