Changeset 292c832 in bootscripts-embedded for Makefile


Ignore:
Timestamp:
Jan 30, 2011, 10:13:21 AM (13 years ago)
Author:
Andrew Bradford <bradfa@…>
Branches:
master
Children:
73ee2a6
Parents:
5d96f6a
Message:

Imported updates of existing bootscripts

Imported bootscripts that already existed from clfs-embedded/bootscripts
as bootscripts should be kept in this repo rather than in the
clfs-embedded repo.

The script changes have NOT BEEN TESTED! (yet)
This is part of a cleanup of bootscripts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r5d96f6a r292c832  
    1 VERSION         := 1.0-pre4
     1VERSION         := 1.0-pre5
    22
    33ETCDIR          := /etc
     
    1212        @echo "Select an appropriate install target from the above list" ; exit 1
    1313
    14 .PHONY: dist
    1514dist:
    16         rm -rf "dist/bootscripts-clfs-embedded-$(VERSION)"
    17         mkdir -p "dist/bootscripts-clfs-embedded-$(VERSION)"
    18         tar --exclude dist -c * | tar -x -C "dist/bootscripts-clfs-embedded-$(VERSION)"
    19         (cd dist; tar -cjf "bootscripts-clfs-embedded-$(VERSION).tar.bz2" "bootscripts-clfs-embedded-$(VERSION)")
    20         rm -rf "dist/bootscripts-clfs-embedded-$(VERSION)"
     15        rm -rf "dist/clfs-embedded-bootscripts-$(VERSION)"
     16        mkdir -p "dist/clfs-embedded-bootscripts-$(VERSION)"
     17        tar --exclude dist -c * | tar -x -C "dist/clfs-embedded-bootscripts-$(VERSION)"
     18        (cd dist; tar -cjf "clfs-embedded-bootscripts-$(VERSION).tar.bz2" "clfs-embedded-bootscripts-$(VERSION)")
     19        rm -rf "dist/clfs-embedded-bootscripts-$(VERSION)"
    2120
    2221create-dirs:
     
    2928        install -m ${MODE} clfs/rc.d/init.d/network  ${EXTDIR}/rc.d/init.d/
    3029        install -m ${MODE} clfs/rc.d/init.d/syslog   ${EXTDIR}/rc.d/init.d/
     30        install -m ${MODE} clfs/rc.d/init.d/bridge   ${EXTDIR}/rc.d/init.d/
    3131        ln -sf ../init.d/syslog ${EXTDIR}/rc.d/start/S05syslog
    3232        ln -sf ../init.d/syslog ${EXTDIR}/rc.d/stop/K99syslog
    3333        ln -sf ../init.d/network ${EXTDIR}/rc.d/start/S10network
    3434        ln -sf ../init.d/network ${EXTDIR}/rc.d/stop/K80network
     35        ln -sf ../init.d/bridge ${EXTDIR}/rc.d/start/S09bridge
     36        ln -sf ../init.d/bridge ${EXTDIR}/rc.d/stop/K81bridge
     37
     38install-bcm47xx: create-dirs
     39        install -m ${MODE} clfs/rc.d/init.d/bcm47xx-switch ${EXTDIR}/rc.d/init.d/
     40        ln -sf ../init.d/bcm47xx-switch ${EXTDIR}/rc.d/start/S08bcm47xx-switch
     41        ln -sf ../init.d/bcm47xx-switch ${EXTDIR}/rc.d/stop/K82bcm47xx-switch
    3542
    3643install-dropbear: create-dirs
     
    3946        ln -sf ../init.d/sshd ${EXTDIR}/rc.d/stop/K30sshd
    4047
    41 .PHONY: all create-dirs install install-dropbear
     48install-hostapd: create-dirs
     49        install -m ${MODE} clfs/rc.d/init.d/hostapd ${EXTDIR}/rc.d/init.d
     50        ln -sf ../init.d/hostapd ${EXTDIR}/rc.d/start/S08hostapd
     51        ln -sf ../init.d/hostapd ${EXTDIR}/rc.d/stop/K82hostapd
     52
     53.PHONY: dist all create-dirs install install-bcm47xx install-dropbear \
     54        install-hostapd
Note: See TracChangeset for help on using the changeset viewer.