pp_test.mk 446 B

1234567891011121314151617
  1. ################################################################################
  2. #
  3. # pptest
  4. #
  5. ################################################################################
  6. define PP_TEST_BUILD_CMDS
  7. cp package/starfive/pp_test/pp_test.c $(@D)/
  8. (cd $(@D); $(TARGET_CC) -Wall -O2 pp_test.c -o pp_test)
  9. endef
  10. define PP_TEST_INSTALL_TARGET_CMDS
  11. install -m 0755 -D $(@D)/pp_test $(TARGET_DIR)/usr/bin/pp_test
  12. endef
  13. $(eval $(generic-package))