mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
BOARD/PKG: better LOGS in on OS scripts & add umtpr-debug (#169)
* firsboot/main - better LOGs - refactor a bit gmenu2x loop - add good logs for umtpr * BOARD: options.cfg: add DEBUG options - use separate options for gmenu2x & umtpr debug - for default setup NO DEBUG * PACKAGE: umtprd: add debug build
This commit is contained in:
@@ -11,11 +11,18 @@ UMTPRD_LICENSE = GPL-3.0+
|
||||
UMTPRD_LICENSE_FILES = LICENSE
|
||||
|
||||
define UMTPRD_BUILD_CMDS
|
||||
# Compile umtprd-debug
|
||||
CC=$(TARGET_CC) $(MAKE) -C $(@D) DEBUG=1 #USE_SYSLOG=1
|
||||
mv -fn $(@D)/umtprd $(@D)/umtprd-debug
|
||||
# Clean prv build
|
||||
CC=$(TARGET_CC) $(MAKE) clean -C $(@D)
|
||||
# Compile umtprd
|
||||
CC=$(TARGET_CC) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define UMTPRD_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/umtprd $(TARGET_DIR)/usr/sbin/umtprd
|
||||
$(INSTALL) -D -m 0755 $(@D)/umtprd-debug $(TARGET_DIR)/usr/sbin/umtprd-debug
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
||||
Reference in New Issue
Block a user