2018-07-27 19:46:33 -05:00
|
|
|
SHELL = /bin/bash
|
|
|
|
.ONESHELL:
|
|
|
|
.SHELLFLAGS += -e
|
|
|
|
|
2019-07-26 00:06:41 -05:00
|
|
|
MAIN_TARGET = bash_$(BASH_VERSION_FULL)_$(CONFIGURED_ARCH).deb
|
2018-07-27 19:46:33 -05:00
|
|
|
|
|
|
|
$(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
|
|
|
|
rm -rf bash-$(BASH_VERSION_MAJOR)
|
|
|
|
|
|
|
|
dget -u https://launchpad.net/debian/+archive/primary/+sourcefiles/bash/$(BASH_VERSION_FULL)/bash_$(BASH_VERSION_FULL).dsc
|
|
|
|
|
|
|
|
pushd bash-$(BASH_VERSION_MAJOR)
|
2021-01-12 08:03:12 -06:00
|
|
|
DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -us -uc -b -j$(SONIC_CONFIG_MAKE_JOBS) --admindir $(SONIC_DPKG_ADMINDIR)
|
2018-07-27 19:46:33 -05:00
|
|
|
popd
|
|
|
|
|
|
|
|
mv $* $(DEST)/
|