[package] fix compilation of digitemp w/ and w/o usb, cleanup Makefile (#6170)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@18487 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7558c159b6
commit
c46ae02198
@ -57,16 +57,16 @@ define Build/Compile
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS) -DLINUX $(TARGET_CPPFLAGS) \
|
||||
-I./src -I./userial" \
|
||||
LIBS="$(TARGET_LDFLAGS) -lusb -lm" \
|
||||
LIBS="$(TARGET_LDFLAGS)" \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
ds9097
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS) -DLINUX $(TARGET_CPPFLAGS) \
|
||||
-I./src -I./userial -DOWUSB" \
|
||||
LIBS="$(TARGET_LDFLAGS) -lusb -lm" \
|
||||
LIBS="$(TARGET_LDFLAGS) -lusb -lm -DOWUSB" \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
ds2490
|
||||
clean ds2490
|
||||
endef
|
||||
|
||||
define Package/digitemp/install
|
||||
|
Loading…
x
Reference in New Issue
Block a user