Skip to contentSkip to conversation

package/apcupsd: disable docs

PATCH New James Hilliard 2 participants 2 messages Apr 19, 2020 – Apr 20, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/apcupsd: disable docs

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

---
 package/apcupsd/apcupsd.mk | 10 ++++++++++
 1 file changed, 10 insertions(+)
package/apcupsd/apcupsd.mk +10 -0
index e750657236..ff9cc9242f 100644
@@ -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))
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/apcupsd: disable docs

Quoted 10 lines · On Sun, 19 Apr 2020 16:40:09 -0600 James Hilliard <[email protected]>…

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

---
 package/apcupsd/apcupsd.mk | 10 ++++++++++
 1 file changed, 10 insertions(+)

Applied, thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com