diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-02-15 12:30:15 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-02-15 12:30:15 +0000 |
commit | 22a6caa17ea134857d41fe53841715b39f447d83 (patch) | |
tree | 38f8fe1e3f085290777363a3d759f92e141b3ca5 /package/openswan | |
parent | b3a683bbe8ea6a2fc48181b89ecddf3074229e48 (diff) |
- set some kernel related variables for use by packages
Diffstat (limited to 'package/openswan')
-rw-r--r-- | package/openswan/openswan.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/package/openswan/openswan.mk b/package/openswan/openswan.mk index 7c9909cea..18c19b98f 100644 --- a/package/openswan/openswan.mk +++ b/package/openswan/openswan.mk @@ -32,14 +32,16 @@ $(OPENSWAN_DIR)/$(OPENSWAN_BINARY): $(OPENSWAN_DIR)/.unpacked @echo "using kernel $(LINUX_KERNEL)" $(TARGET_CONFIGURE_OPTS) \ $(MAKE) -C $(OPENSWAN_DIR) \ + CC=$(TARGET_CC) LD=$(TARGET_LD) \ KERNELSRC=$(LINUX_DIR) DESTDIR=$(TARGET_DIR) INC_USRLOCAL=/usr \ - CC=$(TARGET_CC) USERCOMPILE="$(OPENSWAN_CFLAGS) $(TARGET_CFLAGS) -I$(TARGET_DIR)/usr/include" LD_LIBRARY_PATH="$(TARGET_DIR)/lib:$(TARGET_DIR)/usr/lib" programs + USERCOMPILE="$(OPENSWAN_CFLAGS) $(TARGET_CFLAGS) -I$(TARGET_DIR)/usr/include" programs $(TARGET_DIR)/$(OPENSWAN_TARGET_BINARY): $(OPENSWAN_DIR)/$(OPENSWAN_BINARY) $(TARGET_CONFIGURE_OPTS) \ $(MAKE) -C $(OPENSWAN_DIR) \ + CC=$(TARGET_CC) LD=$(TARGET_LD) \ KERNELSRC=$(LINUX_DIR) DESTDIR=$(TARGET_DIR) INC_USRLOCAL=/usr \ - CC=$(TARGET_CC) USERCOMPILE="$(OPENSWAN_CFLAGS) $(TARGET_CFLAGS) -I$(TARGET_DIR)/usr/include" LD_LIBRARY_PATH="$(TARGET_DIR)/lib:$(TARGET_DIR)/usr/lib" install + USERCOMPILE="$(OPENSWAN_CFLAGS) $(TARGET_CFLAGS) -I$(TARGET_DIR)/usr/include" install rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \ $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc |