components/isc-dhcp/Makefile
changeset 2164 b580bc10e31a
parent 1948 2d1537e7942d
child 2225 f064d3d3190d
--- a/components/isc-dhcp/Makefile	Tue Oct 21 02:05:30 2014 -0700
+++ b/components/isc-dhcp/Makefile	Tue Oct 21 12:20:30 2014 -0700
@@ -55,14 +55,15 @@
 CPPFLAGS  +=	        -DNOMINUM
 CONFIGURE_OPTIONS  +=   CPPFLAGS="$(CPPFLAGS)"
 
+COMPONENT_TEST_DIR =	$(@D)
+
 build:		$(BUILD_32)
 
 install:	build $(INSTALL_32) $(PROTO_DIR)/dhcpd.leases
 
 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-test:	build
-	@cd $(BUILD_DIR_32); $(MAKE) check
+test:		$(TEST_32)
 
 $(PROTO_DIR)/dhcpd.leases:	$(INSTALL_32)
 	$(TOUCH) [email protected]