Add simple hello-world example package
This commit is contained in:
parent
fb00307400
commit
316a0febeb
7 changed files with 33 additions and 0 deletions
13
package/helloworld/helloworld.mk
Normal file
13
package/helloworld/helloworld.mk
Normal 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))
|
||||
Loading…
Add table
Add a link
Reference in a new issue