buildroot_playground/package/helloworld/helloworld.mk
2019-04-14 18:55:19 +02:00

13 lines
336 B
Makefile

HELLOWORLD_VERSION = v1.0
HELLOWORLD_SITE = $(TOPDIR)/../package/helloworld/src
HELLOWORLD_SITE_METHOD = local
define HELLOWORLD_BUILD_CMDS
$(TARGET_MAKE_ENV) CC=arm-buildroot-linux-uclibcgnueabihf-gcc $(MAKE) -C $(@D)
endef
define HELLOWORLD_INSTALL_TARGET_CMDS
rsync -a $(@D) $(TARGET_DIR)/root/
endef
$(eval $(generic-package))