mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
add build image
This commit is contained in:
13
package/miyoo-daemon/miyoo-daemon.mk
Normal file
13
package/miyoo-daemon/miyoo-daemon.mk
Normal file
@@ -0,0 +1,13 @@
|
||||
MIYOO_DAEMON_VERSION = origin/master
|
||||
MIYOO_DAEMON_SITE_METHOD = git
|
||||
MIYOO_DAEMON_SITE = https://github.com/MiyooCFW/daemon.git
|
||||
|
||||
define MIYOO_DAEMON_BUILD_CMDS
|
||||
"$(TARGET_CC)" $(@D)/main.c -o $(@D)/daemon -ggdb -lSDL -lc
|
||||
endef
|
||||
|
||||
define MIYOO_DAEMON_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/daemon $(TARGET_DIR)/usr/bin
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user