components/diffutils/Makefile
changeset 4737 844cca6e99f3
parent 4339 6501cf9c29f9
child 5453 12788f3c6c43
equal deleted inserted replaced
4736:455a1830e5e8 4737:844cca6e99f3
    46 COMPONENT_PREP_ACTION =		(cd $(@D) ; autoreconf -f)
    46 COMPONENT_PREP_ACTION =		(cd $(@D) ; autoreconf -f)
    47 
    47 
    48 CONFIGURE_OPTIONS  +=		--infodir=$(CONFIGURE_INFODIR)
    48 CONFIGURE_OPTIONS  +=		--infodir=$(CONFIGURE_INFODIR)
    49 CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
    49 CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
    50 
    50 
       
    51 # Needed for "gmake test" to work successfully.
       
    52 # If SHELLOPTS is exported (as it is by the userland makefiles),
       
    53 # then all shell options get exported to child invocations of bash,
       
    54 # which results in test failures due to nounset and xtrace being
       
    55 # set unexpectedly, and errors such as "$1: unbound variable" and
       
    56 # diffs failing due to script tracing in output files.
       
    57 unexport SHELLOPTS
       
    58 
       
    59 COMPONENT_TEST_DIR =	$(@D)/tests
       
    60 
       
    61 COMPONENT_TEST_TRANSFORMS += \
       
    62 	'-e "s|^make.*: Leaving directory.*$$|XXX_CC_XXX|g" ' \
       
    63 	'-e "s|^make.*: Entering directory.*$$|XXX_CC_XXX|g" ' \
       
    64 	'-e "s|^make.*: Nothing to be.*$$|XXX_CC_XXX|g" ' \
       
    65 	'-e "s|^/usr/gnu/bin/make.*$$|XXX_CC_XXX|g" ' \
       
    66 	'-e "/^XXX_CC_XXX$$/d" '
       
    67 
       
    68 COMPONENT_SYSTEM_TEST_DIR =	$(@D)/tests
       
    69 COMPONENT_SYSTEM_TEST_ENV +=	PATH="$(GNUBIN):$(PATH)"
       
    70 
    51 ASLR_MODE = $(ASLR_ENABLE)
    71 ASLR_MODE = $(ASLR_ENABLE)
    52 
    72 
    53 configure:	$(CONFIGURE_64)
    73 configure:	$(CONFIGURE_64)
    54 
    74 
    55 build:		$(BUILD_64)
    75 build:		$(BUILD_64)
    56 
    76 
    57 install:	$(INSTALL_64)
    77 install:	$(INSTALL_64)
    58 
    78 
    59 test:		$(TEST_64)
    79 test:		$(TEST_64)
    60 
    80 
    61 system-test:    $(SYSTEM_TESTS_NOT_IMPLEMENTED)
    81 system-test:    configure $(SYSTEM_TEST_64)
    62 
    82 
    63 
    83 
    64 REQUIRED_PACKAGES += system/library
    84 REQUIRED_PACKAGES += system/library