summaryrefslogtreecommitdiffstats
path: root/openwrt
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt')
-rw-r--r--openwrt/package/openwrt/libnvram/Makefile12
-rw-r--r--openwrt/package/openwrt/wlc/Makefile14
2 files changed, 3 insertions, 23 deletions
diff --git a/openwrt/package/openwrt/libnvram/Makefile b/openwrt/package/openwrt/libnvram/Makefile
index 5d828b135..8bb4c5c35 100644
--- a/openwrt/package/openwrt/libnvram/Makefile
+++ b/openwrt/package/openwrt/libnvram/Makefile
@@ -1,15 +1,5 @@
-#
-# Linux router shared code Makefile
-#
-# Copyright 2001-2003, Broadcom Corporation
-# All Rights Reserved.
-#
-# THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
-# KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
-# SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
-# FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
-#
# $Id$
+
include $(TOPDIR)/rules.mk
PKG_NAME:=libnvram
diff --git a/openwrt/package/openwrt/wlc/Makefile b/openwrt/package/openwrt/wlc/Makefile
index 378f18707..8a1e970d9 100644
--- a/openwrt/package/openwrt/wlc/Makefile
+++ b/openwrt/package/openwrt/wlc/Makefile
@@ -1,15 +1,5 @@
-#
-# Linux router shared code Makefile
-#
-# Copyright 2001-2003, Broadcom Corporation
-# All Rights Reserved.
-#
-# THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
-# KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
-# SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
-# FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
-#
# $Id$
+
include $(TOPDIR)/rules.mk
PKG_NAME:=wlc
@@ -33,7 +23,7 @@ $(PKG_BUILD_DIR):
mkdir -p $(PKG_BUILD_DIR)
$(PKG_BUILD_DIR)/wlc: $(WLC_OBJS)
- $(TARGET_CC) -o $@ $^ -lshared
+ $(TARGET_CC) -o $@ $^ -L$(BUILD_DIR)/libshared -lshared
$(TARGET_DIR)/usr/sbin/wlc: $(PKG_BUILD_DIR)/wlc
install -m 755 $^ $@