blob: 2a609c259e80dcb248844e6220f6d44aa818d29c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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
mkdir -p $(dir $@)
cp $< $@
chmod +x $@
SOFTWARE_FILES += rootfs/usr/share/udhcpc/default.script
FILES_PART_ROOTFS += $(SOFTWARE_FILES)
|