mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-15 15:55:24 +01:00
Define "TARGET" variable to avoid hardcoding "i386-unknown-linux-musl" everywhere
This commit is contained in:
parent
a7397d5caa
commit
502e8f944c
37 changed files with 81 additions and 79 deletions
|
|
@ -24,7 +24,7 @@ src_configure() {
|
|||
--bindir="${PREFIX}/bin" \
|
||||
--sbindir="${PREFIX}/bin" \
|
||||
--libdir="${LIBDIR}" \
|
||||
--build=i386-unknown-linux-gnu \
|
||||
--build="${TARGET/-musl/-gnu}" \
|
||||
--disable-cramfs \
|
||||
--without-ncurses \
|
||||
--enable-static \
|
||||
|
|
@ -38,6 +38,6 @@ src_install() {
|
|||
default
|
||||
|
||||
# A weird behaviour I can't find the source of
|
||||
mv "${DESTDIR}${PREFIX}/i386-unknown-linux-musl/"* "${DESTDIR}${LIBDIR}/"
|
||||
rmdir "${DESTDIR}${PREFIX}/i386-unknown-linux-musl/"
|
||||
mv "${DESTDIR}${PREFIX}/${TARGET}/"* "${DESTDIR}${LIBDIR}/"
|
||||
rmdir "${DESTDIR}${PREFIX}/${TARGET}/"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue