X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/097635b79bc6ddd6066a8369db6e298a25daa96e..96bb4a5d0186a748ef5e78158305aa7b1d174350:/obsolete-buildroot/make/kmod-ipv6.mk diff --git a/obsolete-buildroot/make/kmod-ipv6.mk b/obsolete-buildroot/make/kmod-ipv6.mk index 62c7b274c..ce7959e62 100644 --- a/obsolete-buildroot/make/kmod-ipv6.mk +++ b/obsolete-buildroot/make/kmod-ipv6.mk @@ -1,15 +1,4 @@ -KMOD-IPV6:=kmod-ipv6 -KMOD-IPV6_IPK:=$(KMOD-IPV6)_2.4.20-1_mipsel.ipk -KMOD-IPV6_IPK_DIR:=$(BUILD_DIR)/$(KMOD-IPV6)-2.4.20-ipk - -$(BUILD_DIR)/$(KMOD-IPV6_IPK): - mkdir -p $(KMOD-IPV6_IPK_DIR)/CONTROL - mkdir -p $(KMOD-IPV6_IPK_DIR)/lib/modules/2.4.20/kernel/net/ipv6 - install -m 644 $(OPENWRT_IPK_DIR)/$(KMOD-IPV6)/$(KMOD-IPV6).control $(KMOD-IPV6_IPK_DIR)/CONTROL/control - install -m 644 $(BUILD_DIR)/linux/modules/lib/modules/2.4.20/kernel/net/ipv6/ipv6.o $(KMOD-IPV6_IPK_DIR)/lib/modules/2.4.20/kernel/net/ipv6 - cd $(BUILD_DIR); $(STAGING_DIR)/bin/ipkg-build -c -o root -g root $(KMOD-IPV6_IPK_DIR) - -kmod-ipv6-ipk: $(BUILD_DIR)/$(KMOD-IPV6_IPK) - -kmod-ipv6-distclean: - rm -rf $(KMOD-IPV6_IPK_DIR) +kmod-ipv6-ipk: ipkg-utils $(OPENWRT_IPK_DIR)/kmod-ipv6/CONTROL/* + chmod a+x $(OPENWRT_IPK_DIR)/kmod-ipv6/CONTROL/rules + cd $(OPENWRT_IPK_DIR)/kmod-ipv6 ; $(IPKG_BUILDPACKAGE) + mv $(OPENWRT_IPK_DIR)/kmod-ipv6_*.ipk $(BUILD_DIR) \ No newline at end of file