From: James Hilliard <james.hilliard1@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/apcupsd: disable docs
Date: Sun, 19 Apr 2020 16:40:09 -0600 [thread overview]
Message-ID: <20200419224009.27450-1-james.hilliard1@gmail.com> (raw)
We can skip building docs by only running make against subdirs that are
not "doc".
Fixes:
http://autobuild.buildroot.net/results/e65/e65c23c3c1cae9aa9d697323fabf8a6f310fc3ba/build-end.log
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
package/apcupsd/apcupsd.mk | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/package/apcupsd/apcupsd.mk b/package/apcupsd/apcupsd.mk
index e750657236..ff9cc9242f 100644
--- a/package/apcupsd/apcupsd.mk
+++ b/package/apcupsd/apcupsd.mk
@@ -64,4 +64,14 @@ else
APCUPSD_CONF_OPTS += --disable-usb
endif
+define APCUPSD_BUILD_CMDS
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/platforms
+endef
+
+define APCUPSD_INSTALL_TARGET_CMDS
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src DESTDIR=$(TARGET_DIR) install
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/platforms DESTDIR=$(TARGET_DIR) install
+endef
+
$(eval $(autotools-package))
--
2.20.1
next reply other threads:[~2020-04-19 22:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-19 22:40 James Hilliard [this message]
2020-04-20 5:53 ` [Buildroot] [PATCH 1/1] package/apcupsd: disable docs Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200419224009.27450-1-james.hilliard1@gmail.com \
--to=james.hilliard1@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox