toolchain/pax - ensure $(bindir) is present before install
$(basedir)/Makefile - fix paths for toolchain archive creation
This commit is contained in:
parent
94998f6491
commit
1e85e6fb7e
7
Makefile
7
Makefile
@ -76,6 +76,7 @@ $(build)/.stripped:
|
||||
|
||||
$(build)/.built: $(tooldir)/.built $(build)/.skeleton.built
|
||||
$(MAKE) -C world
|
||||
find $(build)/lib $(build)/usr/lib $(build)/usr/lib64 -name '*.la' -delete
|
||||
touch $@
|
||||
|
||||
$(build)/.skeleton.built: | $(dirs)
|
||||
@ -113,13 +114,13 @@ rootfs-txz: rootfs-hhl-$(os_version)-$(arch).txz
|
||||
.PHONY: rootfs-tgz rootfs-tbz rootfs-txz
|
||||
|
||||
toolchain-hhl-$(os_version)-$(arch).tgz: $(tooldir)/.built smalltools
|
||||
cd $(tooldir) && paxtar -M uidgid -czf $(basedir)/$@ toolchain-$(arch)
|
||||
cd build && paxtar -M uidgid -czf $(basedir)/$@ toolchain-$(arch)
|
||||
|
||||
toolchain-hhl-$(os_version)-$(arch).tbz: $(tooldir)/.built smalltools
|
||||
cd $(tooldir) && paxtar -M uidgid -cjf $(basedir)/$@ toolchain-$(arch)
|
||||
cd build && paxtar -M uidgid -cjf $(basedir)/$@ toolchain-$(arch)
|
||||
|
||||
toolchain-hhl-$(os_version)-$(arch).txz: $(tooldir)/.built smalltools
|
||||
cd $(tooldir) && paxtar -M uidgid -cJf $(basedir)/$@ toolchain-$(arch)
|
||||
cd build && paxtar -M uidgid -cJf $(basedir)/$@ toolchain-$(arch)
|
||||
|
||||
rootfs-hhl-$(os_version)-$(arch).tgz: $(plists) $(build)/.stripped
|
||||
cd $(build) && paxtar -M uidgid -czf $(basedir)/$@ $(alldirs)
|
||||
|
@ -27,6 +27,9 @@ $(bindir)/$(progname): $(objs) | $(bindir)
|
||||
$(objdir)/%.o: $(src)/%.c $(hdrs) | $(objdir)
|
||||
$(CC) $(cflags) -o $@ -c $<
|
||||
|
||||
$(bindir):
|
||||
install -d $@
|
||||
|
||||
$(objdir):
|
||||
$(info $(grn)=== Building for $(progname) ===$(reset))
|
||||
install -d $@
|
||||
|
Loading…
Reference in New Issue
Block a user