Commit fc57b341 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

orc: target install: cleanup unused files



orcc is only needed when developing.

Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent d63a817f
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -7,4 +7,18 @@ ORC_VERSION = 0.4.14
ORC_SITE = http://code.entropywave.com/download/orc/
ORC_INSTALL_STAGING = YES

define ORC_REMOVE_BUGREPORT
	rm -f $(TARGET_DIR)/usr/bin/orc-bugreport
endef

define ORC_REMOVE_DEVFILES
	rm -f $(TARGET_DIR)/usr/bin/orcc
endef

ORC_POST_INSTALL_TARGET_HOOKS += ORC_REMOVE_BUGREPORT

ifneq ($(BR2_HAVE_DEVFILES),y)
ORC_POST_INSTALL_TARGET_HOOKS += ORC_REMOVE_DEVFILES
endif

$(eval $(call AUTOTARGETS,package,orc))