Add simple hello-world example package

This commit is contained in:
laurens 2019-04-14 18:55:19 +02:00
parent fb00307400
commit 316a0febeb
7 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,13 @@
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))