Changeset 87cfd4f in bootscripts-embedded


Ignore:
Timestamp:
Oct 12, 2017, 11:34:19 AM (7 years ago)
Author:
Andrew Bradford <andrew@…>
Branches:
master
Parents:
360b495
Message:

Makefile: Rearrange targets so 'install-bootscripts' is default

In this way, performing a 'make' with the default target selected will
only install the core critical bootscripts for startup, shutdown, and
syslog. If you want the other bootscripts, you install them manually or
by using 'make all'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r360b495 r87cfd4f  
    44DIRMODE         := 755
    55CONFMODE        := 644
    6 
    7 all: install-bootscripts install-dropbear install-netplug
    8 
    9 create-dirs:
    10         install -d -m ${DIRMODE} ${EXTDIR}/rc.d/init.d
    11         install -d -m ${DIRMODE} ${EXTDIR}/rc.d/start
    12         install -d -m ${DIRMODE} ${EXTDIR}/rc.d/stop
    136
    147install-bootscripts: create-dirs
     
    1912        ln -sf ../init.d/syslog ${EXTDIR}/rc.d/start/S05syslog
    2013        ln -sf ../init.d/syslog ${EXTDIR}/rc.d/stop/K99syslog
     14
     15all: install-bootscripts install-dropbear install-netplug
     16
     17create-dirs:
     18        install -d -m ${DIRMODE} ${EXTDIR}/rc.d/init.d
     19        install -d -m ${DIRMODE} ${EXTDIR}/rc.d/start
     20        install -d -m ${DIRMODE} ${EXTDIR}/rc.d/stop
    2121
    2222install-dropbear: create-dirs
Note: See TracChangeset for help on using the changeset viewer.