aboutsummaryrefslogtreecommitdiff
path: root/software.mk
blob: 1635f04c3f4e5bc6b02e704a22cb77f2e5463656 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
software/helloworld/helloworld: state/container_img
	$(CTRIZE) $(MAKE) -C software/helloworld
rootfs/bin/helloworld: software/helloworld/helloworld
	mkdir -p $(dir $@)
	cp $^ $@
SOFTWARE_FILES += rootfs/bin/helloworld

SHARED_LIBS += rootfs/lib/libc.so.6
SHARED_LIBS += rootfs/lib/ld-linux-armhf.so.3
$(SHARED_LIBS)&: state/container_img
	mkdir -p rootfs/lib
	$(CTRIZE) cp $(SHARED_LIBS:rootfs/lib/%=/usr/arm-linux-gnueabihf/lib/%) rootfs/lib
SOFTWARE_FILES += $(SHARED_LIBS)

rootfs/usr/share/udhcpc/default.script: busybox/examples/udhcp/simple.script state/submodules
	cp $< $@
	chmod +x $@
SOFTWARE_FILES += rootfs/usr/share/udhcpc/default.script