3 include $(TOPDIR
)/rules.mk
8 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
10 include $(TOPDIR
)/package
/rules.mk
12 $(eval
$(call PKG_template
,NVRAM
,nvram
,$(PKG_RELEASE
),$(ARCH
)))
14 $(PKG_BUILD_DIR
)/.prepared
:
15 mkdir
-p
$(PKG_BUILD_DIR
)
16 cp
-a .
/src
/* $(PKG_BUILD_DIR
)
19 $(PKG_BUILD_DIR
)/.built
:
20 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
21 $(TARGET_CONFIGURE_OPTS
) \
22 CFLAGS
="$(TARGET_CFLAGS) -I $(STAGING_DIR)/usr/include"
26 mkdir
-p
$(IDIR_NVRAM
)/usr
/lib
27 cp
$(PKG_BUILD_DIR
)/*.so
$(IDIR_NVRAM
)/usr
/lib
28 mkdir
-p
$(IDIR_NVRAM
)/usr
/sbin
29 cp
$(PKG_BUILD_DIR
)/nvram
$(IDIR_NVRAM
)/usr
/sbin
30 $(RSTRIP
) $(IDIR_NVRAM
)
31 $(IPKG_BUILD
) $(IDIR_NVRAM
) $(PACKAGE_DIR
)
35 install-dev
: $(PKG_BUILD_DIR
)/.built
36 mkdir
-p
$(STAGING_DIR
)/usr
/lib
37 cp
$(PKG_BUILD_DIR
)/*.so
$(STAGING_DIR
)/usr
/lib
This page took 0.041498 seconds and 5 git commands to generate.