Fix libcap build on some architectures; Fix some issues with shell startup
scripts; Improve firmware Makefile; Fix messages in hhl.staticlib.mk
This commit is contained in:
parent
2f9598382b
commit
10afb1cd9b
@ -9,7 +9,7 @@ objdir = $(srcdir)
|
|||||||
install_firmware: $(objdir)/.installed
|
install_firmware: $(objdir)/.installed
|
||||||
|
|
||||||
$(objdir)/.installed: $(srcdir)/.dirstamp | $(DESTDIR)/lib/firmware
|
$(objdir)/.installed: $(srcdir)/.dirstamp | $(DESTDIR)/lib/firmware
|
||||||
cp -Rv $(srcdir)/* $(DESTDIR)/lib/firmware
|
$(MAKE) DESTDIR=$(DESTDIR) -C $(srcdir) install
|
||||||
|
|
||||||
$(DESTDIR)/lib/firmware:
|
$(DESTDIR)/lib/firmware:
|
||||||
install -d $@
|
install -d $@
|
||||||
|
@ -26,6 +26,7 @@ $(libdir)/$(staticlib): $(staticlib) | $(libdir)
|
|||||||
install $< $@
|
install $< $@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
$(info $(grn)=== Cleaning for $(staticlib) ===$(reset))
|
||||||
rm -rf $(objdir) $(staticlib)
|
rm -rf $(objdir) $(staticlib)
|
||||||
|
|
||||||
.PHONY: all clean
|
.PHONY: all clean
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
# Setup for /bin/ls and /bin/grep to support color, the alias is in /etc/bashrc.
|
# Setup for /bin/ls and /bin/grep to support color, the alias is in /etc/bashrc.
|
||||||
if [ -f "/etc/dircolors" ] ; then
|
if [ -f "/etc/dircolors" ]
|
||||||
eval $(dircolors -b /etc/dircolors)
|
then eval $(dircolors -b /etc/dircolors)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "$HOME/.dircolors" ] ; then
|
if [ -f "$HOME/.dircolors" ]
|
||||||
eval $(dircolors -b $HOME/.dircolors)
|
then eval $(dircolors -b $HOME/.dircolors)
|
||||||
fi
|
fi
|
||||||
|
@ -15,8 +15,10 @@ fi
|
|||||||
if [ -x /usr/pkg/share/man ]
|
if [ -x /usr/pkg/share/man ]
|
||||||
then MANPATH=/usr/pkg/share/man:${MANPATH}
|
then MANPATH=/usr/pkg/share/man:${MANPATH}
|
||||||
fi
|
fi
|
||||||
|
if [ -x /usr/pkg/man ]
|
||||||
|
then MANPATH=/usr/pkg/man:${MANPATH}
|
||||||
|
fi
|
||||||
if [ -x /usr/pkg/share/info ]
|
if [ -x /usr/pkg/share/info ]
|
||||||
then INFOPATH=/usr/pkg/share/info:${INFOPATH}
|
then INFOPATH=/usr/pkg/share/info:${INFOPATH}
|
||||||
fi
|
fi
|
||||||
PKG_PATH=https://hitchhiker-linux.org/pub/${OS_VERSION}/${arch}/packages
|
export PATH PKG_CONFIG_PATH MANPATH INFOPATH
|
||||||
export PATH PKG_CONFIG_PATH MANPATH INFOPATH PKG_PATH
|
|
||||||
|
@ -5,9 +5,7 @@ else
|
|||||||
PATH=/usr/bin:/bin
|
PATH=/usr/bin:/bin
|
||||||
if [ -d /usr/local/bin ] ; then PATH=/usr/local/bin:${PATH} ; fi
|
if [ -d /usr/local/bin ] ; then PATH=/usr/local/bin:${PATH} ; fi
|
||||||
fi
|
fi
|
||||||
if [ -d ${HOME}/bin ]
|
if [ -d ${HOME}/bin ] ; then PATH=${HOME}/bin:${PATH} ; fi
|
||||||
then PATH=${HOME}/bin:PATH
|
|
||||||
fi
|
|
||||||
export PATH
|
export PATH
|
||||||
for script in /etc/zshenv.d/*.zsh
|
for script in /etc/zshenv.d/*.zsh
|
||||||
do source ${script}
|
do source ${script}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
# Setup for /bin/ls and /bin/grep to support color, the alias is in /etc/bashrc.
|
# Setup for /bin/ls and /bin/grep to support color, the alias is in /etc/bashrc.
|
||||||
if [ -f "/etc/dircolors" ] ; then
|
if [ -f "/etc/dircolors" ]
|
||||||
eval $(dircolors -b /etc/dircolors)
|
then eval $(dircolors -b /etc/dircolors)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "$HOME/.dircolors" ] ; then
|
if [ -f "$HOME/.dircolors" ]
|
||||||
eval $(dircolors -b $HOME/.dircolors)
|
then eval $(dircolors -b $HOME/.dircolors)
|
||||||
fi
|
fi
|
||||||
|
@ -15,6 +15,9 @@ fi
|
|||||||
if [ -x /usr/pkg/share/man ]
|
if [ -x /usr/pkg/share/man ]
|
||||||
then MANPATH=/usr/pkg/share/man:${MANPATH}
|
then MANPATH=/usr/pkg/share/man:${MANPATH}
|
||||||
fi
|
fi
|
||||||
|
if [ -x /usr/pkg/man ]
|
||||||
|
then MANPATH=/usr/pkg/man:${MANPATH}
|
||||||
|
fi
|
||||||
if [ -x /usr/pkg/share/info ]
|
if [ -x /usr/pkg/share/info ]
|
||||||
then INFOPATH=/usr/pkg/share/info:${INFOPATH}
|
then INFOPATH=/usr/pkg/share/info:${INFOPATH}
|
||||||
fi
|
fi
|
||||||
|
@ -11,6 +11,6 @@ makeflags += lib=lib
|
|||||||
export BUILD_CC = gcc
|
export BUILD_CC = gcc
|
||||||
export SYSROOT = $(DESTDIR)
|
export SYSROOT = $(DESTDIR)
|
||||||
export CROSS_COMPILE = $(tgt)-
|
export CROSS_COMPILE = $(tgt)-
|
||||||
export COPTS = -O2 --sysroot=$(DESTDIR)
|
export COPTS = -O2
|
||||||
post_install = chmod 755 $(DESTDIR)/lib/libcap.so.$(libcap_version)
|
post_install = chmod 755 $(DESTDIR)/lib/libcap.so.$(libcap_version)
|
||||||
include targets.mk
|
include targets.mk
|
||||||
|
Loading…
Reference in New Issue
Block a user