Fix/clean several hundred package makefiles
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 18 Aug 2006 21:21:06 +0000 (21:21 +0000)
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 18 Aug 2006 21:21:06 +0000 (21:21 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4603 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/arptables/Makefile
package/broadcom-wl/Makefile
package/hostapd/Makefile
package/linux-atm/Makefile
package/pcmcia-cs/Makefile
package/robocfg/Makefile
package/zd1211/Makefile

index 855169b..40e9ac1 100644 (file)
@@ -33,7 +33,7 @@ define Build/Compile
        rm -rf $(PKG_INSTALL_DIR)
        mkdir -p $(PKG_INSTALL_DIR)
        $(MAKE) -C $(PKG_BUILD_DIR) \
-               CC="$(TARGET_CC)" LD="$(TARGET_CROSS)ld" \
+               $(TARGET_CONFIGURE_OPTS) \
                COPT_FLAGS="$(TARGET_CFLAGS)" \
                KERNEL_DIR="./include/linux"
 endef
index f742818..ce447a4 100644 (file)
@@ -87,7 +87,6 @@ define Build/Compile
        # Compile wlc
        $(MAKE) -C $(PKG_BUILD_DIR)/wlc \
                $(TARGET_CONFIGURE_OPTS) \
-               CC="$(TARGET_CC)" \
                CFLAGS="-I$(PKG_BUILD_DIR)/wlc/include $(TARGET_CFLAGS)" \
                all
 endef
index 352d597..a1161e1 100644 (file)
@@ -87,11 +87,10 @@ define Package/Template
   define Build/Compile/$(2)
        $(call Build/CompileTarget,$(2))
   endef
- endif
-
- define Package/$(1)/install
+  define Package/$(1)/install
        $(call Package/InstallTemplate,$(1),$(2))
- endef
+  endef
+ endif
 endef
 
 define Build/Configure
index 56ca90a..55b0448 100644 (file)
@@ -38,7 +38,7 @@ DESCRIPTION:=ATM RFC2684 bridging utility
 endef
 
 define Build/Configure
-       $(call Build/Configure/Default,)
+       $(call Build/Configure/Default)
        # prevent autoheader invocation
        touch $(PKG_BUILD_DIR)/stamp-h.in
 endef
index 11f32a8..fcdf71c 100644 (file)
@@ -50,11 +50,7 @@ define Build/Configure
 endef
 
 define Build/Compile
-       rm -rf $(PKG_INSTALL_DIR)
-       mkdir -p $(PKG_INSTALL_DIR)
-       $(MAKE) -C $(PKG_BUILD_DIR) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               all install
+  $(call Build/Compile/Default,CFLAGS="$(TARGET_CFLAGS)" all install)
 endef
 
 define Package/pcmcia-cs/install
index e43198d..072735e 100644 (file)
@@ -27,12 +27,6 @@ define Build/Prepare
        $(CP) ./src/* $(PKG_BUILD_DIR)/
 endef
 
-define Build/Compile
-       $(MAKE) -C $(PKG_BUILD_DIR) \
-               CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
-               all
-endef
-
 define Package/robocfg/install
        install -d -m0755 $(1)/sbin
        install -m0755 $(PKG_BUILD_DIR)/robocfg $(1)/sbin/
index 651621f..0c94cd1 100644 (file)
@@ -42,7 +42,6 @@ define Build/Compile
                CC="$(TARGET_CC)" \
                CPP="$(TARGET_CC)" \
                LD="$(TARGET_CROSS)ld" \
-               STAGING_DIR=$(STAGING_DIR) \
                KERNELVERSION="$(KERNEL)" \
                KERNEL_SOURCE="$(LINUX_DIR)" \
                KDIR="$(LINUX_DIR)" \
This page took 0.035543 seconds and 4 git commands to generate.