54 |
54 |
55 # Stupid source tarball distribution contains two .o files. |
55 # Stupid source tarball distribution contains two .o files. |
56 COMPONENT_POST_UNPACK_ACTION= \ |
56 COMPONENT_POST_UNPACK_ACTION= \ |
57 $(RM) $(COMPONENT_SRC)/gnu/*.o |
57 $(RM) $(COMPONENT_SRC)/gnu/*.o |
58 |
58 |
59 COMPONENT_TEST_ENV += PATH=$(BUILD_DIR_$(BITS)):$(PATH) |
59 COMPONENT_TEST_TRANSFORMS += \ |
|
60 '-e "s|\./getopt|getopt|g" ' \ |
|
61 '-e "s|/usr/gnu/bin/getopt|getopt|g" ' \ |
|
62 '-e "s|\./run-tests.*$$|XXX_CC_XXX|g" ' \ |
|
63 '-e "s|^make.*: Leaving directory.*$$|XXX_CC_XXX|g" ' \ |
|
64 '-e "s|^make.*: Entering directory.*$$|XXX_CC_XXX|g" ' \ |
|
65 '-e "s|^make\[1\].*$$|XXX_CC_XXX|g" ' \ |
|
66 '-e "/^XXX_CC_XXX$$/d" ' |
|
67 |
|
68 COMPONENT_TEST_ENV += PATH=$(BUILD_DIR_$(BITS)):$(GNUBIN):/usr/bin |
60 COMPONENT_TEST_TARGETS = test |
69 COMPONENT_TEST_TARGETS = test |
|
70 |
|
71 COMPONENT_SYSTEM_TEST_ENV += PATH=$(GNUBIN):/usr/bin/ |
|
72 COMPONENT_SYSTEM_TEST_CMD = ./run-tests |
|
73 COMPONENT_SYSTEM_TEST_ARGS = /usr/gnu/bin/getopt |
|
74 COMPONENT_SYSTEM_TEST_TARGETS = |
61 |
75 |
62 ASLR_MODE = $(ASLR_ENABLE) |
76 ASLR_MODE = $(ASLR_ENABLE) |
63 |
77 |
64 build: $(BUILD_64) |
78 build: $(BUILD_64) |
65 |
79 |
66 install: $(INSTALL_64) |
80 install: $(INSTALL_64) |
67 |
81 |
68 test: $(TEST_64) |
82 test: $(TEST_64) |
69 |
83 |
70 system-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED) |
84 system-test: $(SYSTEM_TEST_64) |
71 |
85 |
72 |
86 |
73 REQUIRED_PACKAGES += system/library |
87 REQUIRED_PACKAGES += system/library |