summaryrefslogtreecommitdiffstats
path: root/rules/binary_inst.in
diff options
context:
space:
mode:
Diffstat (limited to 'rules/binary_inst.in')
-rw-r--r--rules/binary_inst.in27
1 files changed, 27 insertions, 0 deletions
diff --git a/rules/binary_inst.in b/rules/binary_inst.in
new file mode 100644
index 0000000..bbb989b
--- /dev/null
+++ b/rules/binary_inst.in
@@ -0,0 +1,27 @@
+## SECTION=rootfs
+#
+# This file is just an example how to install binaries to the root filesystem
+# via ptxdist
+#
+menuconfig BINARY_EXAMPLE
+ bool "binary example "
+ help
+ This is an example only how to install binary files and archives.
+ Refer our "How to become a PTXdist Guru" application note on
+ how to use it.
+
+if BINARY_EXAMPLE
+
+config BINARY_EXAMPLE_FILE
+ bool "install the binary file"
+ help
+ This example will install the file 'local_src/binary_example/ptx_logo.png'
+ from this BSP into target's root filesystem in '/example'
+
+config BINARY_EXAMPLE_ARCHIVE
+ bool "install the binary archive"
+ help
+ This example will install all files from the 'local_src/archive_example/pictures.tgz'
+ archive from this BSP into target's root filesystem in '/example'
+
+endif