busybox: busybox-ntpd subpackage.
This commit is contained in:
parent
ca87123905
commit
683bf1354c
|
@ -0,0 +1 @@
|
||||||
|
busybox
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec logger -t busybox-ntpd
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec chpst -b ntpd busybox-ntpd -nN -p pool.ntp.org
|
|
@ -1,7 +1,7 @@
|
||||||
# Build template for 'busybox'.
|
# Build template for 'busybox'.
|
||||||
pkgname=busybox
|
pkgname=busybox
|
||||||
version=1.22.1
|
version=1.22.1
|
||||||
revision=3
|
revision=4
|
||||||
hostmakedepends="perl"
|
hostmakedepends="perl"
|
||||||
short_desc="The Swiss Army Knife of Embedded Linux"
|
short_desc="The Swiss Army Knife of Embedded Linux"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -24,7 +24,7 @@ pre_build() {
|
||||||
mv * src || true
|
mv * src || true
|
||||||
|
|
||||||
local t
|
local t
|
||||||
for t in busybox busybox-static; do
|
for t in busybox busybox-static busybox-ntpd; do
|
||||||
mkdir -p $t
|
mkdir -p $t
|
||||||
make -C $t CFLAGS="$(_cflags $t)" KBUILD_SRC=${wrksrc}/src \
|
make -C $t CFLAGS="$(_cflags $t)" KBUILD_SRC=${wrksrc}/src \
|
||||||
-f ${wrksrc}/src/Makefile defconfig
|
-f ${wrksrc}/src/Makefile defconfig
|
||||||
|
@ -39,7 +39,7 @@ pre_build() {
|
||||||
}
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
local t
|
local t
|
||||||
for t in busybox busybox-static; do
|
for t in busybox busybox-static busybox-ntpd; do
|
||||||
make -C $t CFLAGS="$(_cflags $t)" ${makejobs}
|
make -C $t CFLAGS="$(_cflags $t)" ${makejobs}
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
@ -54,3 +54,11 @@ busybox-static_package() {
|
||||||
vbin busybox-static/busybox busybox.static
|
vbin busybox-static/busybox busybox.static
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
busybox-ntpd_package() {
|
||||||
|
short_desc+=" (ntpd)"
|
||||||
|
pkg_install() {
|
||||||
|
vbin busybox-ntpd/busybox busybox-ntpd
|
||||||
|
vsv busybox-ntpd
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue