mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-24 11:46:30 +00:00
add rpi-armmem package
This commit is contained in:
parent
da3f37a40b
commit
e73470a480
9
package/rpi-armmem/Config.in
Normal file
9
package/rpi-armmem/Config.in
Normal file
@ -0,0 +1,9 @@
|
||||
config BR2_PACKAGE_RPI_ARMMEM
|
||||
bool "rpi-armmem"
|
||||
depends on BR2_arm && BR2_PACKAGE_RPI_FIRMWARE && BR2_PACKAGE_RPI_USERLAND
|
||||
help
|
||||
A replacement for memcpy and memset functionality for the
|
||||
Raspberry Pi with the intention of gaining greater performance.
|
||||
|
||||
https://github.com/bavison/arm-mem/
|
||||
|
20
package/rpi-armmem/rpi-armmem.mk
Normal file
20
package/rpi-armmem/rpi-armmem.mk
Normal file
@ -0,0 +1,20 @@
|
||||
################################################################################
|
||||
#
|
||||
# rpi-armmem
|
||||
#
|
||||
################################################################################
|
||||
|
||||
RPI_ARMMEM_VERSION = c06d1f1bc2736d91597282d6c189065e4ba66e31
|
||||
RPI_ARMMEM_SITE = $(call github,bavison,arm-mem,$(RPI_ARMMEM_VERSION))
|
||||
CFLAGS = -fPIC -std=gnu99 -O2
|
||||
|
||||
define RPI_ARMMEM_BUILD_CMDS
|
||||
$(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" CFLAGS="$(CFLAGS)" libarmmem.so -C $(@D)
|
||||
endef
|
||||
|
||||
define RPI_ARMMEM_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/libarmmem.so $(TARGET_DIR)/usr/lib/libarmmem.so
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
Loading…
x
Reference in New Issue
Block a user