Simplify configure and add target optimizations,
[openwrt.git] / openwrt / package / microperl / Makefile
index 3cf92d9..854d897 100644 (file)
@@ -20,10 +20,13 @@ include $(TOPDIR)/package/rules.mk
 
 $(eval $(call PKG_template,MICROPERL,microperl,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
 
 
 $(eval $(call PKG_template,MICROPERL,microperl,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
 
+$(PKG_BUILD_DIR)/.configured:
+       touch $@
+
 $(PKG_BUILD_DIR)/.built:
        $(MAKE) -C $(PKG_BUILD_DIR) -f Makefile.micro \
                CC="$(TARGET_CC)" OPTIMIZE="$(TARGET_CFLAGS)"
 $(PKG_BUILD_DIR)/.built:
        $(MAKE) -C $(PKG_BUILD_DIR) -f Makefile.micro \
                CC="$(TARGET_CC)" OPTIMIZE="$(TARGET_CFLAGS)"
-       touch $(PKG_BUILD_DIR)/.built
+       touch $@
 
 $(IPKG_MICROPERL):
        install -d -m0755 $(IDIR_MICROPERL)/usr/bin
 
 $(IPKG_MICROPERL):
        install -d -m0755 $(IDIR_MICROPERL)/usr/bin
This page took 0.023377 seconds and 4 git commands to generate.