Numerous changes to toolchain optional packages and world default packages
bin/head - accept -[num] style arguments usr.bin/uname - alias -o to -s
This commit is contained in:
parent
7fa225e680
commit
61db92519f
180 changed files with 1239 additions and 45 deletions
20
Makefile
20
Makefile
|
@ -33,13 +33,13 @@ rootfs-tbz: rootfs-hhl-${os_version}-${arch}.tbz
|
|||
rootfs-txz: rootfs-hhl-${os_version}-${arch}.txz
|
||||
|
||||
toolchain-hhl-${os_version}-${arch}.tgz: /toolchain/.built smalltools
|
||||
cd build && tar -czf ../$@ toolchain
|
||||
cd build && paxtar -M uidgid -czf ../$@ toolchain
|
||||
|
||||
toolchain-hhl-${os_version}-${arch}.tbz: /toolchain/.built smalltools
|
||||
cd build && tar -cjf ../$@ toolchain
|
||||
cd build && paxtar -M uidgid -cjf ../$@ toolchain
|
||||
|
||||
toolchain-hhl-${os_version}-${arch}.txz: /toolchain/.built smalltools
|
||||
cd build && tar -cJf ../$@ toolchain
|
||||
cd build && paxtar -M uidgid -cJf ../$@ toolchain
|
||||
|
||||
smalltools: /toolchain/.built
|
||||
$(MAKE) -C toolchain reduce-size
|
||||
|
@ -47,7 +47,7 @@ smalltools: /toolchain/.built
|
|||
buildtools: /toolchain/.built
|
||||
$(info $(grn)=== Temporary toolchain build ===$(reset))
|
||||
|
||||
/toolchain/.built: | $(dirs)
|
||||
/toolchain/.built: config.mk | $(dirs)
|
||||
$(info $(grn)=== Building temporary toolchain ===$(reset))
|
||||
$(MAKE) -C toolchain
|
||||
touch $@
|
||||
|
@ -67,12 +67,12 @@ buildworld: $(build)/.built $(plists)
|
|||
strip: $(build)/.stripped
|
||||
|
||||
$(build)/.stripped:
|
||||
for dir in ${stripdirs} ; \
|
||||
do /toolchain/bin/strip --strip-debug $${dir}/* > \
|
||||
for dir in $(stripdirs) ; \
|
||||
do $(arch)-strip --strip-debug $${dir}/* > \
|
||||
/dev/null 2>&1 || true ; done
|
||||
touch $@
|
||||
|
||||
$(build)/.built: $(build)/.skeleton.built
|
||||
$(build)/.built: /toolchain/.built $(build)/.skeleton.built
|
||||
$(MAKE) -C world
|
||||
touch $@
|
||||
|
||||
|
@ -96,13 +96,13 @@ remove-toolchain:
|
|||
$(MAKE) -C toolchain remove
|
||||
|
||||
rootfs-hhl-$(os_version)-$(arch).tgz: $(plists) $(build)/.stripped
|
||||
cd build && tar -czf ../$@ $(alldirs)
|
||||
cd build && paxtar -M uidgid -czf ../$@ $(alldirs)
|
||||
|
||||
rootfs-hhl-$(os_version)-$(arch).tbz: $(plists) $(build)/.stripped
|
||||
cd build && tar -cjf ../$@ $(alldirs)
|
||||
cd build && paxtar -M uidgid -cjf ../$@ $(alldirs)
|
||||
|
||||
rootfs-hhl-$(os_version)-$(arch).txz: $(plists) $(build)/.stripped
|
||||
cd build && tar -cJf ../$@ $(alldirs)
|
||||
cd build && paxtar -M uidgid -cJf ../$@ $(alldirs)
|
||||
|
||||
clean:
|
||||
$(MAKE) -C world clean
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue