mrrl

Minimal Reliable Reproducible Linux
git clone https://ccx.te2000.cz/git/mrrl
Log | Files | Refs | Submodules | README

getconf (635B)


      1 {% extends "genlinks" %}
      2 {%- block script %}
      3 #+{{pkg_install_name("musl-cross-make")}}
      4 #+{{pkg_install_name("gnu-make")}}
      5 #+{{pkg_install_name("busybox")}}
      6 #@sha256:d87d0cbb3690ae2c5d8cc218349fd8278b93855dd625deaf7ae50e320aad247c:getconf.c
      7 
      8 name=getconf
      9 {% include "functions/check_static" %}
     10 {% include "functions/build_env_static" %}
     11 {% include "functions/vars" %}
     12 build_env_static
     13 def_prefix
     14 
     15 gcc -static -o $name $name.c
     16 
     17 install -d "$pthbs_destdir/$prefix/command"
     18 install -m 755 $name "$pthbs_destdir/$prefix/command"
     19 check_static command/$name
     20 {% endblock %}
     21 {% block genlinks_begin %}
     22 	x["./command/getconf"]=1
     23 {%- endblock %}