Merge pull request #14447 from neheb/lpc2
lpc21isp: fix compilation with glibc
This commit is contained in:
commit
5282ff36de
1 changed files with 3 additions and 1 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=lpc21isp
|
PKG_NAME:=lpc21isp
|
||||||
PKG_VERSION:=197
|
PKG_VERSION:=197
|
||||||
PKG_RELEASE:=4
|
PKG_RELEASE:=5
|
||||||
PKG_LICENSE:=LGPL-3.0-or-later
|
PKG_LICENSE:=LGPL-3.0-or-later
|
||||||
PKG_LICENSE_FILES:=README gpl.txt lgpl-3.0.txt
|
PKG_LICENSE_FILES:=README gpl.txt lgpl-3.0.txt
|
||||||
|
|
||||||
|
@ -34,6 +34,8 @@ define Package/lpc21isp/description
|
||||||
and Analog Devices ADUC70xx.
|
and Analog Devices ADUC70xx.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
TARGET_CFLAGS += $(if $(CONFIG_USE_GLIBC),-lc -lgcc_eh)
|
||||||
|
|
||||||
define Package/lpc21isp/install
|
define Package/lpc21isp/install
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
$(INSTALL_DIR) $(1)/usr/sbin
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/lpc21isp $(1)/usr/sbin/
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/lpc21isp $(1)/usr/sbin/
|
||||||
|
|
Loading…
Reference in a new issue