rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
- CC=$(TARGET_CC) \
+ CC="$(TARGET_CC)" \
DESTDIR="$(PKG_INSTALL_DIR)" \
install
endef
endef
define Build/Compile
- $(MAKE) CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" -C $(PKG_BUILD_DIR)/src
+ $(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" -C $(PKG_BUILD_DIR)/src
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
- CC=$(TARGET_CC)
+ CC="$(TARGET_CC)"
endef
define Package/irssi/install
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
- CC=$(TARGET_CC) \
+ CC="$(TARGET_CC)" \
CFLAGS="$(TARGET_CFLAGS) -I. -DLINUX -DSANITY -DIP_ALLOCATION"
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
- CC=$(TARGET_CC) \
- LD=$(TARGET_CC) \
+ CC="$(TARGET_CC) \
+ LD=$(TARGET_CC)" \
OPTIM="$(TARGET_CFLAGS)" \
DESTDIR=$(PKG_INSTALL_DIR) \
STAGING_DIR=$(STAGING_DIR) \
$(MAKE) -C $(PKG_BUILD_DIR) \
CFLAGS="$(TARGET_CFLAGS)" \
FLAGS="$(TARGET_CFLAGS)" \
- CC=$(TARGET_CC) \
+ CC="$(TARGET_CC)" \
HOSTCC="$(HOSTCC)"
mkdir -p $(PKG_INSTALL_DIR)/usr/{bin,sbin}
mkdir -p $(PKG_INSTALL_DIR)/usr/man/man{1,5,8}
make -C ${PKG_BUILD_DIR} \
CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
- CC=$(TARGET_CC) logrotate
+ CC="$(TARGET_CC)" logrotate
endef
define Package/logrotate/install