summaryrefslogtreecommitdiff
path: root/package/jpeg/jpeg.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/jpeg/jpeg.mk')
-rw-r--r--package/jpeg/jpeg.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/jpeg/jpeg.mk b/package/jpeg/jpeg.mk
index 9b4f5ff48..8f0a0dbf8 100644
--- a/package/jpeg/jpeg.mk
+++ b/package/jpeg/jpeg.mk
@@ -72,3 +72,11 @@ jpeg: uclibc $(TARGET_DIR)/usr/lib/libjpeg.so.62.0.0
jpeg-clean:
-$(MAKE) -C $(JPEG_DIR) clean
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_JPEG)),y)
+TARGETS+=jpeg
+endif